platform/upstream/efl.git
8 years agoEfl: Fix a build break
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...

8 years agoexamples: eldbus and elementary: fix build after efl model changes
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.

8 years agoexamples: Fix compilation (use legacy func)
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).

8 years agoEvas: Rename smart object into Efl.Canvas.Group
Jean-Philippe Andre [Fri, 17 Jun 2016 08:26:08 +0000 (17:26 +0900)]
Evas: Rename smart object into Efl.Canvas.Group

8 years agoEvas: Fix warnings in Efl.Ui.Text
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

8 years agoEvas: Cleanup evas smart clipped class
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.

8 years agoEvas: Remove a useless magic check
Jean-Philippe Andre [Fri, 17 Jun 2016 06:11:32 +0000 (15:11 +0900)]
Evas: Remove a useless magic check

8 years agoEvas: Add smart_ prefix to all smart functions (eo)
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.

8 years agoEvas: Move smart_members_get to legacy
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.

8 years agoEvas: Move smart data to legacy
Jean-Philippe Andre [Fri, 17 Jun 2016 05:30:44 +0000 (14:30 +0900)]
Evas: Move smart data to legacy

8 years agoEvas: Move smart_callbacks_descriptions to legacy
Jean-Philippe Andre [Fri, 17 Jun 2016 05:12:02 +0000 (14:12 +0900)]
Evas: Move smart_callbacks_descriptions to legacy

8 years agoEvas: Move smart_get to legacy and smart_attach to internals
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).

8 years agoEfl.Ui.Image: Remove invalid import in eo file
Jean-Philippe Andre [Fri, 17 Jun 2016 10:25:10 +0000 (19:25 +0900)]
Efl.Ui.Image: Remove invalid import in eo file

8 years agoevas_image_load_bmp: fix bug that image is not decoded, if image is not perfact.
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.

8 years agoCanvas text: Fix idiotic memory leak.
Tom Hacohen [Fri, 17 Jun 2016 08:02:23 +0000 (09:02 +0100)]
Canvas text: Fix idiotic memory leak.

Thanks to vtorri for reporting.

8 years agoefl_ui_win: move some APIs get the object's list in special location to efl_ui_win.
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.

8 years agoexamples: eina-cxx: ensure the install hook honors a set DESTDIR
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.

8 years agoelm_video: make emotion obj as a composite object.
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.

8 years agoEvas: Move Object_Pointer_Mode to Efl.Event
Jean-Philippe Andre [Fri, 17 Jun 2016 02:32:25 +0000 (11:32 +0900)]
Evas: Move Object_Pointer_Mode to Efl.Event

8 years agoEvas: Move BiDi type to Efl.Text
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.

8 years agoEvas: Move Evas.Load_Error to legacy, use Efl.Image.Load.Error
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".

8 years agoEvas: Remove Evas.Render_Op and switch to Efl.Gfx
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.

8 years agoEvas: Move Evas_Native_Surface to legacy
Jean-Philippe Andre [Thu, 16 Jun 2016 10:38:21 +0000 (19:38 +0900)]
Evas: Move Evas_Native_Surface to legacy

8 years agotests: Add test case for evas clipees get
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.

8 years agoEvas: Fix clipees_get and return an iterator
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.

8 years agoEvas: Mark legacy_ctor as constructor and beta
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.

8 years agoEvas: Move smart_move_children_relative to evas smart
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...

8 years agoEvas: Move smart_type_check[_ptr] to legacy
Jean-Philippe Andre [Thu, 16 Jun 2016 08:50:20 +0000 (17:50 +0900)]
Evas: Move smart_type_check[_ptr] to legacy

8 years agoEvas: Move smart_clipped_clipper to its class
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...

8 years agoEvas: Nove smart data get to smart class
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).

8 years agoEvas: Rename object focus to key_focus
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.

8 years agoEvas: Move object static_clip to legacy
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.

8 years agoEvas: Move object name to legacy
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.

8 years agoEvas: Mark type as legacy and protected
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

8 years agoefl_ui_win: add some evas feature(pointer, cache ) to efl.canvas and efl_ui_win
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.

8 years agoefl: Move promise parameter to return in data model
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

8 years agoelementary: Modify parameter from @out void to @inout void
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.

