Jean-Philippe Andre [Tue, 21 Jun 2016 04:26:15 +0000 (13:26 +0900)]
evas: Rename Evas.Object to Efl.Canvas.Object
One step closer to make the EO inheritance tree look like
it's all Efl.
Jean-Philippe Andre [Tue, 21 Jun 2016 04:29:28 +0000 (13:29 +0900)]
elm: Fix obvious warning (leak / typo)
warning: ignoring return value of function declared with
warn_unused_result attribute [-Wunused-result]
Thanks GCC for pointing out the leak.
Jean-Philippe Andre [Tue, 21 Jun 2016 01:16:27 +0000 (10:16 +0900)]
examples: Fix misuse of evas image api on canvas 3d
image_size_set is for legacy images
Jean-Philippe Andre [Tue, 21 Jun 2016 01:14:13 +0000 (10:14 +0900)]
ecore: Fix _ecore_animator_shutdown (double free)
evas 3d examples would always exit on a double free, since
EINA_INLIST_FREE was misused. Not surprising considering
it's different from EINA_LIST_FREE but has a similar name.
Felipe Magno de Almeida [Mon, 20 Jun 2016 22:35:50 +0000 (19:35 -0300)]
eolian-cxx: Remove Eina_Bool from event function wrapper
Vitor Sousa [Mon, 20 Jun 2016 19:28:09 +0000 (21:28 +0200)]
elementary: remove wrong documentation for Elm.Widget.focus
Fixes T3717.
Reviewers: bu5hm4n
Reviewed By: bu5hm4n
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D4061
Tom Hacohen [Mon, 20 Jun 2016 16:57:52 +0000 (17:57 +0100)]
Eo event: Add a test for stopping callbacks within another callback.
This tests that stopping callbacks is correctly preserved inside the
call and does not affect any surrounding callback calls.
Tom Hacohen [Mon, 20 Jun 2016 14:31:31 +0000 (15:31 +0100)]
Adjust the code according to the eo event stop changes.
This was changed in the previous commit.
Tom Hacohen [Mon, 20 Jun 2016 09:37:02 +0000 (10:37 +0100)]
Eo event callbacks: Change the way callbacks are stopped.
Instead of using the return value, we now use eo_event_callback_stop()
to stop calling other callbacks.
Tom Hacohen [Mon, 20 Jun 2016 14:58:45 +0000 (15:58 +0100)]
Eo callback call: Fix misleading docs.
Stefan Schmidt [Mon, 20 Jun 2016 14:07:20 +0000 (16:07 +0200)]
evas: native-tbm: remove unused variable
The variable was set but never used in this function.
Stefan Schmidt [Mon, 20 Jun 2016 14:06:29 +0000 (16:06 +0200)]
edje_util: make sure we have an initialized return value
Stefan Schmidt [Mon, 20 Jun 2016 14:05:36 +0000 (16:05 +0200)]
edje_util: mark parameter as unused
Youngbok Shin [Mon, 20 Jun 2016 12:11:25 +0000 (21:11 +0900)]
Edje, Elementary: Remove <password=off> tag when password mode is disabled
Summary:
When edje_password_show_last option is enabled, the edje_entry uses <password=off>
for showing last character. But, when password mode is disabled by the elm_entry,
<password=off> is remained in the text. It can cause some problems.
Because, there is no way to control password mode by API for the edje_entry.
The elm_entry can't remove <password=off> tag before getting text from the edje_entry.
So, the patch adds edje_object_part_text_hide_visible_password() function and
the elm_entry will use this when elm_layout_theme_apply() is called.
@fix
Test Plan:
1. Run "elementary_test".
2. Show "Entry Password" demo. (Newly added by this patch)
3. Password mode is enabled. Put some text.
4. Click "Show Password" check box to disable password mode.
5. Put more text.
6. Click "Hide Password" check box to enable password mode again.
7. See a character among the text is visible. (without this patch)
Reviewers: tasn, herdsman, cedric, jpeg, thiepha, raster
Reviewed By: raster
Subscribers: Blackmole, z-wony, woohyun
Differential Revision: https://phab.enlightenment.org/D3988
Shinwoo Kim [Mon, 20 Jun 2016 06:45:33 +0000 (15:45 +0900)]
elm_access: override elm_interface_atspi_widget_action_elm_actions_get
Summary: override elm_interface_atspi_widget_action_elm_actions_get to support what elm_access_action offers
Reviewers: cedric, jpeg, stanluk, raster
Reviewed By: raster
Subscribers: seoz
Differential Revision: https://phab.enlightenment.org/D4043
Jean-Philippe Andre [Mon, 20 Jun 2016 12:08:58 +0000 (21:08 +0900)]
evas gl: Fix invalid argument
GCC didn't warn where it should have :(
Luckily the previous code worked just as well as the value
of EINA_TRUE and EVAS_GL_GLES_1_X are the same (1).
Jean-Philippe Andre [Mon, 20 Jun 2016 11:05:52 +0000 (20:05 +0900)]
efl.ui.image: Fix min size of non-resizable images
Legacy API was setting a value that was not used in the size
computation.
This fixes the layout in elm_test "Icon Animation".
Stefan Schmidt [Mon, 20 Jun 2016 07:40:45 +0000 (09:40 +0200)]
eo: remove now longer needed EO_BASE_BETA define from code base
This was needed when the eo composite object was still in beta. Since commit
d7c45e41d4a911b160d2c24c13f243d0c7de25a3 this is no longer the case. No beta
part left in eo base so we can safely remove this define.
Jean-Philippe Andre [Mon, 20 Jun 2016 07:26:52 +0000 (16:26 +0900)]
ecore_evas: Try to fix mouse events on Windows
See also
de5f293426965f9dc19 and T3789
I wrongly assumed that multi.{x,y} would be properly set.
I'm assuming here that multi.{x,y} == (0,0) means they are
not set, and that double comparison to 0 works fine.
Jean-Philippe Andre [Mon, 20 Jun 2016 06:47:07 +0000 (15:47 +0900)]
evas: Fix usage of fill_set
efl.gfx.fill will reset the filled flag, so the internal function
needs to be called instead of the gfx api.
This test error was added in a very recent commit:
ccaf12e1b66b2b49.
Jean-Philippe Andre [Mon, 20 Jun 2016 06:25:09 +0000 (15:25 +0900)]
evas 3d: Fix shader compilation with EGL
This fixes the following error:
error C1059: non constant expression in initialization
It happened with the hedgehog example: evas_canvas3d_aabb
Jean-Philippe Andre [Mon, 20 Jun 2016 05:47:39 +0000 (14:47 +0900)]
evas: Fix regeneration of shaders (normal and 3d)
This will trigger a re-run of the shaders shell scripts even
in case of out-of-tree builds. BUILT_SOURCES is used here
because for whatever reason make does not rebuild the .x targets
in case of out-of-tree builds (even if the timestamps of
the dependencies have changed).
Jean-Philippe Andre [Mon, 20 Jun 2016 05:19:30 +0000 (14:19 +0900)]
evas: Improve debug logs (print shader code)
Jean-Philippe Andre [Mon, 20 Jun 2016 05:11:32 +0000 (14:11 +0900)]
evas: Use efl_gfx APIs where appropriate
This is a better fix than the previous patch, as it keeps
the legacy API check. The point of that check is: if the object
has been created with legacy API (evas_object_image_[filled_]add,
then legacy APIs are allowed, otherwise they are disallowed. This
means only EO APIs should be used on an eo_add() image object.
Jean-Philippe Andre [Mon, 20 Jun 2016 05:04:09 +0000 (14:04 +0900)]
evas: Fix type checking for legacy APIs
This should fix canvas 3d examples (that were calling fill_set
and evas would reject with "object is not an image").
Jean-Philippe Andre [Mon, 20 Jun 2016 04:37:56 +0000 (13:37 +0900)]
edje: Fix double clicks
This fixes T3895
Amitesh Singh [Mon, 20 Jun 2016 04:27:20 +0000 (09:57 +0530)]
elm_combobox/video: remove EO_BASE_BETA
composite_attach() is no more a beta API after
d7c45e41d4a911b16
Jean-Philippe Andre [Mon, 20 Jun 2016 03:06:12 +0000 (12:06 +0900)]
elm: Add internal eo files to EXTRA_DIST
This should fix make distcheck
Jean-Philippe Andre [Mon, 20 Jun 2016 02:18:18 +0000 (11:18 +0900)]
elm: Fix default image scale type
Elementary image used to respect aspect ratio by default,
corresponding to the fit_inside policy.
Fixes T3914.
Subhransu Mohanty [Mon, 20 Jun 2016 01:13:03 +0000 (10:13 +0900)]
edje_load: fixed adding ellipse shape data.
Reviewers: cedric, jpeg
Reviewed By: jpeg
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D4053
Marcel Hollerbach [Sun, 19 Jun 2016 09:32:05 +0000 (11:32 +0200)]
evas: fix double define
/usr/local-efl/include/evas-1/Evas_Legacy.h:3762:30: warning: redefinition of typedef 'Evas_Load_Error'
is a C11 feature [-Wtypedef-redefinition]
typedef Efl_Image_Load_Error Evas_Load_Error;
^
/usr/local-efl/include/evas-1/Evas_Loader.h:126:30: note: previous definition is here
typedef Efl_Image_Load_Error Evas_Load_Error;
^
thank you jpeg :P
Vitor Sousa [Fri, 17 Jun 2016 19:40:49 +0000 (16:40 -0300)]
elementary: Fix fileselector directory monitoring events
@fix
Tom Hacohen [Fri, 17 Jun 2016 18:22:25 +0000 (19:22 +0100)]
Eo: Take composite out of beta.
This has proved itself very useful, and is used all around our API.
It does not make sense to keep it as beta.
Jean-Philippe ANDRE [Fri, 17 Jun 2016 11:34:55 +0000 (20:34 +0900)]
Efl: Fix a build break
Strange doc reference has decided to break the build now.
Not sure why it worked before and not anymore...
Stefan Schmidt [Fri, 17 Jun 2016 10:29:19 +0000 (12:29 +0200)]
examples: eldbus and elementary: fix build after efl model changes
In commit
8e4f383d61188020d5ceeee691fd7df761f10202 the function signature
changed but examples have not been build and fixed.
Jean-Philippe Andre [Fri, 17 Jun 2016 10:28:57 +0000 (19:28 +0900)]
examples: Fix compilation (use legacy func)
name has been removed (it's part of EO).
Jean-Philippe Andre [Fri, 17 Jun 2016 08:26:08 +0000 (17:26 +0900)]
Evas: Rename smart object into Efl.Canvas.Group
Jean-Philippe Andre [Fri, 17 Jun 2016 06:35:21 +0000 (15:35 +0900)]
Evas: Fix warnings in Efl.Ui.Text
clang being overzealous with -Wmissing-field-initializers
Jean-Philippe Andre [Fri, 17 Jun 2016 06:32:37 +0000 (15:32 +0900)]
Evas: Cleanup evas smart clipped class
This is legacy stuff. I wish we could hide it from our inheritance
entirely. Instead, just make it abstract, remove all functions from
eo (doable here) and rename with the keyword "internal" in the new
ugly java style name.
Jean-Philippe Andre [Fri, 17 Jun 2016 06:11:32 +0000 (15:11 +0900)]
Evas: Remove a useless magic check
Jean-Philippe Andre [Fri, 17 Jun 2016 05:57:31 +0000 (14:57 +0900)]
Evas: Add smart_ prefix to all smart functions (eo)
This is a first step at separating legacy smart
object features away from standard efl interfaces.
Jean-Philippe Andre [Fri, 17 Jun 2016 05:42:07 +0000 (14:42 +0900)]
Evas: Move smart_members_get to legacy
Going forward, we prefer to return iterators rather than
lists.
Jean-Philippe Andre [Fri, 17 Jun 2016 05:30:44 +0000 (14:30 +0900)]
Evas: Move smart data to legacy
Jean-Philippe Andre [Fri, 17 Jun 2016 05:12:02 +0000 (14:12 +0900)]
Evas: Move smart_callbacks_descriptions to legacy
Jean-Philippe Andre [Fri, 17 Jun 2016 04:42:09 +0000 (13:42 +0900)]
Evas: Move smart_get to legacy and smart_attach to internals
smart_get and attach referred to an opaque struct, from EO
point of view.
Also, attach was an EO-only function, used nowhere besides
evas object smart itself, and evas grid (which is not EO
public API).
Jean-Philippe Andre [Fri, 17 Jun 2016 10:25:10 +0000 (19:25 +0900)]
Efl.Ui.Image: Remove invalid import in eo file
Ji-Youn Park [Fri, 17 Jun 2016 10:12:28 +0000 (18:42 +0830)]
evas_image_load_bmp: fix bug that image is not decoded, if image is not perfact.
Tom Hacohen [Fri, 17 Jun 2016 08:02:23 +0000 (09:02 +0100)]
Canvas text: Fix idiotic memory leak.
Thanks to vtorri for reporting.
Ji-Youn Park [Fri, 17 Jun 2016 07:32:38 +0000 (16:02 +0830)]
efl_ui_win: move some APIs get the object's list in special location to efl_ui_win.
The apis to get the object or object list in special location is useful.
like game app.
so move these APIs from evas canvas to efl_canvas.
Simon Lees [Fri, 17 Jun 2016 05:35:02 +0000 (15:05 +0930)]
examples: eina-cxx: ensure the install hook honors a set DESTDIR
Only missing from the mkdir this time.
Amitesh Singh [Fri, 17 Jun 2016 04:55:41 +0000 (10:25 +0530)]
elm_video: make emotion obj as a composite object.
There is no need to reimplement player interface APIs in elm video.
Thanks marcel for this idea.
Jean-Philippe Andre [Fri, 17 Jun 2016 02:32:25 +0000 (11:32 +0900)]
Evas: Move Object_Pointer_Mode to Efl.Event
Jean-Philippe Andre [Thu, 16 Jun 2016 11:44:45 +0000 (20:44 +0900)]
Evas: Move BiDi type to Efl.Text
This renames it to Efl.Text.Bidirectional_Type.
Jean-Philippe Andre [Thu, 16 Jun 2016 11:01:32 +0000 (20:01 +0900)]
Evas: Move Evas.Load_Error to legacy, use Efl.Image.Load.Error
This also disables the unused interface "load_state".
Jean-Philippe Andre [Thu, 16 Jun 2016 10:49:06 +0000 (19:49 +0900)]
Evas: Remove Evas.Render_Op and switch to Efl.Gfx
Note: Only two modes are supported (blend and copy).
The Efl.Gfx and Evas enums were different. All other values
were not supported. For legacy compatibility (since GL engine
actually implements some kind of support for all operations),
render_op_set() should still work fine, even though it's not
recommended, and won't work anymore with EO API.
Jean-Philippe Andre [Thu, 16 Jun 2016 10:38:21 +0000 (19:38 +0900)]
Evas: Move Evas_Native_Surface to legacy
Jean-Philippe Andre [Thu, 16 Jun 2016 10:05:36 +0000 (19:05 +0900)]
tests: Add test case for evas clipees get
This tests both legacy (list) and eo (iterator) APIs.
THis is a terrible test with a single item, though.
Jean-Philippe Andre [Thu, 16 Jun 2016 09:11:11 +0000 (18:11 +0900)]
Evas: Fix clipees_get and return an iterator
The legacy function was broken: it was returning the
private data.
Jean-Philippe Andre [Thu, 16 Jun 2016 09:03:32 +0000 (18:03 +0900)]
Evas: Mark legacy_ctor as constructor and beta
This is a futile attempt at hiding an internal function.
Jean-Philippe Andre [Thu, 16 Jun 2016 08:56:18 +0000 (17:56 +0900)]
Evas: Move smart_move_children_relative to evas smart
This is temporary...
Jean-Philippe Andre [Thu, 16 Jun 2016 08:50:20 +0000 (17:50 +0900)]
Evas: Move smart_type_check[_ptr] to legacy
Jean-Philippe Andre [Thu, 16 Jun 2016 08:45:29 +0000 (17:45 +0900)]
Evas: Move smart_clipped_clipper to its class
It was in Evas.Object, probably to make it work without any ERR
message on invalid objects. Not worth it right now...
Jean-Philippe Andre [Thu, 16 Jun 2016 08:33:42 +0000 (17:33 +0900)]
Evas: Nove smart data get to smart class
It didn't make sense where it was.
No idea why evas_box was overwriting smart_data.get
(esp. since it was returning a private struct).
Jean-Philippe Andre [Thu, 16 Jun 2016 08:19:23 +0000 (17:19 +0900)]
Evas: Rename object focus to key_focus
The evas focus concept is valid and applies only to the
keyboard inputs.
Jean-Philippe Andre [Thu, 16 Jun 2016 07:20:25 +0000 (16:20 +0900)]
Evas: Move object static_clip to legacy
This is a horrible API used for internal optimizations. Which
may or may not be partly broken anyway.
We can do better, in the future. Let's not expose this kind
of API.
Jean-Philippe Andre [Thu, 16 Jun 2016 07:09:49 +0000 (16:09 +0900)]
Evas: Move object name to legacy
All EO objects have a name now. No need for evas object
names anymore.
Also move name_child_find.
Jean-Philippe Andre [Thu, 16 Jun 2016 07:05:00 +0000 (16:05 +0900)]
Evas: Mark type as legacy and protected
Only set() is allowed for EO, and it's a constructor,
protected function. Unfortunately, this means a lot
of #define EVAS_OBJECT_PROTECTED
Ji-Youn Park [Fri, 17 Jun 2016 02:00:22 +0000 (10:30 +0830)]
efl_ui_win: add some evas feature(pointer, cache ) to efl.canvas and efl_ui_win
evas will be internal, so APIs need to open public are moved efl.canvas eo
and efl_ui_win.
Felipe Magno de Almeida [Fri, 17 Jun 2016 00:50:37 +0000 (21:50 -0300)]
efl: Move promise parameter to return in data model
Summary:
Instead of:
efl_model_property_get("name", &promise);
now:
promise = efl_model_property_get("name");
Reviewers: stefan_schmidt, cedric
Subscribers: jpeg
Differential Revision: https://phab.enlightenment.org/D4038
Felipe Magno de Almeida [Fri, 17 Jun 2016 00:49:28 +0000 (21:49 -0300)]
elementary: Modify parameter from @out void to @inout void
@out parameters doesn't need initialization, so passing a buffer
to a function must be a @in void_ptr or a @inout void, but
never an @out void.
Felipe Magno de Almeida [Fri, 17 Jun 2016 00:48:07 +0000 (21:48 -0300)]
eolian-cxx: Work with @inout parameter of void type
Subhransu Mohanty [Thu, 16 Jun 2016 23:50:05 +0000 (16:50 -0700)]
edje: creation of gradient node from data parsing of color property and refactoring of fill and stroke attribute.
Reviewers: jpeg, cedric
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D4045
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Jee-Yong Um [Thu, 16 Jun 2016 23:48:13 +0000 (16:48 -0700)]
elementary: remove non-exist target from Makefile
Summary:
efl_ui_flip_internal_part_eo.h doesn't exist but it belongs to
the target list of Makefile.
Remove it from the list to fix an error when building elementary only.
Test Plan: $ make (in src/lib/elementary path)
Reviewers: jpeg, cedric
Differential Revision: https://phab.enlightenment.org/D4046
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Tom Hacohen [Thu, 16 Jun 2016 19:15:22 +0000 (20:15 +0100)]
Merge in the new text API changes and new Efl.Ui.Text widget
This set of commits include the renaming of textblock to the new
convention, addition of a new interface for interactive text editing,
and a new entry widget that uses this new API.
A better write up will follow when the change is fully done. But the
gist of it is that now you just manipulate text cursors to manipulate
the text and selections. Edje_Entry is no longer used, the logic is
outside. Formats and markup are no longer used, they proved to be
problematic for text editing; we'll add wrappers for setting and getting
markup. Instead of formats we use the more strict subset, which is
format ranges, or as we called them "annotations" that essentially let
you apply a format on a range of text.
There are a few things missing that will soon follow. Namely:
1. Style is currently hardcoded. We need to change it to load from Edje,
and just use the old entry theme instead of the custom one.
2. Text filtering is not yet implemented.
3. There are a few known issues that need to be fixed.
4. Markup set/get support.
5. Change the IMF API and other APIs that we didn't know much about that
looked a bit messy.
Daniel Hirt [Thu, 16 Jun 2016 20:58:20 +0000 (20:58 +0000)]
Ui text: store SEL_FORMAT_TEXT only for now.
Daniel Hirt [Thu, 16 Jun 2016 20:54:55 +0000 (20:54 +0000)]
Canvas test: remove style test for now
Daniel Hirt [Thu, 16 Jun 2016 17:22:23 +0000 (17:22 +0000)]
Ui text: fixup build
Daniel Hirt [Wed, 8 Jun 2016 15:37:35 +0000 (15:37 +0000)]
Ui text: introduce this new text widget
This composite object utilizes the Efl.Canvas.Text, Efl.Canvas.Text.Cursor and
Efl.Ui.Interactive API to server as a proper replacement for the Elm Entry
widget.
@feature
Tom Hacohen [Wed, 8 Jun 2016 10:45:40 +0000 (11:45 +0100)]
Ui text interactive: introduce this new object (rebase squash)
@feature
Ui text: Add a new interactive version of Canvas.Text
This object is internal and is essentially a Canvas.Text that accepts
key and mouse input. It should be used by Ui.Text as the text
layout/input driver.
Ui text interactive: Add include guard to header.
Ui internal text: Improve input handling support and add selection.
Ui internal text: Add a lot of imf stuff.
Add more text selection handling code.
Add support for allowing selection.
Efl.Ui.Text.Interactive: (reword) code format fix.
Efl.Ui.Text.Interactive: Remove useless struct members.
Add multiline toggle support and a constructor.
Text interactive: Add support for legcay newline.
Text interactive: Use the new cursor_equal function.
Efl.Ui.Text.Interactive: (Rebase split) fixup cursor
Efl.Ui.Interactive: (Rebase split) fixup line_jump_by usage
Text interactive: Cleanup tab/return handling.
Text interactive: Use cursor_equal more.
Text interactive: Simplify and unify selection handling in key input.
Text interactive: Fix user text change reporting.
This is useful for implementing undo/redo.
Text interactive: Add documentation to event.
Efl text interactive: (Rebase reword) Add a new interface to be used later.
Ui text interactive: Migrate one missing change_info call.
Ui text interactive: Mark the correct type for the change event.
Ui text interactive: (Edited) Move to elementary and add "selection,changed".
This is useful for implementing selection handlers. We had to move it to
elementary because we started referencing cursors.
Ui internal: Emit an event for selection changed.
Ui text interactive: Remove unused code.
Ui text interactive: Remove more unused code.
Ui text interactive: Remove more unused code.
Ui text interactive: Rename improperly named function.
Ui text interactive: Update code to the new canvas text api.
Ui text interactive: provide access to the selection cursors.
This is the new API for manipulation selection outside of the object.
Just manipulate these cursors to manipulate the selection.
Fix previous commit.
Ui interactive: Clean up internal functions.
Ui interactive: Fix abuse of selection in word deletion.
Ui text interactive: Fix selection.
Ui text interactive: Fix right key to move next.
Ui text interactive: Fix selection using keyboard.
Ui text interactive: Don't emit selection changed events twice.
We now use the cursor changed event to track changes, so no need
to manually emit events ourselves.
Ui Text interactive: Remove selection,cleared signal, use changed instead.
If the selection cursors are equal, there's no selection, if they are
different, there is.
Ui text interactive: remove redundant code.
Ui text interactive: Don't emit selection changed events on init.
Ui text interactive: Remove unused variable.
Efl.Ui.Interactive: fixup char_coor usage
Ui text interactive: Fix some fixmes.
Ui text interactive: fix selection_cursors_get
Ui text interactive: Skip key down events if marked ON_HOLD.
Daniel Hirt [Tue, 7 Jun 2016 17:16:34 +0000 (17:16 +0000)]
Canvas Text: continue porting api and fixup bugs
Also: This merges style user and normal style into a list with precedence. This
allows for more flexibility while keeping the API clean.
@feature
Tom Hacohen [Sun, 5 Jun 2016 12:44:03 +0000 (13:44 +0100)]
Canvas text cursor: introduce this new object
The text cursor is now an eo object. Consult the efl_canvas_text_cursor.eo file
for the API.
@feature
Daniel Hirt [Tue, 24 May 2016 13:11:03 +0000 (16:11 +0300)]
Canvas text: introduce new text object
The implementation depends on creating different code paths from the now-legacy
behavior of text appending.
The annotation system introduced in this commit replaces the current way of
applying formats on text.
Up until now it has been quite a hassle for the user to control the formats, as
it required keeping track of the format positions with an opener and closer
formats almost every time (with the exception of own-closing formats).
The combination of Efl.Text API along with the Efl.Canvas.Text annotation API
essentially replaces the capabilities of the old format.
There is additional annotation API to allow more control, so be sure to check
the documentation/.eo files and the wiki page of Efl.Canvas.Text.
The style API now accepts actual strings of format style. There is not longer
need to instantiate as style with style_new() followed later by style_free().
@feature
Chris Michael [Thu, 16 Jun 2016 17:01:33 +0000 (13:01 -0400)]
elput: Trap for null physical seat name
It could be possible that libinput_seat_get_physical_name does not
return a valid name, in which case searching for seats will fail. This
small patch just checks for a valid name being passed in and if not,
searches for a default seat name
@fix
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Vincent Torri [Thu, 16 Jun 2016 13:59:28 +0000 (15:59 +0200)]
Disable XCF module on Windows
Summary: This fixes compilation on Windows: timeout.c is using SIGALRM which is unavailable on Windows
Test Plan: compilation
Reviewers: cedric, jpeg, stefan_schmidt
Differential Revision: https://phab.enlightenment.org/D4058
Mykyta Biliavskyi [Thu, 16 Jun 2016 12:50:38 +0000 (15:50 +0300)]
Edje text: fix behavior for text source and source attribute.
Check present source by index, because name of source
can be non NULL. Updates name of source part accordingly to
the current source part index.
Vincent Torri [Thu, 16 Jun 2016 12:42:59 +0000 (14:42 +0200)]
Evil: fix EAPI when dirent.h and mman.h are included (Windows only)
Test Plan: compilatioN
Reviewers: cedric, jpeg, stefan_schmidt
Differential Revision: https://phab.enlightenment.org/D4055
Stefan Schmidt [Wed, 15 Jun 2016 16:23:24 +0000 (18:23 +0200)]
tests: eio: use eina file infrastructure for temporary file creation
The tmp dir is not always /tmp.
Stefan Schmidt [Wed, 15 Jun 2016 16:22:47 +0000 (18:22 +0200)]
tests: eio: silence unused paramater warnings in new eio_map test
Vivek Ellur [Mon, 6 Jun 2016 15:44:38 +0000 (17:44 +0200)]
eio_map: Add test suite for eio map module
Summary:
Added test suite for eio map module
Signed-off-by: Vivek Ellur <vivek.ellur@samsung.com>
Reviewers: cedric
Subscribers: stefan_schmidt, raster, cedric
Differential Revision: https://phab.enlightenment.org/D3321
Mykyta Biliavskyi [Thu, 16 Jun 2016 11:33:32 +0000 (14:33 +0300)]
Edje_edit: fix text_source_set and text_text_source_set.
Do not need to replace text value inside edje_edit_state_text_text_source_set,
because edje_text module will use text from source.
Stefan Schmidt [Thu, 16 Jun 2016 09:12:55 +0000 (11:12 +0200)]
examples: elua: ensure the install hook honors a set DESTDIR
Reported by Simotek when testing the latest snapshot:
Were getting closer, "/usr/bin/mkdir -p /usr/share/elua/examples" should
be "/usr/bin/mkdir -p
/home/abuild/rpmbuild/BUILDROOT/efl-1.17.99.48545-1.x86_64/usr/share/elua/examples"
Vyacheslav Reutskiy [Thu, 16 Jun 2016 07:56:31 +0000 (10:56 +0300)]
edje_edit: return NULL if part has not style attribute
Subhransu Mohanty [Thu, 16 Jun 2016 06:32:42 +0000 (15:32 +0900)]
svg_loader: fixed parsing of transformation attribute
Reviewers: cedric, jpeg
Reviewed By: jpeg
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D4048
Subhransu Mohanty [Thu, 16 Jun 2016 06:28:07 +0000 (15:28 +0900)]
edje_cc_out : fix possible buffer overrun
Reviewers: cedric, jpeg
Reviewed By: jpeg
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D4044
Subhransu Mohanty [Thu, 16 Jun 2016 06:26:28 +0000 (15:26 +0900)]
svg_loader: Fixed color attribute parser
Reviewers: cedric, jpeg
Reviewed By: jpeg
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D4049
Subhransu Mohanty [Thu, 16 Jun 2016 06:26:08 +0000 (15:26 +0900)]
edje_load : return if we can't decode the vector data.
Reviewers: cedric, jpeg
Reviewed By: jpeg
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D4050
Jean-Philippe Andre [Thu, 16 Jun 2016 04:02:19 +0000 (13:02 +0900)]
examples: Use EO_CALLBACKS_ARRAY_DEFINE in all examples
Again, for Windows.
Jean-Philippe Andre [Thu, 16 Jun 2016 04:01:50 +0000 (13:01 +0900)]
tests: Use EO_CALLBACKS_ARRAY_DEFINE in all tests
This should make them work on Windows, too.
Jean-Philippe Andre [Thu, 16 Jun 2016 02:16:12 +0000 (11:16 +0900)]
Evas: Fix usage of callback arrays
This should fix compilation of EFL for Windows (at least
this is one more step...)
- evas box
- evas table
Jean-Philippe Andre [Thu, 16 Jun 2016 02:06:04 +0000 (11:06 +0900)]
Evas: Stop using Evas.Image in public inheritance
So, it seems my previous commit
79abba52c50840c043e4b was a job
half done, as I forgot to remove Evas.Image from the inheritance
tree of all new evas image classes.