summaryrefslogtreecommitdiff
path: root/src/lib/elementary (follow)
AgeCommit message (Collapse)Author
2017-09-19elm: Fix invalid uses of Efl.OrientationJean-Philippe Andre
I think this closes the orientation vs. direction problem. RTL vs. AnyRTL is not fully handled yet but this becomes a widget-per-widget issue (eg. should a box in a RTL locale be mirrored if set to horizontal?). Fixes T5870
2017-09-19efl_ui_image: add new scale type: EFL_UI_IMAGE_SCALE_TYPE_TILESungtaek Hong
Summary: Tile is common type which can be used eg: background. This is added to scale type which can be set/get by efl_ui_image_scale_type_set/get() @feature Test Plan: Run elementary test Run Image Scale Type Check radio "Tile". Reviewers: jpeg, cedric, woohyun Differential Revision: https://phab.enlightenment.org/D5119
2017-09-19els_tooltip: Fix to use some functions before tooltip_test_set or ↵Jeonghyun Yun
tooltip_content_cb_set Summary: If user call tooltip_orient_set or tooltip_style_set or tooltip_window_mode_set before tooltip_test_set or tooltip_content_cb_set, those functions doesn't work. Because elm_tooltip will be created when tooltip_content_cb_set is called. I fixed logic to use some functions before tooltip_test_set or tooltip_content_cb_set. Test Plan: elementary_test -> Popups -> Tooltip Reviewers: jpeg, Jaehyun Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5183
2017-09-19elm_map: keep overlays list when showing overlaysSungtaek Hong
Summary: In elm_map_overlay_show and elm_map_overlays_show, it frees overlays list members. This lists are used in elm_map_overlay functions, so should remain. Test Plan: 1. Run elementary_test -> Geographic -> Map 2. Click group overlay (whose text is "3") -> bubble appears 3. Click "Show" button -> observe no more Eina Magic Check Failure appear. Reviewers: jpeg, cedric, woohyun Differential Revision: https://phab.enlightenment.org/D5191
2017-09-19efl po files - fix LTR/RTL translation string to be correct for langsCarsten Haitzler (Rasterman)
also add the comment in the code for trsanslators @fix
2017-09-19elm: rename Elm.Interface.Atspi_Action => Efl.Access.ActionLukasz Stanislawski
Reviewers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5166
2017-09-19elm: rename Elm.Interface.Atspi.Selection => Efl.Access.SelectionLukasz Stanislawski
Reviewers: jpeg, cedric Differential Revision: https://phab.enlightenment.org/D5165
2017-09-19text: Remove unused EO structsJean-Philippe Andre
Bad copy & paste?
2017-09-19win: Use Eina.Size2D for pointer positionJean-Philippe Andre
Also rename the function for more consistency.
2017-09-19photocam: Use Eina.Rect for image_regionJean-Philippe Andre
2017-09-19efl: Use Eina.Size2D for screen sizeJean-Philippe Andre
This API isn't so great when considering Wayland...
2017-09-19efl: Use Eina.Size2D for image load sizeJean-Philippe Andre
2017-09-19efl: Use Eina.Size2D for image sizeJean-Philippe Andre
2017-09-19efl: Use Eina.Size2D in Gfx.ViewJean-Philippe Andre
2017-09-19evas: Use Eina.Slice on the stack (gfx.buffer)Jean-Philippe Andre
2017-09-19evas: Use Eina.Size2D for gfx.bufferJean-Philippe Andre
For consistency.
2017-09-19evas: Use Eina.Rect for object list functionsJean-Philippe Andre
- objects_at_xy_get - object_top_at_xy_get - objects_in_rectangle_get - object_top_in_rectangle_get
2017-09-19efl: Use Eina.Size2D for Efl.Canvas.max_image_sizeJean-Philippe Andre
Rarely use
2017-09-19Multibuttonentry: set as clickableDaniel Zaoui
The clicked event is registered internally so the widget should be considered as a clickable interface.
2017-09-18elm_widget: eval the manager after the logicals are evalulatedMarcel Hollerbach
for the obj is the only child of parent this would have lead to manager beeing NULL.
2017-09-18elm_widget: also update if visible set is intersectedMarcel Hollerbach
the error case is when a element is shown, but its parent was not. In that case intersect returns immidiatly, without evalulating the focus state again.
2017-09-18edje: Merge calc_size_min_restricted & calc_size_minJean-Philippe Andre
calc_size_min was just a helper passing 0,0 to the restricted form. Let's not duplicate APIs in EO and use an optional argument instead. Bindings should be nicer and C could use a macro if it's too cumbersome to pass in 0,0.
2017-09-18edje: Use Eina.Size2D for min calcJean-Philippe Andre
2017-09-18edje: Use Eina.Size2D for group min & max sizeJean-Philippe Andre
2017-09-18efl: Use Eina.Size2D for size hint aspectJean-Philippe Andre
2017-09-18efl: Use Eina.Size2D for size hints base & stepJean-Philippe Andre
2017-09-18efl: Use Eina.Size2D for size hint combined minJean-Philippe Andre
For this patch I decided to add a pseudo legacy wrapper as the function is called in a very large number of places. Fixing all those calls to use the size2d form is a lot of work and a greater risk of b0rking something.
2017-09-18efl: Use Eina.Size2D for size hint restricted minJean-Philippe Andre
This is the "internal" or "intrinsic" minimum size, to be set by EFL and not by applications.
2017-09-18efl: Use Eina.Size2D for size hint minJean-Philippe Andre
2017-09-18efl: Use Eina.Size2D for size hint maxJean-Philippe Andre
2017-09-18efl: Use Eina.Size2D for Efl.Gfx.sizeJean-Philippe Andre
Big patch as a lot of things call or reimplement size_set. Hopefully I got it right... fingers crossed.
2017-09-18efl: Use Eina.Position2D for Efl.Gfx.positionJean-Philippe Andre
Note: This is a little bit more cumbersome in some places but in most it's more convenient than (x,y).
2017-09-18efl: Introduce Eina.Rect and switch EO APIs to itJean-Philippe Andre
It's a complex struct but defined in EO as a simple struct. ABI-wise it's equivalent to Eina_Rectangle. Some macros that use Eina_Rectangle also work on Eina_Rect out of the box, most of the code dealing with x,y,w,h will require no modifications either. But Eina_Rect provides direct access to a size or position 2d component, as well as the usual x,y,w,h. The field "rect" is provided as a convenience for code dealing with both Eina_Rectangle and Eina_Rect. We may or may not require it. Note: Size2D could use unsigned values but I have spotted a few places in the code that actually use -1 to indicate invalid size (as opposed to 0x0). @feature
2017-09-18elm image: Fix async open to avoid multiple mmapJean-Philippe Andre
Reported by @jiin.moon: In case of async_open for an elm_image, we try and open a file in a thread, then map it and populate a bit, as this may take some time (blocking I/O). This creates a mmap with eina_file_map_new. But later evas image loaders will (usually) try and map the entire file with eina_file_map_all() which creates another mmap. Since the size is different (32Kb first then all) the returned map might be different (it's up to the kernel to decide at this point). So, in order to avoid having multiple maps on the same file, and try to reduce the peak memory usage, we should prefer using the same map all the time, i.e. the global one returned by eina_file_map_all(). This patch relies on the previous patch in eina_file which fixes eina_file_map_populate() for the global map. @fix
2017-09-18flip: Fix invalid use of EOAPI in legacy headerJean-Philippe Andre
This compiled fine with GCC but not with TCC. @fix
2017-09-18intv slider: use scope_get insteadAmitesh Singh
its better to use efl_data_scope_get() in eolian functions except in finalize().
2017-09-15eolian: correctness fixes in tests and eo filesDaniel Kolesa
2017-09-15elementary: convert to new ownershipDaniel Kolesa
2017-09-15genlist: process item block positioning before relative item deletedSangHyeon Jade Lee
process item for positioning proper relative block before it's relative item is deleted. Signed-off-by: SangHyeon Jade Lee <dltkdgus1764@gmail.com>
2017-09-13efl.ui.clock: correct value_set/get & value_min/max APIs signature.Amitesh Singh
We could just pass Efl_Time value as copy by value to set time in setter APIs and return Efl_Time value in getter APIs. Thanks to @JackDanielZ for the report. Fixes T6008
2017-09-13efl_access: Use Eina.Rectangle (EO)Jean-Philippe Andre
2017-09-13efl_gfx_fill: Use Eina.Rectangle for fill (EO)Jean-Philippe Andre
2017-09-13efl_gfx: Use Eina.Rectangle for geometry (EO)Jean-Philippe Andre
This saves a few lines already (without even having the proper helpers for stack rectangles).
2017-09-13evas: Use Eina_Rectangle internallyJean-Philippe Andre
Instead of Evas_Coord_Rectangle which is exactly the same thing but with a different name and typedefs.
2017-09-13edje/elm: Rename _internal_ to _part_ (EO)Jean-Philippe Andre
In Edje and Elementary, we have part objects, which are what is returned by the interface efl_part(). Those objects can't be of an opaque type as this doesn't work nicely with strongly typed languages such as C++ or C#. In JS, Lua, C the types are weak and mostly runtime-based so it doesn't matter much. As a consequence, the documentation and the types need to look nice in this EO API. Thus, we remove the abusive term "internal" and explicitly call all those classes "part" something. Eventually we want the types to be declared in the EO file so bindings (C#, C++, ...) can generate the proper access methods, returning the best possible types. Note that right now a few of those part types are used in the legacy API but don't actually need to be exposed externally. This is kind of a mega commit that does all the renaming at once, but it's really just a big sed operation. The power of good IDEs :) Ref T5315 Ref T5306
2017-09-13widget: Make part_text_translate internalJean-Philippe Andre
2017-09-13widget: Rename focus_manager_factory to createJean-Philippe Andre
factory is not a verb :) Ref T5363
2017-09-13efl.ui.slider_interval: Add missing since tagAmitesh Singh
2017-09-13elm: Fix use of Efl.Access APIsJean-Philippe Andre
See also 7d397c9f195a9121153909c0f Thanks @stefan for the first fix patch, I simply failed to push this one early enough.
2017-09-13ctxpopup: Avoid safety error on call on null objJean-Philippe Andre
See 6aa309ffb80a30ce7049d744f2d5abcc2a70b42c