8 years agoeolian-cxx: Work with @inout parameter of void type
Felipe Magno de Almeida [Fri, 17 Jun 2016 00:48:07 +0000 (21:48 -0300)]
eolian-cxx: Work with @inout parameter of void type

8 years agoedje: creation of gradient node from data parsing of color property and refactoring...
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>
8 years agoelementary: remove non-exist target from Makefile
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>
8 years agoMerge in the new text API changes and new Efl.Ui.Text widget
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.

8 years agoUi text: store SEL_FORMAT_TEXT only for now.
Daniel Hirt [Thu, 16 Jun 2016 20:58:20 +0000 (20:58 +0000)]
Ui text: store SEL_FORMAT_TEXT only for now.

8 years agoCanvas test: remove style test for now
Daniel Hirt [Thu, 16 Jun 2016 20:54:55 +0000 (20:54 +0000)]
Canvas test: remove style test for now

8 years agoUi text: fixup build
Daniel Hirt [Thu, 16 Jun 2016 17:22:23 +0000 (17:22 +0000)]
Ui text: fixup build

8 years agoUi text: introduce this new text widget
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

8 years agoUi text interactive: introduce this new object (rebase squash)
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.

8 years agoCanvas Text: continue porting api and fixup bugs
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

8 years agoCanvas text cursor: introduce this new object
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

8 years agoCanvas text: introduce new text object
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

8 years agoelput: Trap for null physical seat name
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>
8 years agoDisable XCF module on Windows
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

8 years agoEdje text: fix behavior for text source and source attribute.
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.

8 years agoEvil: fix EAPI when dirent.h and mman.h are included (Windows only)
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

8 years agotests: eio: use eina file infrastructure for temporary file creation
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.

8 years agotests: eio: silence unused paramater warnings in new eio_map test
Stefan Schmidt [Wed, 15 Jun 2016 16:22:47 +0000 (18:22 +0200)]
tests: eio: silence unused paramater warnings in new eio_map test

8 years agoeio_map: Add test suite for eio map module
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

8 years agoEdje_edit: fix text_source_set and text_text_source_set.
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.

8 years agoexamples: elua: ensure the install hook honors a set DESTDIR
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"

8 years agoedje_edit: return NULL if part has not style attribute
Vyacheslav Reutskiy [Thu, 16 Jun 2016 07:56:31 +0000 (10:56 +0300)]
edje_edit: return NULL if part has not style attribute

8 years agosvg_loader: fixed parsing of transformation 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

8 years agoedje_cc_out : fix possible buffer overrun
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

8 years agosvg_loader: Fixed color attribute parser
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

8 years agoedje_load : return if we can't decode the vector data.
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

8 years agoexamples: Use EO_CALLBACKS_ARRAY_DEFINE in all examples
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.

8 years agotests: Use EO_CALLBACKS_ARRAY_DEFINE in all tests
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.

8 years agoEvas: Fix usage of callback arrays
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

8 years agoEvas: Stop using Evas.Image in public inheritance
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.

8 years agoEfl: Move Efl.Canvas to efl/interfaces
Jean-Philippe Andre [Thu, 16 Jun 2016 01:52:18 +0000 (10:52 +0900)]
Efl: Move Efl.Canvas to efl/interfaces

Not sure this is a good name for this interface, but it
definitely doesn't belong inside lib/evas/

Thanks Jiyoun for the question / report :)

8 years agoedje: remove extraneous parenthesis
Jean Guyomarc'h [Wed, 15 Jun 2016 20:55:45 +0000 (22:55 +0200)]
edje: remove extraneous parenthesis

8 years agoeolian-cxx: Fix generation of non-inline function in headers
Felipe Magno de Almeida [Wed, 15 Jun 2016 20:48:30 +0000 (17:48 -0300)]
eolian-cxx: Fix generation of non-inline function in headers

8 years agoeolian-cxx: Remove warning about unused parameter
Felipe Magno de Almeida [Wed, 15 Jun 2016 20:47:19 +0000 (17:47 -0300)]
eolian-cxx: Remove warning about unused parameter

8 years agoeolian-cxx: Fix conversion to bool in clang
Felipe Magno de Almeida [Wed, 15 Jun 2016 20:47:03 +0000 (17:47 -0300)]
eolian-cxx: Fix conversion to bool in clang

