summaryrefslogtreecommitdiff
path: root/src/lib/efl (follow)
AgeCommit message (Collapse)Author
2017-11-07Efl.Ui.Slider: implement Slider.part & Ui.format functionsAmitesh Singh
indicator_format_set/get & indicator_format_function_set are now legacy APIs. indicator format can be set by using generic Ui.Format function e.g. efl_ui_format_string_set(efl_part(sliderObj, "indicator"), "1.0%f");
2017-11-07efl_gfx_path: fix typo in _path_bounds_getVitalii Vorobiov
Wrong position was used while going through the array of points @fix
2017-11-07cxx: Fix binding temporarily (efl/interfaces)Jean-Philippe Andre
This uses the new cref keyword instead of inout, as the c++ code has no access to the internals of struct Efl.Text.Cursor.Cursor Something tells me cref may not be the perfect solution here (we lose information on whether this is in, out or inout).
2017-11-02eo files: convert various to use @crefDaniel Kolesa
2017-11-02eolian: only allow reference (ownable) types in containersDaniel Kolesa
2017-11-01elementary: use @cref where possibleDaniel Kolesa
2017-11-01evas: Add seat argument to 'pointer_inside' (EO)Jean-Philippe Andre
This merges pointer_inside and pointer_inside_by_device. Affects only EO.
2017-11-01evas: Remove specific pointer_inside APIJean-Philippe Andre
This is a name clash. It doesn't matter too much since Evas.Canvas isn't meant to be exposed to the EO API.
2017-10-26Efl.Ui.Format: implement generic format_string functionAmitesh Singh
This generic format_string would be used in slider,progressbar and other widgets.This default function handles INT and DOUBLE eina value types for now. Ref T6204
2017-10-26evas textblocke: add align=end for putting a text at the opposite side of ↵Youngbok Shin
LTR/RTL Summary: There is a requirement for putting text at right side for LTR and at left side for RTL. It satisfies that reqirement easily. It also add "start" keywork for "align" tag. "start" will be same with "auto". Intuitionally, developer will try "align=start" if they once saw "align=end" in elsewhere. On the other hand, it only add "END" as new enumeration value for efl interface. @feature Test Plan: N/A Reviewers: herdsman, cedric, jpeg, raster Reviewed By: raster Subscribers: woohyun Differential Revision: https://phab.enlightenment.org/D5342
2017-10-18config: Simplify EO APIJean-Philippe Andre
This is: - using a property (but terribly ugly due to the ownership on the returned value) - removing an unused function Note: This interface Efl.Config covers only elm_config for now. But it's very generic and could be used in the future for application specific configuration.
2017-10-17slider/progressbar: implement format_string of Efl.Ui.FormatAmitesh Singh
remove the unit_format from Efl.Ui.Range.
2017-10-17efl_ui_format: change Eina.Strbug to @in typeAmitesh Singh
2017-10-17efl_ui_format: fix the namings and docsAmitesh Singh
it is based on review comments by Gustavo and JP.
2017-10-16efl intf: Add format interfaceAmitesh Singh
Ref T6204
2017-10-05efl: properly initialize Eina_File.Cedric BAIL
CID 1381605.
2017-10-04efl: make Efl.File a mixin that implement file_set for everyone.Cedric Bail
2017-09-29efl text markup - fix hex check to be or not and - found by coverityCarsten Haitzler (Rasterman)
fix CID 1381491
2017-09-28eolian: validate inner types of complex typesDaniel Kolesa
This makes sure the inner types are all correctly defined and that freefuncs are actually correctly filled.
2017-09-28Efl text: add Efl.Text.Markup interfaceDaniel Hirt
Adds basic markup operations for text objects, and implements it in Efl.Canvas.Text. Also, this adds the Efl.Text.Markup_Util class. This utility class allows basic text-markup conversions. @feature
2017-09-28efl: Remove @owned tag from pack/content APIsJean-Philippe Andre
Refer to the previous commits for more context. When an evas object is given to a container, be it with a variant of efl_pack() or efl_content_set(), its "ownership" is given to the new parent container. But ownership here means that the new container may delete the child when it sees fit (i.e. when the container itself dies, for instance). This does not mean that a reference was passed from the calling context to the container. The actual EO owner of the child is always the canvas or another canvas object, even if it the object is unpacked. Note: This means that invalid calls to efl_pack or efl_content_set will not automatically delete the child object. This is the same as legacy, and results in floating objects. Just check the return value! :) Hopefully this is correct for bindings.
2017-09-28evas: Fix dangling references with input devicesJean-Philippe Andre
This solves issues with efl_input_dup() which didn't properly give a reference to the caller, resulting in dangling eo ids. Note: This may trigger leaks (instead of invalid refs), but this now actually reflects the meaning of @owned. This should work with bindings and C API users should know to call efl_unref(). This patch is the reason for the previous improvements on eo_debug. @fix
2017-09-26input: Move pointer props to CanvasJean-Philippe Andre
efl_input_pointer_position is defined by two classes... bad! Fixes T6066
2017-09-26evas: Add scale feature for embedded bitmap fonts.Youngbok Shin
Summary: When evas selects a strike of embedded bitmap font, calculate ratio and use it for scaling embedded bitmap. @feature Reviewers: jpeg, tasn, woohyun, raster, herdsman Reviewed By: raster Subscribers: charlesmilette, Francesco149, cedric Differential Revision: https://phab.enlightenment.org/D2713
2017-09-22eolian: add any_value_ptrDaniel Kolesa
Because pointer Eina_Values and value Eina_Values have slightly different semantics (when it comes to resource management) it's better to split them.
2017-09-22eolian: rename generic_value to any_valueDaniel Kolesa
2017-09-22eo: make more freefuncs implicitDaniel Kolesa
2017-09-21elm: Remove range "span_size" API in EOJean-Philippe Andre
Reasons: - This API has been confused with the min size of the widget, resulting in badly laid out applications. - The EO API was not very nice (Range is about numbers, the Gfx size hint in a part is really ugly). While I understand the value of this API and how it can be used in scalable applications, it is in fact not absolutely necessary. Alternatively to that span size, the widget min size can already be defined from the application side, or the widget can simply be expanded to fill in its parent. This can obviously be reinstated later if the need arises for EO. For now, keep this feature as legacy-only.
2017-09-19efl interfaces: Fix typo in docBryce Harrington
Reviewers: cedric Subscribers: jpeg Differential Revision: https://phab.enlightenment.org/D5209
2017-09-19efl: Use Eina.Size2D for screen sizeJean-Philippe Andre
This API isn't so great when considering Wayland...
2017-09-19evas: Use Eina.Rect for load_regionJean-Philippe Andre
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-18efl interface: add Eo API documentation for path and shape interpolationBryce Harrington
Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5202 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
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-18gfx: Add comment about visibilityJean-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-15eolian: correctness fixes in tests and eo filesDaniel Kolesa