summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* map: add more checking on input and memory allocationdevs/ami/edje_playThiep Ha2017-06-092-7/+21
| | | | | | More checking on input parameter and memory allocation when set number of map points. Thanks jp.
* Elementary: fix Elm.Layout Model ConnectLarry Jr2017-06-081-4/+11
| | | | | Use "elm" has source to model_connect update Disconnect part/property in model_connect
* Ecore: fix Efl.Model.ItemLarry Jr2017-06-081-0/+7
| | | | sent property_changed signal in property_set
* eina: fix implicit declaration of pthread_set_name_np in eina_debug.Al Poole2017-06-082-0/+12
| | | | | | | | | | | | Summary: Checks and includes necessary headers (FreeBSD et. al) Reviewers: cedric Subscribers: jpeg Differential Revision: https://phab.enlightenment.org/D4949 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* eina: as we use string.h function in this inline function, we better include it.Cedric BAIL2017-06-081-0/+2
| | | | Reported by @netstar, thanks.
* ecore-evas-x: Remove blank lineChris Michael2017-06-081-1/+0
| | | | | | NB: No functional changes Signed-off-by: Chris Michael <cp.michael@samsung.com>
* efl_debugd: only compile this on Linux.Al Poole2017-06-082-1/+2
| | | | | | | | | | | | | | | | | | | Summary: Well, the build is broken again on BSD and Windows. efl_debugd is full of lots lovely Linuxisms. Just don't compile. This unbreaks the build for FreeBSD and others. Reviewers: cedric, raster, jpeg Reviewed By: jpeg Subscribers: JackDanielZ, jpeg Differential Revision: https://phab.enlightenment.org/D4946 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* ecore-drm2: Fix potential SIGFPE when adding output modeChris Michael2017-06-081-0/+4
| | | | | | | | | If we receive bad crtc info from libdrm, then we could end up with a SIGFPE here due to division by zero if info h/v total are not set. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
* ecore-drm2: Add API function to set pointer rotationChris Michael2017-06-082-0/+21
| | | | | | | | | | | This patch adds a new API function which can be used to swap x & y pointer axis and invert them according to rotation angle. Mouse input events occur according to canvas coordinates so this can be used when a canvas is rotated. @feature Signed-off-by: Chris Michael <cp.michael@samsung.com>
* elput: Add API function to swap dx & dy axis from pointer motion eventChris Michael2017-06-084-2/+80
| | | | | | | | | Small patch which adds an API function that can be called to swap x and y axis and invert them according to rotation angle. @feature Signed-off-by: Chris Michael <cp.michael@samsung.com>
* elput: Minor formatting fixesChris Michael2017-06-081-19/+38
| | | | | | NB: No functional changes Signed-off-by: Chris Michael <cp.michael@samsung.com>
* elput: Minor formatting fixChris Michael2017-06-081-3/+3
| | | | | | NB: No functional changes Signed-off-by: Chris Michael <cp.michael@samsung.com>
* elput: Get touch event slots using slot not seat_slotChris Michael2017-06-081-3/+3
| | | | | | @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
* ecore-evas-wayland: Fix potential null dereferenceChris Michael2017-06-081-0/+2
| | | | | | | | | Quick patch to fix a potential null derefence in render_flush_pre callback. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
* evas-gl-drm: Fix uninitialized variableChris Michael2017-06-081-1/+1
| | | | | | | | | Small patch to fix an uninitialized variable when using eglGetConfigAttrib() @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
* evas-gl-drm: Be sure to initialize ncfg variableChris Michael2017-06-081-1/+1
| | | | | | | | | This could lead to an uninitialized variable or use of ncfg variable without a value. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
* widget: Remove unnecessary defineJean-Philippe Andre2017-06-081-2/+0
| | | | | Looks like a copy & paste went wrong :) Thanks @bu5hm4n
* edje - fix signal propagate crashCarsten Haitzler (Rasterman)2017-06-081-1/+1
| | | | | | | | fixes segv when using boxes/tables and sub groups with signal propagation working in _cb_signal_repeat() when name is NULL (not found/there) @fix
* elm_test:ui.image.zoomable: Allow image click to enable/disable animationAmitesh Singh2017-06-081-13/+7
| | | | | its better to have animation start/stop on image click rather than clicking a button.
* Efl.Ui.Image.Zoomable: inherit elm.widget as classAmitesh Singh2017-06-081-1/+1
| | | | | | | this fixes a mistake done in cb1d53c835ef465 Thanks to jp for notifying it. ref T5352
* Efl.Ui.Image.Zoomable: implement efl.play.get/setAmitesh Singh2017-06-085-1/+175
| | | | ref T5352
* Efl.Ui.Image.Zoomable: implement efl.player.playable.getAmitesh Singh2017-06-082-0/+8
| | | | ref T5352
* edje: pass whole text to IMF in case of selectionJihoon Kim2017-06-081-16/+1
| | | | | | | | | | | | | | | | | | | | | Summary: This patch partially reverts D2951. _edje_entry_imf_retrieve_surrounding_cb() function has to pass whole text nearby the entry's cursor. If IMF needs to ignore selected text when the entry has selection, IMF can check selected text by calling _edje_entry_imf_retrieve_selection_cb(). So, we don't need remove selected text before passing it to IMF. @fix Test Plan: N/A Reviewers: woohyun, jihoon, subodh6129 Reviewed By: subodh6129 Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4321
* efl.gfx.map: support for map points as multiples of 4Thiep Ha2017-06-085-21/+161
| | | | | | | | | This patch adds support for map with more than 4 points. However, we only support points with multiples of 4. This also adds efl_gfx_map_point_count_set/get APIs to set number of points. @feature
* evas_map: support map with number of points as multiples of 4Thiep Ha2017-06-086-11/+97
| | | | | | | | Currently, in evas map, we only support map with 4 points. This patch adds support for map with number of points as multiples of 4. @feature
* edje: Fix warnings introduced in recent fixJean-Philippe Andre2017-06-082-2/+2
| | | | | See b9b0177d5e0f2b3a03f77e04c64de534b2c786ac See d3420cd35c692a808c0a626c8e54a0c85af3a4d4
* elm_panel: set hidden property when panel is close/openSungtaek Hong2017-06-082-206/+137
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: - elm_panel has a property named hidden which stores open/close status. - This is updated when: 1. bring_in animation is done(anim_stop_cb). 2. mouse_up on panel. 3. API is called. (elm_panel_toggle, elm_panel_hidden_set) - In case 3, API changes hidden, and starts bring_in animation which will call anim_stop_cb() which will update hidden again. - If bring_in animation is canceled (eg: sizing_eval), anim_stop_cb will be called and calculate hidden status which will not guarantee updated hidden state by APIs. Test Plan: 1. Call any APIs which will call elm_layout_sizing_eval(panel) right after calling elm_panel_toggle()/elm_panel_hidden_set(). 2. Delete content of panel during "toggled" cb. Reviewers: jpeg, eunue, cedric Subscribers: conr2d, cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4704 Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
* evas - font dir fonts.alias - limit alias parse lengthCarsten Haitzler (Rasterman)2017-06-081-1/+1
| | | | | | | a rouge fonts.alias file in a font dir/path could contain long strings that buffers dont have space for, so limit length of string. @fix
* elm spinner - handle more digits for format string + handle invalid fmtCarsten Haitzler (Rasterman)2017-06-081-2/+7
| | | | | | | handles format strings like %0.234567f even tho before it was just %2f - single digit after . ... not that it's useful handling more... @fix
* evas xpm loader - add more rgb.txt file locations...Carsten Haitzler (Rasterman)2017-06-081-1/+3
| | | | | | | 2 more. /etc/X11/rgb.txt /usr/share/vim/vim80/rgb.txt ...what i do notice is that this file seems to have vanished from modern systems... so we'll have lots of un-fun loading old xpm's with colornames if we cant figure out what color names map to what colors...
* edje_cc handle line too long for buffersCarsten Haitzler (Rasterman)2017-06-081-0/+6
| | | | | | | | if a line from the cpp processor is too long (more than 4k) then abort compilation as something is wrong asnd our buffers can't handle it anyway. @fix
* elm_prefs_cc: handle line too long for buffersCarsten Haitzler (Rasterman)2017-06-081-0/+5
| | | | | | | | if a line from the cpp processor is too long (more than 4k) then abort compilation as something is wrong asnd our buffers can't handle it anyway. @fix
* evas-gl-drm: Fix potential memory leakChris Michael2017-06-071-7/+12
| | | | | | | | | If/When we exit _evas_outbuf_egl_setup function, we should be freeing the allocated cfgs variable else we leak it. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
* ecore-wl2: Use output height when calculating dpiChris Michael2017-06-071-2/+10
| | | | | | | | | When calculating output dpi, we should also be considering output height in the calculation. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
* ecore-wl2: Add API function to set surface buffer transformChris Michael2017-06-072-0/+19
| | | | | | | | | Small patch to add an API function which can be called to set a buffer transformation on a given window. @feature Signed-off-by: Chris Michael <cp.michael@samsung.com>
* ecore-wl2: Add API function to return an output transformationChris Michael2017-06-072-0/+18
| | | | | | | | | Small patch to add a new API function that can be used to retrieve the current transform value for a given output. @feature Signed-off-by: Chris Michael <cp.michael@samsung.com>
* ecore-wl2: Add missing doxygen groups for documentationChris Michael2017-06-071-3/+43
| | | | | | @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
* ecore-wl2: Add API function to find an output for given windowChris Michael2017-06-072-0/+53
| | | | | | | | | Small patch which adds an API function that can be used to find the output where a given window resides. @feature Signed-off-by: Chris Michael <cp.michael@samsung.com>
* ecore-wl2: Add event for output transformationChris Michael2017-06-073-4/+37
| | | | | | | | | | Some servers may need to do special animations or other effects when an output transformation happens, so raise an event in the output geometry callback when this happens. @feature Signed-off-by: Chris Michael <cp.michael@samsung.com>
* ecore-evas-wl: Don't check window visibility on raisingChris Michael2017-06-071-1/+1
| | | | | | | | | As we won't get a request from a server to raise a window which is not visible anyway, this check is useless. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
* Efl.Ui.Image: fix efl.player.playable.get APIAmitesh Singh2017-06-071-1/+1
| | | | | | an edje obj is always playable. return TRUE always. @fix
* scroller : Call mirrored_set function after edje_obj is initializedJunsuChoi2017-06-071-2/+2
| | | | | | | | | | | | | | | | | | Summary: Problem that scroller is not mirrored in RTL mode has been fixed in D4908. However, I found a problem in init process. I will revert D4908 commit(https://phab.enlightenment.org/D4908). After edje_obj is initialized, mirrored_set is called. When wanted_region_set is called, x-coordinate flip normally and acts as RTL. Test Plan: scroller test on elementary_test. Reviewers: raster, woohyun, SanghyeonLee, akanad, eagleeye, cedric, singh.amitesh, eunue Subscribers: jpeg, cedric Differential Revision: https://phab.enlightenment.org/D4944
* evas: Set locks and modifiers for all input eventsJean-Philippe Andre2017-06-072-1/+19
| | | | | | | | | See also eb27724eb9c32a954c2f75b45307a207d0 which didn't fix the reported issue. Not quite sure yet how to implement those lock & modifiers for fake events (i.e. artificially created by the app itself). Fixes T5510
* edje: Remove external param_type from EOJean-Philippe Andre2017-06-072-11/+14
| | | | | This is not exactly Legacy API but at the same time doesn't belong to EO (see previous commits).
* Revert "scroller : fix mirrored contents_pos_set call"JunsuChoi2017-06-072-15/+15
| | | | | | | | | | | | | | | | | Summary: This reverts commit de313d6296ac8a2d9a3c0f9762179ffd42a833ff. Because x-coordination mirroring is called properly from wanted_regison_set. There was a problem in scroller init process. Before edje_obj was initialize in elm_interface_scrollable_objects_set, mirrored_set was being called. So Move mirrored_set after elm_interface_scrollable_objects_set it can fix this issue(https://phab.enlightenment.org/D4944) Reviewers: raster, woohyun, SanghyeonLee, akanad, eagleeye, cedric, singh.amitesh, eunue Subscribers: jpeg, cedric Differential Revision: https://phab.enlightenment.org/D4945
* docs: Fix typos and some wrong expressions in Ecore, Ecore_Audio, ↵Myoungwoon Roy, Kim2017-06-0722-71/+71
| | | | | | | | | | | | | | Ecore_Cocoa, Ecore_Con, and Ector API reference doxygen. Summary: I had fixed some typos and wrong expressions, such as capital letters, $simbols in .eo and singulars in Ecore, Ecore_Audio, Ecore_Cocoa, Ecore_Con, and Ector API reference doxygen. Test Plan: Doxygen Revision Reviewers: Jaehyun_Cho, stefan, jpeg, cedric, raster Reviewed By: Jaehyun_Cho Differential Revision: https://phab.enlightenment.org/D4943
* ephysics: set proper geometry when setting an object to a faceBruno Dilly2017-06-061-0/+2
| | | | | | | | | | | | | | | | | | | Summary: It was missing a break statement in a switch. Fixes T5547 @fix Reviewers: cedric Subscribers: jpeg Maniphest Tasks: T5547 Differential Revision: https://phab.enlightenment.org/D4941 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* eina: enable fallthrough warning suppression only on GCC 7 and above.Cedric BAIL2017-06-061-1/+5
|
* ecore-drm2: Don't use Atomic functions to set DPMS levelsChris Michael2017-06-061-61/+2
| | | | | | | | | | | | This was initially an experiment in trying to use Atomic properties to set dpms on/off, however it does not turn off backlight support when triggered so it is useless. Fixes T5462 @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
* ecore-drm2: Fix output backlight value type definitionsChris Michael2017-06-061-1/+1
| | | | | | | | | When we go to set output backlight level we use doubles, so lets just store these values as doubles in the structure. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>