8 years agoeina: fix compiling of safepointers on OSX
Jean Guyomarc'h [Wed, 15 Jun 2016 20:33:39 +0000 (22:33 +0200)]
eina: fix compiling of safepointers on OSX

This is a reccurring compatibility issue...
MAP_ANONYMOUS is not defined on OSX, but MAP_ANON is.
I know MAP_ANON is marked as deprecated in the Linux man
pages, but it has the benefit of being more portable.

8 years agoelementary-cxx: Fix compilation of some C++ examples
Luciana Magno de Almeida [Thu, 26 May 2016 21:46:29 +0000 (18:46 -0300)]
elementary-cxx: Fix compilation of some C++ examples

8 years agoelementary-cxx: Fix Elementary.hh header to #define EFL_EO_API_SUPPORT
Felipe Magno de Almeida [Wed, 15 Jun 2016 18:48:20 +0000 (15:48 -0300)]
elementary-cxx: Fix Elementary.hh header to #define EFL_EO_API_SUPPORT

8 years agoeolian-cxx: Fixed generation of implicit conversion operators
Felipe Magno de Almeida [Wed, 15 Jun 2016 18:47:50 +0000 (15:47 -0300)]
eolian-cxx: Fixed generation of implicit conversion operators

8 years agoeina-cxx: Add overload for std::nullptr_t to stringview
Felipe Magno de Almeida [Wed, 15 Jun 2016 18:47:30 +0000 (15:47 -0300)]
eina-cxx: Add overload for std::nullptr_t to stringview

8 years agoevas: do not use static array with pointer to other variable.
Cedric Bail [Wed, 15 Jun 2016 18:41:09 +0000 (11:41 -0700)]
evas: do not use static array with pointer to other variable.

Aka fix Windows build. This is exactly the same trick as for events array.

8 years agoecore: prevent crash in case of double ecore_timer_del in legacy case.
Cedric Bail [Wed, 15 Jun 2016 17:45:40 +0000 (10:45 -0700)]
ecore: prevent crash in case of double ecore_timer_del in legacy case.

8 years agowayland_shm: Fix another dmabuf corner case
Derek Foreman [Wed, 15 Jun 2016 17:27:46 +0000 (12:27 -0500)]
wayland_shm: Fix another dmabuf corner case

When kernel support for locally mmapping buffers is unavailable and
software rendering is used, dmabuf may need to fallback to shm for the
very first frame rendered.

We need to copy that frame to a shm buffer during the fallback to make
sure it's actually displayed.

8 years agoevas: disable generic loader on Windows.
Cedric Bail [Wed, 15 Jun 2016 17:11:36 +0000 (10:11 -0700)]
evas: disable generic loader on Windows.

Generic do use a few primitve that require development, testing and
tunning on Windows (Namely the alarm and shm part).

8 years agoeolian: enable inheritance checks and fix EFL to build with them
Daniel Kolesa [Wed, 15 Jun 2016 15:35:45 +0000 (16:35 +0100)]
eolian: enable inheritance checks and fix EFL to build with them

Somehow, there was code in the tree that apparently isn't tested at all, even
once - if it was, the eo.c logic that performs inheritance checks would be
triggered. I don't know how this could have happened (actually I do, it's
Cedric's fault and he should be publicly shamed for it) but these checks
make sure this will never happen again. But since the code itself appears
to be untested, I don't know if there isn't any other brokenness in it.
But that's beyond the scope of this change, so for now, let's make sure
all our inheritance is at least formally correct.

Also, enable eo_interface.eo generated code in Eo itself so that Eo.Interface
can be used when inheriting.

@fix

8 years agoeolian-cxx: Add tests for @beta and @protected events
Felipe Magno de Almeida [Wed, 15 Jun 2016 15:19:10 +0000 (12:19 -0300)]
eolian-cxx: Add tests for @beta and @protected events

8 years agoeolian: move deferred eo file parsing to the very end
Daniel Kolesa [Wed, 15 Jun 2016 15:20:45 +0000 (16:20 +0100)]
eolian: move deferred eo file parsing to the very end

Because of this the cyclic check would occasionally have false positives.
By moving deferred eo parsing to the end of the whole parse process, it
can no longer affect the cyclic checker.

@fix

8 years agopoppler: remove enum name
Marcel Hollerbach [Wed, 15 Jun 2016 13:44:13 +0000 (15:44 +0200)]
poppler: remove enum name

