platform/upstream/efl.git
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.

8 years agoexamples: remove now longer needed EFL_EO_API_SUPPORT define in canvas3d and vg
Stefan Schmidt [Tue, 14 Jun 2016 14:39:03 +0000 (16:39 +0200)]
examples: remove now longer needed EFL_EO_API_SUPPORT define in canvas3d and vg

These examples already had the BETA flag defined so we just need to remove the
EO_API one.

8 years agoevas: move canvas3d and vg parts into beta API and keep the rest under EO API
Stefan Schmidt [Tue, 14 Jun 2016 14:19:50 +0000 (16:19 +0200)]
evas: move canvas3d and vg parts into beta API and keep the rest under EO API

Vanvas3d and VG are still conisereed beta. For the rest we are going to sort
this out over the next days/weeks. Either EO API flag removed or put under BETA.

8 years agoecore_con: switch from EO to BETA API
Stefan Schmidt [Tue, 14 Jun 2016 13:59:13 +0000 (15:59 +0200)]
ecore_con: switch from EO to BETA API

This is not ready yet and still considered beta.

8 years agoeolian: add (for now disabled) inherit validity checks
Daniel Kolesa [Tue, 14 Jun 2016 13:09:13 +0000 (14:09 +0100)]
eolian: add (for now disabled) inherit validity checks

Somehow I cannot enable this right now because we have issues with existing
eo files that need to be resolved first.

8 years agoEvas: Support of fnmatch flag FNM_IGNORECASE
Vincent Torri [Tue, 14 Jun 2016 03:42:24 +0000 (05:42 +0200)]
Evas: Support of fnmatch flag FNM_IGNORECASE

Some systems (solaris in that case) define FNM_IGNORECASE instead of FNM_CASEFOLD. Add this case in evas_path.c

8 years agoEcore: detect ieeefp.h existence instead of including it with compiler's macro
Vincent Torri [Mon, 13 Jun 2016 19:44:10 +0000 (21:44 +0200)]
Ecore: detect ieeefp.h existence instead of including it with compiler's macro

On Solaris, this header is necessary for finite(). Instead of including it
if the sun compiler is used, include it if it exists. This fixes a warning
if gcc is used on Solaris

8 years agoEeze build ordering.
Benjamin Jacobs [Tue, 14 Jun 2016 09:15:49 +0000 (18:15 +0900)]
Eeze build ordering.

Summary: Fixes a libtool relinking issue due to the wrong build ordering.

Reviewers: cedric

Subscribers: jpeg

Differential Revision: https://phab.enlightenment.org/D4042

8 years agoelm - loop auto throttle - only do this once a window has been shown etc
Carsten Haitzler (Rasterman) [Tue, 14 Jun 2016 09:03:32 +0000 (18:03 +0900)]
elm - loop auto throttle - only do this once a window has been shown etc

only start throttling ocne we have a window and it has rendered or
been focused or mouse has gone in - then we are surely really visible
and sane and only start throttling if no windows are visible then. if
auto throttle is on this can improve startup time by the trottle amount

8 years agoevas_generic_loaders: port poppler to the cpp api
Marcel Hollerbach [Mon, 13 Jun 2016 11:15:49 +0000 (13:15 +0200)]
evas_generic_loaders: port poppler to the cpp api

Summary: This ports the loader to the stable cpp api.

Test Plan: Please test this patch and tell me if there are differences

Reviewers: DaveMDS

Subscribers: jayji

Differential Revision: https://phab.enlightenment.org/D4039

8 years agocxx: Add support for protected and beta events
Jean-Philippe Andre [Tue, 14 Jun 2016 07:20:51 +0000 (16:20 +0900)]
cxx: Add support for protected and beta events

The code is horrible, pardon my C++.

Note: I guess @protected should also change the scope from
public: to protected: but that's another problem. Here I'm only
trying to fix the build while still introducing @beta and
@protected flags.

8 years agoevas: Move canvas events to a common interface
Jean-Philippe Andre [Tue, 14 Jun 2016 05:59:57 +0000 (14:59 +0900)]
evas: Move canvas events to a common interface

This merges window and evas events into a single name.
Some events are marked as @beta as they shouldn't really be
part of our EO API.

