summaryrefslogtreecommitdiff
path: root/src (follow)
AgeCommit message (Collapse)Author
2016-06-30ector: further document gl buffer base classStefan Schmidt
2016-06-30efl: gfx_shape: add some more documentation and improve existing oneStefan Schmidt
2016-06-30efl: gfx_shape: document property itself and not the getters and settersStefan Schmidt
2016-06-30edje_edit: remove useless pointer grab as it conflicts with elementary comboboxVitalii Vorobiov
Summary: So currently having an issue related to clip_to function from EdjeEdit API. I am not sure about how and why combobox use pointer grabbing (just started to use it) but when setting NULL into clip_to of edje edit it suddenly block entire screen away from mouse. Only when point is moved out of window and back, only then it will be able to access widgets again. Take a look at video and maybe try example to reproduce problem I am not sure if deleting those functions from edje_edit is actually right decision. But it will fix the problem of course. Test Plan: See attached video and examples in attached files Reviewers: NikaWhite, reutskiy.v.v, Hermet, cedric, raster Subscribers: jpeg Differential Revision: https://phab.enlightenment.org/D4081
2016-06-30Revert "elm: Fix wrong use of char instead of string and void out parameter"Daniel Hirt
This reverts commit 61f52a26fb5a512e77d3141e398182107b1cf752. This fixes the reported break on T4000.
2016-06-30elm_widget: Fix mouse wheel event propagationJean-Philippe Andre
The wrong type was propagated. Luckily it didn't crash. Thanks @Hermet for the report.
2016-06-30edje: Lower ERR to INF for message about non fixed partsJean-Philippe Andre
This message really is just informational at best, since it's not an error, and we even implemented an optimization. It should be done at compile (edje_cc) time though. See comments on D3801
2016-06-30evas object: Move display_mode to Efl.Gfx.Size.HintJean-Philippe Andre
2016-06-30win: Remove font & image cache functionsJean-Philippe Andre
Those actually belong to elm_config, or rather Efl.Config: efl_config_int_set("cache_image_cache_size", 42); efl_config_int_set("cache_font_cache_size", 1337);
2016-06-30layout: Add NULL check in _elm_layout_text_set functionJaeun Choi
When the parameter 'text' is NULL in elm_layout_text_set function, the sub object data with the same part name is removed from the layout's sub object list and the function returns immediately. However, if the text part doesn't exist in the list, a new sub object data is appended to the list even though the text is NULL. This patch adds NULL check so the function can return in such cases.
2016-06-30photocam: add missing EOLIAN prefixAmitesh Singh
2016-06-29ecore-wl2: Fix formattingChris Michael
NB: No functional changes Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-06-29elementary: Fix erroneous usage of EINA_UNUSEDChris Michael
'data' parameter is actually used in this function, so remove mis-use of EINA_UNUSED in function @fix Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-06-29elementary: Fix over-zealous optimization attemptChris Michael
This is a fix for some over-zealous optimization attempt. Basically, we cannot optimize out multiple calls to ecore_wl2_window_input_get as the window can change in the for loop. @fix Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-06-29elementary: Fix bug in wl dnd where all subsequent mimetypes would beChris Michael
accepted This fixes an issue where in wl dnd, if one mimetype was accepted by a drop, then all subsequent types would have been accepted also.. @fix Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-06-29elementary: Reformat elm_cnp to be readableChris Michael
NB: No functional changes, just formatting so I can read this hot mess Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-06-29Revert "layout: Add NULL check in _elm_layout_text_set function"Jaeun Choi
This reverts commit e3fd84d1de9885aa05021603a50c0287d21d2765. NULL checking point is wrong.
2016-06-29layout: Add NULL check in _elm_layout_text_set functionJaeun Choi
When the parameter 'text' is NULL in elm_layout_text_set function, the sub object data with the same part name is removed from the layout's sub object list and the function returns immediately. However, if the text part doesn't exist in the list, a new sub object data is appended to the list even though the text is NULL. This patch adds NULL check so the function can return in such cases.
2016-06-29ecore: Add basic test case for efl versionJean-Philippe Andre
Not very useful test but still good to make sure we preserve the API.
2016-06-29elm: Add app's EFL information to EFL_MAIN and ELM_MAINJean-Philippe Andre
Bindings should do the same.
2016-06-29efl: Add Efl.Version struct and APIsJean-Philippe Andre
The original idea behind knowing the app's version of EFL is not a great story. It comes from the fact that some bugs exist in earlier versions of EFL, and some things need to be fixed. But those fixes may break behaviour for older apps. This patch is opening the way to the slippery slope of bug compatibility. Unfortunately this is a requirement if we want to be able to move forward and not break apps when we fix bugs (behaviour or ABI). I hope we will not need to implement too many (if any) workaround such issues. For now, this will only be used as debugging info. EFL_MAIN() and ELM_MAIN() will both set the app's EFL version automatically at startup time. Some internal helpers can be added later to check how the app build-time and run-time version of EFL differ. @feature
2016-06-29loop: Add main class property to return the main loopJean-Philippe Andre
Note: this is both @class and @property. Hope that's ok for all bindings. This returns same as ecore_main_loop_get() (which now uses the eo api instead). Ping @cedric (so he can check this patch).
2016-06-29win: Change type of composite interface for Efl.ConfigJean-Philippe Andre
Use Efl.Config.Global instead, since it's what the window will expose, and it provides access to the "profile" config options.
2016-06-29evas: Add & fix legacy APIs for text filtersJean-Philippe Andre
Those are marked as EINA_DEPRECATED since they are for legacy only, and EDC is the preferred method. Note: these are new in EFL 1.18. I would rather have not added them as legacy APIs. This patch is here to align to Tizen which added them by mistake. Also, remove the "name" argument from filter_program_set as it's not required, and also not there in Tizen's code base. Sorry for the mess.
2016-06-29evas: Add 2 EO examples for mapsJean-Philippe Andre
Those are copy & paste & eo-ified versions of the legacy samples. I did not touch the other legacy APIs, only maps.
2016-06-29evas: Implement evas map support in eo as a mixinJean-Philippe Andre
It relies a bit on evas legacy APIs and will only work on evas objects (Efl.Canvas.Object) for now. The main difference with Evas_Map is that there is no separate map object, as the functions apply directly to any canvas object. For convenience, most functions will automatically populate the map if there was no previous map info. While this may be convenient, the object's size changes still need to be tracked to update the map info.
2016-06-29evas: Move evas_map APIs from common to legacy headerJean-Philippe Andre
+ define Evas_Map struct in Evas_Legacy.h (not eo) Otherwise, just a simple cut & paste
2016-06-29evas: Move map to a separate mixinJean-Philippe Andre
Evas map is not translated to proper eo apis yet. Efl.Canvas.Map will be a mixin implementing the evas map API in a bindable API.
2016-06-28ecore_drm: Don't pass uninit garbage to drm ioctlsDerek Foreman
Hasn't actually caused us any problems so far, but valgrind whines about it, so fixing anyway.
2016-06-28elementary: try to keep const type in config test.Cedric BAIL
2016-06-28ecore: fix typo in test.Cedric BAIL
Thanks Stefan.
2016-06-28ecore_wl2: use ECORE_WL2_EVENT_DATA_SOURCE_ENDMarcel Hollerbach
this event is emited each time the dragging is cancled. So the dragwin should be deleted here.
2016-06-28elementary/fileselector: Do not use deprecated APIs.Daniel Juyung Seo
2016-06-28ecore-wl2: Prevent duplicated mouse up eventsChris Michael
If you touch downs and ups about all of fingers, that is sufficient condition to call ecore_wl_input_ungrab(). And then one mouse up event is generated from that function. So if you set a callback about ECORE_EVENT_MOUSE_BUTTON_UP, you can watch two mouse up events are occurred. This is a port of the patch for Ecore_Wayland library (deprecated) to the newer Ecore_Wl2 library. ref D4112 @fix Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-06-28ecore-wayland: Prevent duplicated mouse up events.JengHyun Kang
Summary: Prevent duplicated mouse up events generated from input_ungrab. If you touch downs and ups about all of fingers, that is sufficient condition to call ecore_wl_input_ungrab(). And then one mouse up event is generated from that function. So if you set a callback about ECORE_EVENT_MOUSE_BUTTON_UP, you can watch two mouse up events are occurred. Test Plan: Touch and release. And watch mouse up events. Reviewers: raster, zmike, devilhorns Reviewed By: devilhorns Subscribers: ohduna, input.hacker, cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4112
2016-06-28eo: Fix composite objects destructionJean-Philippe Andre
This walks the list and removes objects from it. Not using EINA_LIST_FREE as the actual list_remove is done inside eo_composite_detach.
2016-06-28evas: Use proper type for stringsharesJean-Philippe Andre
2016-06-28evas: Fix double stringshare_delJean-Philippe Andre
A stringshare for font "style" was not properly duplicated, resulting in lots of invalid stringshare pointers. Ping @id213sin (commit 2ce33e73a7d48d4b54a075c07f12c0162).
2016-06-28tests: elm: make cnt unsigned for correct compareStefan Schmidt
Not really somethign we would hit here but still better to change this. tests/elementary/elm_test_config.c: In function ‘elm_config_profiles’: tests/elementary/elm_test_config.c:206:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] fail_if(cnt != eina_list_count(list));
2016-06-28tests: elm: remove wrong const for Eina_ListStefan Schmidt
We are assigning somethign new to this list so no chance for const here. tests/elementary/elm_test_config.c: In function ‘_eina_list_string_has’: tests/elementary/elm_test_config.c:174:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] EINA_LIST_FOREACH(list, l, s)
2016-06-28popup: remove max_sc_w because it's duplicate jobJinyong Park
Summary: max_sc_w decide popup's "content" area size when popup scrollable is TRUE. but in popup's edc, "elm/popup/content/XXXX" has min size when scrollable is TRUE. (and it is content area layout) max_sc_w has fixed value, so I think deciding by edc is better than fixed code. Test Plan: 1. elementary_test -to popup 2. check "Enable popup scroll" 3. click any list item. 4. observe popup and compare before this patch. Reviewers: singh.amitesh, herb, Hermet, raster Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4113
2016-06-28evas: add pattern "style" when evas query fonts via fontconfigYoungbok Shin
Summary: Some fonts can have weird style and weight value. If a font has a style name as "medium" and a weight value as "semi-bold", Evas can't load the font using "font=Somefont:style=Medium". It only can be load with "font=Somefont:style=SemiBold" or "font=Somefont:weight=SemiBold". On the other hand, it could be loaded when I tested the following commands. fc-match -s ":family=Somefont:style=Medium" or fc-match -s ":family=Somefont:weight=SemiBold" Evas also should load font based on font's style name. @fix Test Plan: N/A Reviewers: tasn, herdsman, cedric, woohyun, raster Reviewed By: raster Subscribers: Blackmole, z-wony, jpeg Differential Revision: https://phab.enlightenment.org/D4108
2016-06-28elementary/layout: changed to Evas_Object * from Elm_Layout * in legacy header.Hermet Park
if EFL_EO_API_SUPPORT is not defined in user side, this will break the build. because Elm_Layout type is defined in eo header file. Just keep using Evas_Object * in legacy yet.
2016-06-28efl: Remove eo struct Efl.Gfx.ColorJean-Philippe Andre
So far this was protected behind ifdef EO_API_SUPPORT. It also was not used internally. Dropping this before the release, since we will soon have a (hopefully) better solution to handle various color representations.
2016-06-28edje: refactor edje color class APIJee-Yong Um
Summary: refactor setter and getter of edje color class and move edje_color_class_set/get() into Edje.Object as class functions Reviewers: cedric, jpeg Reviewed By: jpeg Subscribers: kimcinoo Differential Revision: https://phab.enlightenment.org/D4109 Note by jpeg: The EO APIs introduced here will be revisited in upcoming patches, in particular: 1. avoid non-premultiplied colors 2. move to a common color class interface
2016-06-27elm_atspi_bridge: add bounds-changed signal sending code.Shilpa Singh
Summary: Add bounds-changed signal, this signal can be sent on geometry change of any evas object when atspi mode is enabled. Test Plan: connect to "object:bounds-changed" signal on screen-reader. when signal BoundsChanged is emitted from elm using elm_interface_atspi_accessible_bounds_changed_signal_emit, the signal should be received and we should be able to access geometry. Signed-off-by: Shilpa Singh <shilpa.singh@samsung.com> Reviewers: cedric, lukasz.stanislawski, kimcinoo Subscribers: govi, rajeshps, cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4100 Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
2016-06-27elementary/layout: attach edje object API with eo compositingJee-Yong Um
Test Plan: make check Reviewers: Hermet, jpeg, cedric Subscribers: slotus.lee Differential Revision: https://phab.enlightenment.org/D3871 Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
2016-06-27label: set sliding only if label size is validMinkyu Kang
Summary: When call slide_go before label is resized, setting the sliding is a meaningless. This patch is for reducing redundant operations. Signed-off-by: Minkyu Kang <mk7.kang@samsung.com> Signed-off-by: Deepjyoti Dutta <deepjyoti.d@samsung.com> Test Plan: elementary_test -to "label slide" Reviewers: cedric, Hermet Subscribers: seoz, jpeg Differential Revision: https://phab.enlightenment.org/D4089 Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
2016-06-27ecore_wl2: Fix dnd breakage when focus leaves windowMarcel Hollerbach
Summary: If dnd in the same window is activated, the focus goes away from the ecore_wl2 window to the dnd window, after that focus.pointer is NULL. After focus.pointer is NULL ev->win of all the events will be 0 which breaks dnd-motions, drop and end. With prev_pointer beeing the last focused window, we can simply set this window as event window. After that dnd with jesus works perfectly. @fix Reviewers: devilhorns Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4093
2016-06-27Ui text: make elm test editableDaniel Hirt