summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Examples: Add an Ecore Evas VNC example.devs/iscaro/ecore_evas_vnc_multiseatGuilherme Iscaro2016-09-263-0/+250
| | | | | This commit adds an Ecore_Evas examples that can be used to test the VNC multi-seat support.
* Ecore_Evas_X: Dispatch Ecore_Events for VNC clients.Guilherme Iscaro2016-09-261-11/+257
| | | | | | This patch adds the support for Ecore events from a remove VNC client. Every time it happens a VNC mouse move/click/wheel or a VNC keyboard event an Ecore event event will be created and dispatched.
* Ecore_Input: Add Efl_Input_Device in Ecore_Events structs.Guilherme Iscaro2016-09-261-0/+16
| | | | | | The Efl_Input_Device will contain the device which originated the event, this will be useful for dealing with multi-seat environment. When the device is NULL it means that the event originated from the default seat.
* Ecore_Evas_X: Add VNC draw support.Guilherme Iscaro2016-09-265-2/+446
| | | | | This patch adds the support to draw the X11 screen contents to all remove VNC clients.
* Evas Software X11: Add a callback that informs the current screen content ↵Guilherme Iscaro2016-09-265-20/+84
| | | | | | | | pixels. This is necessary in order to implement a VNC server. Using this callback the VNC server will be able to draw the current screen to the VNC clients.
* Evas_Device: Use efl_del() in evas_device_del().Guilherme Iscaro2016-09-261-1/+1
| | | | | | | The Evas_Input_Device should be have its parent set to NULL, otherwise Eo might complain. @fix
* Evas_Device: Add a new event for added and removed devices.Guilherme Iscaro2016-09-262-0/+6
| | | | | This commits adds two event types for EFL_CANVAS. Every time a device is added or removed the matching event will be emitted.
* Evas_Device: Add evas_device_full_add() API.Guilherme Iscaro2016-09-262-2/+47
| | | | This will make it simpler to add a Evas_Device with its fields already set.
* Evas_Common: Fix typo.Guilherme Iscaro2016-09-261-11/+11
| | | | @fix
* Efl_Input_Device: Implement efl_input_device_parent_set().Guilherme Iscaro2016-09-263-17/+23
| | | | This commits moves the parent_set implementation where it should be.
* elementary: Fix potential resource leakChris Michael2016-09-261-2/+4
| | | | | | | | | | If we fail to allocate memory for savedtypes.types here, then the "known" array would end up leaking. Defer creation of 'known' array until after savedtypes.types is allocated, this way we don't leak. Fixes CID1363216 Signed-off-by: Chris Michael <cp.michael@samsung.com>
* Ecore promise: Renamed shadow variable.Tom Hacohen2016-09-261-2/+2
| | | | Please everyone, use -Wshadow and fix your damn wranings.
* elementary entry: send a signal to edje for notifying scrollable modeYoungbok Shin2016-09-261-0/+5
| | | | | | | | | | | | | | | | Summary: If entry edje should be changed according to scrollable mode, the signal will be used. The following signals are added. "elm,scroll,enable" "elm,scroll,disable" Test Plan: N/A Reviewers: raster, tasn, herdsman, cedric Subscribers: minkyu, jpeg, akanad, z-wony, Blackmole Differential Revision: https://phab.enlightenment.org/D4254
* ecore_wl2: fix array overflowMarcel Hollerbach2016-09-261-1/+1
| | | | fixes CID 1363215
* ecore_wl2: support parallel receiving of different mimetypesMarcel Hollerbach2016-09-262-14/+20
| | | | | | The mimetypes are now populated with the event and the data. This also fixes CID 1363217
* ecore_wl2: fix null dereference issueMarcel Hollerbach2016-09-261-3/+3
| | | | | | | | | | if we dont get the userdata of a offer something in the protocol went very very bad, we should not emit there a error, just return. Also if we are getting a null offer we should dereference the nulled out offer object. This fixes CID 1363214
* elm_config: Remove unnecessary NULL check.Jaehyun Cho2016-09-261-1/+1
| | | | | | | Since _config_load() is called and _elm_config is not initialized, NULL check for _elm_config is not necessary. The unnecessary NULL check causes false alarm because _elm_config is not checked in other cases.
* eina_matrix/quad: clean up documentationJee-Yong Um2016-09-262-142/+232
| | | | | | | | Summary: adjust grouping to show reference correctly Reviewers: Hermet, cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4313
* eo ptr indir - handle unlock on error with shared eoids correctlyCarsten Haitzler (Rasterman)2016-09-261-7/+9
| | | | | this fixes the error handling for shared objects which would fail to unlock on lookup error.
* elm: Update toolbar test to show fixAndy Williams2016-09-251-9/+9
|
* elm_toolbar: Show icons in icon only modeAndy Williams2016-09-251-3/+3
| | | | | When passing NULL as label the icon would get hidden. @fix
* efreet - fix command generation by fixing string buffer expansionCarsten Haitzler (Rasterman)2016-09-251-42/+17
| | | | | | | | | so by chance i discovered efreet is doing bad things(tm) when expanding/appending to string buffers to generate commands based off desktop files. the string append basically was buggy, so fixed it by making it a lot simpler and more obvious and now reliable. @fix
* Emotion: modify the playback finish behavior as beforeDaniel Zaoui2016-09-251-6/+2
| | | | | | | The callbacks are never invoked due to sd->play equal to 0. The function _emotion_decode_stop is called before and resets this field. Before the change to Efl.Canvas.Video, sd->play was not checked.
* ecore_wl2: utilize the event window_idsMarcel Hollerbach2016-09-241-33/+28
| | | | | | | | if a dnd operation enters a surface the window_id is clear, so a offer is always specific to a window. If we have a source we try to fetch the id from the focus/prevfocus or keyboardfocus. This fixes dropping into a efl app which never got focus before.
* elm_cnp: handle format of a drop correctlyMarcel Hollerbach2016-09-241-28/+17
| | | | | | | | | | | the format can also be the result of mutliple or´ed values. The new code now also uses the same mimetypes to format type relation than the selection code. This fixes dragging onto a container with multiple formats. Spotted by ApBBB while dragging from ephoto to terminology. This also fixes T3320
* eo op resolv - do micro optimization to move init to goto blobCarsten Haitzler (Rasterman)2016-09-241-49/+67
| | | | | | | | | | as per other recent benchmarking, moving rearely run code (in this case code to init the op etc.) out of the l1 cacheline prefetch inot a blob of code at the end of the function where we goto and goto back again should provide decent-ish speedups for the resolv cache in avoding this code. yes it makes the code less pretty to read but at this really low level hot path ... evil things must happen to get the speed we want/need.
* eio model: use empty mime type when efreet is unable to determine itVitor Sousa2016-09-231-2/+2
| | | | | | FIX T4502 @fix
* Add updated drop part for the new pager gadget. This will be required for ↵Stephen Houston2016-09-231-0/+12
| | | | the new pager to work.
* ecore-drm2: Use Atomic State to enable/disable an outputChris Michael2016-09-231-10/+13
| | | | | | | If Atomic Modesetting is supported, we can use that to enable/disable a given output. Signed-off-by: Chris Michael <cp.michael@samsung.com>
* ecore-drm2: Remove useless if check for atomic_modeset flagChris Michael2016-09-231-12/+8
| | | | | | | As we always set this flag in the drm2_fb_flip function, having this check here is now pointless. Signed-off-by: Chris Michael <cp.michael@samsung.com>
* edje signal emits - enable DBG for being able to debug edj filesCarsten Haitzler (Rasterman)2016-09-231-1/+1
| | | | | this would allow all emits from embryo script or otherwise to be seen and debugged via eina-log.
* AUTHORS: add myself to the authors fileMarcel Hollerbach2016-09-231-0/+1
|
* elm_cnp: refactor selection_get callbacksdevs/bu5hm4n/ecore_wl2_dndMarcel Hollerbach2016-09-231-90/+105
| | | | | | | | | | before the format was not passed correctly, now the format is passed correctly to the callback. Also if a dnd operation was started while a cnp receive call was going on (this happend because weston-editor failed to close the fd, so EOF was never sent), then elm_cnp would behave wrong, since the requestwidget, action, format would be different.
* ecore_wl2: add more documentation on ecore_wl2 cnp/dnd apiMarcel Hollerbach2016-09-231-12/+57
|
* elm_cnp: handle actions probeblyMarcel Hollerbach2016-09-231-0/+15
| | | | | ecore_wl2 passes the action which should be performed, this action is now converted and passed to the action of the elm callback.
* ecore_wl2: introduce offer apiMarcel Hollerbach2016-09-236-420/+597
| | | | | | | | | | | | | This commits adds api to deal with wayland offers. It also ports elm_cnp to use the new api. The selection_get and dnd_drag_get calls are replaced by simply receive data from the offer. The Offer object is now also emitted in every Enter,Motion,Drop and Leave event, so a potential user can prefetch data and display it. To finish a dnd operation positiv, the user has to call the finish call before the offer is destroyed
* ecore_wl2: save action of data source in seperated fieldMarcel Hollerbach2016-09-232-6/+5
| | | | | | | | | | | the drag.source is only available if the drag is happing inside the same client. So for the case there are two efl apps (A,B) , where A started the dnd and the B is currently entered by the dnd, then A has the data source, and B has the offer, if B sets a action on the offer A tried to set it on a field which does not exist there, this fixes that. It saves the action to a undepended field.
* text/entry: add more key controls for os xThiep Ha2016-09-234-0/+69
| | | | | In OS X, cmd-c,v, ... keys are used instead of ctrl-c,v..., this patch adapts these key handlings.
* ecore_cocoa: quit application with keyThiep Ha2016-09-231-0/+12
| | | | | In OS X, cmd-q is used to quit application, this patch adds that feature.
* evas_fb: Avoid invalid dereferenceJean-Philippe Andre2016-09-231-4/+3
| | | | | | | | If buf->priv.fb.fb was NULL the function would have crashed. So buf->priv.fb.fb can't be NULL. I'm keeping the if(buf->priv.fb.fb) anyway, but not sure the else case is valid. Thanks @jiin.moon for the report.
* edje_cc: allow combine lazEDC keywordsJee-Yong Um2016-09-236-7/+72
| | | | | | | | | | | | | | | | Summary: Fix parsing error which occurs when lazEDC keyword is combined with other keyword by period. (like parts.rect) @fix Test Plan: Download attached file and run "make" Reviewers: Hermet, cedric, jpeg Subscribers: taxi2se Differential Revision: https://phab.enlightenment.org/D4309
* evas: Prevent crashes in case of errorJean-Philippe Andre2016-09-231-3/+6
| | | | | | | | | SEGV would happen if the cache was NULL, as the error pointer was also NULL in some cases (root cause for cache == NULL not quite known, happens in elm_suite with CK_FORK=no). Note: simply adding evas_common_init() to evas_init() leads to a whole new set of issues with CK_FORK=no elm_suite - not good.
* elm_image: Add smart cbs for async openJean-Philippe Andre2016-09-238-78/+246
| | | | | | | | | | | | | | | | | | | | | | | | This adds a few callbacks to inform applications about async open and preload: - load,open - load,ready - load,error - load,cancel This patch adds a new EAPI as well: elm_image_async_open_set. This is the only way to use async file open with the legacy APIs and should be easily matched with whatever EO API we end up using (be it based on promises or events). Alter the test cases for make check as they were using the unstable EO API which I just removed. Thanks @arosis for the original patch. And sorry for the huge delay in merging this. See also: https://phab.enlightenment.org/D4215 @feature
* elm: _propagate_event should react only when the obj is focused objWooHyun Jung2016-09-231-0/+4
| | | | | | | | | | | | | | In efl_ui_win, _evas_event_key_cb gives efl_event_callback_call, though the focused object is not the window itself. Becuase of this, _propagate_event was called twice for event single key down. So, now, _propagate_event returns itself whenever focused object is not the win but it's called from efl_ui_win's event call. The problem can be checked with following stpes. 1. elementary_test -> focus 2. Input any directions (ex: Down) 3. Focus movement happens twice for every single input.
* eina-cxx: Implement aligned_union for GCC 4.9Felipe Magno de Almeida2016-09-222-1/+34
|
* drm: Fix typoeDerek Foreman2016-09-221-1/+1
| | | | DRM_MODE_ATOMIC_ALLOW_MODSET should have been _MODESET
* Merge branch 'devs/devilhorns/atomic'Chris Michael2016-09-224-41/+856
|\ | | | | | | | | | | | | | | | | | | | | This merge adds initial support for Atomic Modesetting and Nuclear Pageflipping. These features require a new kernel (>= 4.8) and have only been testing on Intel i915 drivers. There are runtime checks in the code to only enable these features when supported so this should not break anything for "normal users". For those lucky enough to be able to use these features, please enjoy the buttery smoothness ;) @feature
| * ecore-drm2: Merge initial modesetting with atomic flip codeDerek Foreman2016-09-221-21/+2
| |
| * ecore-drm2: Use just DRM_MODE_ATOMIC_ALLOW_MODESET for initial settingChris Michael2016-09-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | of mode This fixes an issue where gl_drm engine would end up flickering everytime a frame was being set. Thanks derek ;) Signed-off-by: Chris Michael <cp.michael@samsung.com>
| * ecore-drm2: Add support for Atomic PageflipsChris Michael2016-09-221-31/+173
| | | | | | | | | | | | | | | | | | | | This patch modifies our ecore_drm2_fb_flip code to use Atomic/Nuclear pageflips. NB: Works perfectly under software drm engine .. some flickering with the gl_drm engine that needs investigating. Signed-off-by: Chris Michael <cp.michael@samsung.com>