8 years agoevas object: Move some events to efl_gfx and efl_image
Jean-Philippe Andre [Tue, 14 Jun 2016 05:24:43 +0000 (14:24 +0900)]
evas object: Move some events to efl_gfx and efl_image

This affects basic evas object events such as:
- show, hide, resize, move,
- changed size hints,
- restack,
- image preloaded, resize, unloaded

Also, switched names to shorter "present form" like "preload"
instead of "preloaded".

8 years agoevas object: Mark event free as @beta
Jean-Philippe Andre [Tue, 14 Jun 2016 05:15:43 +0000 (14:15 +0900)]
evas object: Mark event free as @beta

Use EO_EVENT_DEL instead.

8 years agoevas object: Mark legacy input events as @beta
Jean-Philippe Andre [Tue, 14 Jun 2016 05:04:34 +0000 (14:04 +0900)]
evas object: Mark legacy input events as @beta

This effectively marks them as unstable API. They should not
be used, and still only exist because of the current code
infrastructure.

8 years agowidget: Switch to pointer & key events
Jean-Philippe Andre [Tue, 14 Jun 2016 04:43:36 +0000 (13:43 +0900)]
widget: Switch to pointer & key events

Unfortunately, since all widgets rely on the legacy evas
event structs, I had to add a translation mechanism.

8 years agotests: Remove eo evas object events
Jean-Philippe Andre [Mon, 13 Jun 2016 12:21:31 +0000 (21:21 +0900)]
tests: Remove eo evas object events

This is the last usage, apart from evas_callbacks.c itself.

8 years agofileselector: Remove usage of eo evas object events
Jean-Philippe Andre [Mon, 13 Jun 2016 12:19:06 +0000 (21:19 +0900)]
fileselector: Remove usage of eo evas object events

8 years agospinner: Remove usage of eo evas object event
Jean-Philippe Andre [Mon, 13 Jun 2016 12:09:51 +0000 (21:09 +0900)]
spinner: Remove usage of eo evas object event

8 years agowl_shm: Fix compilation warning (cast)
Jean-Philippe Andre [Mon, 13 Jun 2016 12:07:04 +0000 (21:07 +0900)]
wl_shm: Fix compilation warning (cast)

8 years agoelm: Fix compilation warnings
Jean-Philippe Andre [Mon, 13 Jun 2016 12:06:31 +0000 (21:06 +0900)]
elm: Fix compilation warnings

8 years agoedje: Remove usage of evas object eo events
Jean-Philippe Andre [Mon, 13 Jun 2016 12:01:04 +0000 (21:01 +0900)]
edje: Remove usage of evas object eo events

Switch to pointer events.

8 years agoreadme - typo--
Carsten Haitzler (Rasterman) [Tue, 14 Jun 2016 06:39:05 +0000 (15:39 +0900)]
readme - typo--

8 years agoefl readme - add platfomr support info there and openbsd not supported
Carsten Haitzler (Rasterman) [Tue, 14 Jun 2016 01:46:44 +0000 (10:46 +0900)]
efl readme - add platfomr support info there and openbsd not supported

add some info on platform support in readme and note than openbsd is
not supported.

8 years agoelput: Fix issue of VT-Switching not working
Chris Michael [Mon, 13 Jun 2016 20:18:13 +0000 (16:18 -0400)]
elput: Fix issue of VT-Switching not working

This patch fixes an issue where you could not VT-switch away from a
running Enlightenment session by simplifying the vt switch code and
passing the proper arguments to the dbus message.

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoecore-evas-wayland: Minor formatting fixes
Chris Michael [Mon, 13 Jun 2016 17:00:13 +0000 (13:00 -0400)]
ecore-evas-wayland: Minor formatting fixes

NB: no functional changes

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoecore-evas-drm: Re-enable direct input callback
Chris Michael [Mon, 13 Jun 2016 16:49:40 +0000 (12:49 -0400)]
ecore-evas-drm: Re-enable direct input callback

As it seems the jpeg breakage is over wrt direct input callbacks, we
can re-enable these for the drm engines

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoedje: make svg support a beta feature of edje_cc.
Cedric BAIL [Mon, 13 Jun 2016 17:54:18 +0000 (10:54 -0700)]
edje: make svg support a beta feature of edje_cc.