otherwise errors like T3896 will happen.

This fixes T3896.

8 years agoedje_edit: save referenced groups when image id's are changed
Vitalii Vorobiov [Wed, 15 Jun 2016 09:53:15 +0000 (12:53 +0300)]
edje_edit: save referenced groups when image id's are changed

@fix

8 years agoeina_cxx: make sure we ship eina_deleter.hh with our distribution
Stefan Schmidt [Wed, 15 Jun 2016 10:13:36 +0000 (12:13 +0200)]
eina_cxx: make sure we ship eina_deleter.hh with our distribution

IN commit 8906998ef2821a237c4deba07dc8336afdc4c471 this new file was added but
never made sure that it actually gets shipped.

8 years agoexamples: evas-3d: these three examples still need EFL_EO_API_SUPPORT as well
Stefan Schmidt [Wed, 15 Jun 2016 09:29:28 +0000 (11:29 +0200)]
examples: evas-3d: these three examples still need EFL_EO_API_SUPPORT as well

EFL_CANVAS_RECTANGLE_CLASS is needed here which is still covered by the EO_API
define.

8 years agobuild: fix last bash occurance in use with gen_shader.sh
Stefan Schmidt [Wed, 15 Jun 2016 09:16:04 +0000 (11:16 +0200)]
build: fix last bash occurance in use with gen_shader.sh

We switched all the other ones from bash to sh already and raster ported the
script itself.

8 years agoconfigure - remove gnu make hack as it seems to not be needed anymore
Carsten Haitzler (Rasterman) [Wed, 15 Jun 2016 06:21:13 +0000 (15:21 +0900)]
configure - remove gnu make hack as it seems to not be needed anymore

as per T3767 it seems that it's not needed. i tested and nothing went
wrong. let's see. fixes T3767

@fix

8 years agogeneirc loader build patches for windows
Vincent Torri [Wed, 15 Jun 2016 05:53:01 +0000 (14:53 +0900)]
geneirc loader build patches for windows

from T3790 - xcf.diff

8 years agomore sh instead of dash
Carsten Haitzler (Rasterman) [Wed, 15 Jun 2016 05:35:45 +0000 (14:35 +0900)]
more sh instead of dash

8 years agobash to sh fixing - use sh not dash so it works normally
Carsten Haitzler (Rasterman) [Wed, 15 Jun 2016 05:34:47 +0000 (14:34 +0900)]
bash to sh fixing - use sh not dash so it works normally

i was forcing dash to be used to use a simple "sh only" compatible
shell because bash just is too lenient. bo now to sh not dash.

8 years agoshader gen - make this use plain sh not bash for portability
Carsten Haitzler (Rasterman) [Wed, 15 Jun 2016 05:04:28 +0000 (14:04 +0900)]
shader gen - make this use plain sh not bash for portability

this should fix T3793

8 years agoeina - alloca.h - include stdlib and stddef, usze size_t not long
Carsten Haitzler (Rasterman) [Wed, 15 Jun 2016 04:08:52 +0000 (13:08 +0900)]
eina - alloca.h - include stdlib and stddef, usze size_t not long

8 years agoeina: Fix race wrong prototype for unref
Felipe Magno de Almeida [Wed, 15 Jun 2016 02:08:13 +0000 (23:08 -0300)]
eina: Fix race wrong prototype for unref

8 years agoeolian-cxx: Add support for ref parameters and correct ownership handling
Felipe Magno de Almeida [Wed, 8 Jun 2016 20:31:46 +0000 (17:31 -0300)]
eolian-cxx: Add support for ref parameters and correct ownership handling

8 years agoelementary: fixed wrong error msg in fileselector
Larry Jr [Tue, 14 Jun 2016 22:37:48 +0000 (19:37 -0300)]
elementary: fixed wrong error msg in fileselector

8 years agoeio: Fixed Eio_Model monitor life cycle
Larry Jr [Tue, 14 Jun 2016 22:33:41 +0000 (19:33 -0300)]
eio: Fixed Eio_Model monitor life cycle

8 years agoelementary: Fix repeated undo of character deletion
Andy Williams [Tue, 14 Jun 2016 21:47:22 +0000 (22:47 +0100)]
elementary: Fix repeated undo of character deletion

Let's not trigger further undo stack changes when we undo changes.