Should we do the same with Canvas3D part ?

8 years agoeolian: fix impl func fill
Daniel Kolesa [Mon, 13 Jun 2016 15:24:20 +0000 (16:24 +0100)]
eolian: fix impl func fill

If there is a dot in the remaining part of the implement, it means it
actually implements another class - do not fail in those cases.

8 years agoevas: loaders fix typo which blocked the installation of the LO loader script
Stefan Schmidt [Mon, 13 Jun 2016 15:20:58 +0000 (17:20 +0200)]
evas: loaders fix typo which blocked the installation of the LO loader script

Its SCRIPTS not SCRIPT to make automake aware of it.

Fixes T3848

8 years agoevas: loaders: fix install exec hook by adding the needed semicolon
Stefan Schmidt [Mon, 13 Jun 2016 15:07:28 +0000 (17:07 +0200)]
evas: loaders: fix install exec hook by adding the needed semicolon

Thanks to Scimmia22 for pointing this out.

8 years agoevas: loaders: make sure we create the directory first before we create symlinks
Stefan Schmidt [Mon, 13 Jun 2016 14:09:53 +0000 (16:09 +0200)]
evas: loaders: make sure we create the directory first before we create symlinks

We assume that the directory already exists here when creating the symlinks.
Better make sure this is really the case.

Thanks to Vtorri for pointing towards the fix.

Fixes T3880 and T3875

8 years agoeolian: fix error cursor positioning
Daniel Kolesa [Mon, 13 Jun 2016 13:53:35 +0000 (14:53 +0100)]
eolian: fix error cursor positioning

Previously, multi-char tokens (such as strings, docs etc) always put the error
cursor to the end of the token. That was confusing, so now the cursor always
appears at the beginning of the token instead (for multiline tokens, currently
only docs, the line number is also adjusted to point to the first line of the
doc token).

@fix

8 years agoedje_calc: fix interpolate calculation of map colors
Vitalii Vorobiov [Mon, 13 Jun 2016 12:31:48 +0000 (15:31 +0300)]
edje_calc: fix interpolate calculation of map colors

There were a problem when while swithcing between states
(because of program running in transition),
there is SIGSEV appearing when first state has
only one point color, and next state more than one.

Basically it looks like this:
....
part {
   name: "rectangle";
   type: RECT;
   description { state: "default" 0.0;
      map {
         on: 1;
         color: 3 255 90 0 255;
      }
   }
   description { state: "moved" 0.0;
      map {
         on: 1;
         color: 0 0 0 255 255;
         color: 1 255 0 0 255;
         color: 2 255 90 0 255;
         color: 3 41 68 59 255;
      }
   }
}
<and program that change 'rectangle' state with transition>
....

@fix

8 years agoEcore_Input: define data type for joysticks
Shinwoo Kim [Mon, 13 Jun 2016 10:41:38 +0000 (19:41 +0900)]
Ecore_Input: define data type for joysticks

Summary: This adds support for joysticks for ecore_input

Reviewers: cedric, devilhorns, Sergeant_Whitespace, raster, thiepha, zmike, jpeg

Reviewed By: thiepha, zmike, jpeg

Subscribers: thiepha, stefan_schmidt, zmike, singh.amitesh, Sergeant_Whitespace, jgerecke, cedric, seoz

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D1538

8 years agowin: Optimize event forward using callback add/del events
Jean-Philippe Andre [Mon, 13 Jun 2016 08:28:36 +0000 (17:28 +0900)]
win: Optimize event forward using callback add/del events

This is a common pattern, listen to EO_EVENT_CALLBACK_ADD/DEL in
order to treat those events only when needed.

8 years agowin: Add event device,changed
Jean-Philippe Andre [Mon, 13 Jun 2016 07:31:03 +0000 (16:31 +0900)]
win: Add event device,changed

8 years agowin: Add focus events (in, out, object in/out)
Jean-Philippe Andre [Mon, 13 Jun 2016 07:28:17 +0000 (16:28 +0900)]
win: Add focus events (in, out, object in/out)

8 years agowin: Add event render,pre
Jean-Philippe Andre [Mon, 13 Jun 2016 06:48:29 +0000 (15:48 +0900)]
win: Add event render,pre