platform/upstream/efl.git
6 years agowidget: Remove more functions from EO
Jean-Philippe Andre [Wed, 23 Aug 2017 10:51:49 +0000 (19:51 +0900)]
widget: Remove more functions from EO

Internaaaaaaaalsssss....

Ref T5363

6 years agowidget: Remove some more functions from EO
Jean-Philippe Andre [Wed, 23 Aug 2017 10:39:19 +0000 (19:39 +0900)]
widget: Remove some more functions from EO

Internals...

Ref T5363

6 years agowidget: Remove highlight_in_theme from EO
Jean-Philippe Andre [Wed, 23 Aug 2017 10:25:44 +0000 (19:25 +0900)]
widget: Remove highlight_in_theme from EO

Removes EO APIs:
 - highlight_in_theme
 - access_highlight_in_theme

Ref T5363

6 years agowidget: Remove 2 focus APIs from EO
Jean-Philippe Andre [Wed, 23 Aug 2017 09:02:42 +0000 (18:02 +0900)]
widget: Remove 2 focus APIs from EO

They are internal and use an undefined type.
Also, completely deprecated with the new focus manager.

Ref T5363

6 years agowidget: Remove hover_object from EO
Jean-Philippe Andre [Wed, 23 Aug 2017 08:54:49 +0000 (17:54 +0900)]
widget: Remove hover_object from EO

Internal

Ref T5363

6 years agowidget: Remove tree_unfocusable from EO
Jean-Philippe Andre [Wed, 23 Aug 2017 08:27:04 +0000 (17:27 +0900)]
widget: Remove tree_unfocusable from EO

It was deprecated (in elm_object API) a very long time ago.

Ref T5363

6 years agowidget: Remove focus_tree_unfocusable_handle (EO)
Jean-Philippe Andre [Wed, 23 Aug 2017 08:01:03 +0000 (17:01 +0900)]
widget: Remove focus_tree_unfocusable_handle (EO)

Ref T5363

6 years agowidget: Rename top to widget_top (EO)
Jean-Philippe Andre [Wed, 23 Aug 2017 07:24:05 +0000 (16:24 +0900)]
widget: Rename top to widget_top (EO)

Ref T5363

6 years agowidget: Remove tooltip_add/del from EO
Jean-Philippe Andre [Wed, 23 Aug 2017 07:04:49 +0000 (16:04 +0900)]
widget: Remove tooltip_add/del from EO

It's pretty much an internal function.
NOTE: Tooltip API is not bound to EO (yet).

Ref T5363

6 years agoelm init - fix init seq and quicklaunch as we shut down x before evas
Carsten Haitzler (Rasterman) [Wed, 23 Aug 2017 08:23:57 +0000 (17:23 +0900)]
elm init - fix init seq and quicklaunch as we shut down x before evas

... and others. this leads to crashes if x ops are busy in a thread or
engine evas thread shutdown happens to call engine calls that then do
x calls... should apply in general to wl too. fixes some segv's on
shutdown given the new gl thread patches.

@fix

6 years agoelm_test: Remove calls to fill+expand (EO)
Jean-Philippe Andre [Wed, 23 Aug 2017 06:54:03 +0000 (15:54 +0900)]
elm_test: Remove calls to fill+expand (EO)

Wherever the EO API is used, i.e. efl_add() is used to create evas
objects, we can skip the calls to set fill/expand.

This new set of defaults indeed saves ~60 loc in the tests (out of 115
objects created). I found only 3 cases where the align had to be set
manually (to the old default of 0.5).

See 1a1b8bc45155dcb96129013c4177d742a06434e6
And e8b7f5f255ce37fbc47dbe38bd379bf1e824e0d2

Ref T5301

6 years agoevas: Set default align to FILL for EO objects
Jean-Philippe Andre [Wed, 23 Aug 2017 06:23:50 +0000 (15:23 +0900)]
evas: Set default align to FILL for EO objects

See also 1a1b8bc45155dcb96129013c4177d742a06434e6

6 years agogfx: Remove size hint request (EO)
Jean-Philippe Andre [Wed, 23 Aug 2017 06:16:22 +0000 (15:16 +0900)]
gfx: Remove size hint request (EO)

This hint is simply not supported by any container.
Add the EO API back if the containers support it.

Ref T5487

6 years agojs: Fix javascript generator's compilation
Jean-Philippe Andre [Wed, 23 Aug 2017 04:51:40 +0000 (13:51 +0900)]
js: Fix javascript generator's compilation

javascript bindings are broken, because of function pointers but it
seems something else as well (Eina_Slice?).

6 years agoecore: Fix shadow warning (with nodejs enabled)
Jean-Philippe Andre [Wed, 23 Aug 2017 04:45:24 +0000 (13:45 +0900)]
ecore: Fix shadow warning (with nodejs enabled)

6 years agojs: Fix some js examples usage of orient API
Jean-Philippe Andre [Wed, 23 Aug 2017 04:39:10 +0000 (13:39 +0900)]
js: Fix some js examples usage of orient API

This was not tested. How to test js?

6 years agoefl: Remove Efl.Orientation horiz & vert (EO)
Jean-Philippe Andre [Wed, 23 Aug 2017 04:30:45 +0000 (13:30 +0900)]
efl: Remove Efl.Orientation horiz & vert (EO)

They are now replaced by Efl.Ui.Dir

NOTE: The name Efl.Ui.Dir is not satisfactory. Maybe we should use
Direction_Type or Direction_Value?

Ref T5870

6 years agotest: Fix EO API usage (direction)
Jean-Philippe Andre [Wed, 23 Aug 2017 04:30:33 +0000 (13:30 +0900)]
test: Fix EO API usage (direction)

6 years agotest_check: fix build warning
JinYong Park [Wed, 23 Aug 2017 04:52:24 +0000 (13:52 +0900)]
test_check: fix build warning

Summary:  In state_changed_cb2 callback function, obj is used. so it should not be EINA_UNUSED

Reviewers: Jaehyun_Cho, cedric, jpeg

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

6 years agolayout: call size calculating after text_set(NULL)
JinYong Park [Wed, 23 Aug 2017 04:29:14 +0000 (13:29 +0900)]
layout: call size calculating after text_set(NULL)

Summary:
When text set NULL, size is not changed even text is removed.
So, fix that case logic

1. send text,hidden signal
2. remove text
3. call sizing eval to resize layout

Test Plan:
1. run elementary_test -to check
2. change value last check object
3. compare before and after

Reviewers: Jaehyun_Cho, cedric, jpeg

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

6 years agowidget: Use EO function pointer for on_show_region
Jean-Philippe Andre [Tue, 22 Aug 2017 06:16:54 +0000 (15:16 +0900)]
widget: Use EO function pointer for on_show_region

This is as much a test of the EO function pointer as it is a clean up of
this widget API.

6 years agowidget: Remove unused legacy function name
Jean-Philippe Andre [Thu, 17 Aug 2017 16:06:16 +0000 (01:06 +0900)]
widget: Remove unused legacy function name

Ref T5363

6 years agowin: Remove types socket and fake from EO
Jean-Philippe Andre [Thu, 17 Aug 2017 15:29:02 +0000 (00:29 +0900)]
win: Remove types socket and fake from EO

Fake: This should never have had the fake_canvas_set API. It already can
not work after efl_finalize. And Ecore_Evas isn't part of EO API so it
doesn't make sense at this point to try to expose the fake window as
part of EO API.

Socket: This is the only type of window that implements socket_listen.
So we can just move this function to a new subclass.

NOTE: Socket & plug are currently broken, even in 1.20 (at least for me)!

Ref T5322

6 years agowin: Add Efl.Ui.Win_Inlined and remove parent2
Jean-Philippe Andre [Thu, 17 Aug 2017 14:48:06 +0000 (23:48 +0900)]
win: Add Efl.Ui.Win_Inlined and remove parent2

Inlined windows are the only use case for parent2. We might as well want
to create a separate subclass for those special windows.

Ref T5322
Ref T5363

6 years agowidget: Remove parents_bounce from EO
Jean-Philippe Andre [Thu, 17 Aug 2017 14:26:34 +0000 (23:26 +0900)]
widget: Remove parents_bounce from EO

It's specific to scroller and can be implemented there. Moved.

Ref T5363

6 years agowidget: Remove inexisting property parent_widget
Jean-Philippe Andre [Thu, 17 Aug 2017 14:21:01 +0000 (23:21 +0900)]
widget: Remove inexisting property parent_widget

We also have widget_parent.

Ref T5363

6 years agowidget: Clean up doc for focus & focus_allow
Jean-Philippe Andre [Thu, 17 Aug 2017 13:45:08 +0000 (22:45 +0900)]
widget: Clean up doc for focus & focus_allow

I'm not sure about the name for focus_allow:
 - can_focus
 - focusable
 - focus_allow
 - ???

Also, it looks like focus should just be the evas object function
overridden.

Ref T5363

6 years agowidget: Clean up orientation_mode_disabled
Jean-Philippe Andre [Thu, 17 Aug 2017 13:17:53 +0000 (22:17 +0900)]
widget: Clean up orientation_mode_disabled

Only doc.

Ref T5363

6 years agoconfig: Update default key bindings (class names)
Jean-Philippe Andre [Thu, 17 Aug 2017 08:39:55 +0000 (17:39 +0900)]
config: Update default key bindings (class names)

See also the previous commit.

6 years agoconfig: Automatically fix some key bindings
Jean-Philippe Andre [Thu, 17 Aug 2017 08:31:14 +0000 (17:31 +0900)]
config: Automatically fix some key bindings

This changes the name used in the config file, without changing the
system config files yet. This restores key bindings for:
 - Win
 - Image
 - Video
 - Photocam

See also the previous commit.

6 years agoelm: Rename some EO widget class names
Jean-Philippe Andre [Thu, 17 Aug 2017 10:36:17 +0000 (19:36 +0900)]
elm: Rename some EO widget class names

It was discussed a while ago that Zoomable was a poor name in some
languages, like python.

This changes, in Efl.Ui, to use underscores:
 - Image.Zoomable
 - Grid.Static
 - Box.Flow
 - Box.Stack

6 years agowidget: Remove all legacy event stuff in propagate
Jean-Philippe Andre [Thu, 17 Aug 2017 09:14:52 +0000 (18:14 +0900)]
widget: Remove all legacy event stuff in propagate

The EO API is now clean! Yay!

Ref T5363

6 years agoelm: Process all input events with EO
Jean-Philippe Andre [Thu, 17 Aug 2017 09:05:23 +0000 (18:05 +0900)]
elm: Process all input events with EO

This removes all uses of type & event_info in the method widget_event.

Ref T5363

6 years agophotocam: Fix key zoom in/out
Jean-Philippe Andre [Thu, 17 Aug 2017 08:50:57 +0000 (17:50 +0900)]
photocam: Fix key zoom in/out

Zoom +/- doesn't work well as this is a multiplication factor.

Test scenario:
 - elementary_test -to Photocam

Then click on the image, and press + or - on the keyboard.

@fix

6 years agoelm: Use a macro to handle key bindings
Jean-Philippe Andre [Thu, 17 Aug 2017 06:08:00 +0000 (15:08 +0900)]
elm: Use a macro to handle key bindings

This factorizes the code and makes most widgets handle key down events
in the same way:
 - check that the object is not disabled, event is not on hold
 - figure out the key binding based on the class name
 - mark event as on hold

The class name is usually MY_CLASS_NAME but in some cases it was
MY_CLASS_NAME_LEGACY which may be different from the EO class name (eg.
elm_win vs. Efl.Ui.Win). In that case the key bindings are broken.

This breaks key bindings for the following widgets:
 - Win (focus)
 - Image ("clicked")
 - Video (move, play)

This fixes key bindings for the following widgets:
 - Nstate

Some widgets remain broken:
 - Photocam / Efl.Ui.Image.Zoomable

A patch will be applied to restore the key bindings for the above
breaks.

6 years agowidget: Add eo event info inside widget_event
Jean-Philippe Andre [Thu, 10 Aug 2017 06:41:25 +0000 (15:41 +0900)]
widget: Add eo event info inside widget_event

This is an internal function that should probably become an overridable
protected method, as it's required for proper event handling in widgets.
Next step: use eo_event_info in the widgets implementations. Then remove
legacy event struct.

Ref T5363

6 years agoeo: Define Efl.Event in EO
Jean-Philippe Andre [Thu, 17 Aug 2017 05:52:41 +0000 (14:52 +0900)]
eo: Define Efl.Event in EO

This can be used in the widgets propagation mechanism later. I don't see
any really good reason to not define this struct in EO anyway.

Ref T5363

6 years agowidget: Remove import edje_types from EO
Jean-Philippe Andre [Thu, 10 Aug 2017 06:16:18 +0000 (15:16 +0900)]
widget: Remove import edje_types from EO

Ref T5363

6 years agoevas: Set weight to "expand" by default
Jean-Philippe Andre [Thu, 27 Jul 2017 11:46:17 +0000 (20:46 +0900)]
evas: Set weight to "expand" by default

This is a semi experimental patch to set the default weight
of objects to (1, 1), i.e. EXPAND. This seems like a more
sensible default value than no weight. Some objects may not
need the expand weight, but this seems to be the minority,
not the majority.

Ref T5301

6 years agoNetstatus: Use arrows for up and down net traffic indicators.
Stephen 'Okra' Houston [Wed, 23 Aug 2017 01:44:14 +0000 (20:44 -0500)]
Netstatus: Use arrows for up and down net traffic indicators.

6 years agoeolian-cxx: Add workaround for function pointer types
Felipe Magno de Almeida [Wed, 23 Aug 2017 01:31:55 +0000 (22:31 -0300)]
eolian-cxx: Add workaround for function pointer types

6 years agoMove efl interfaces from evas to efl directory
Daniel Zaoui [Wed, 2 Aug 2017 18:32:30 +0000 (21:32 +0300)]
Move efl interfaces from evas to efl directory

You may need to remove your installed directory to avoid conflicts

6 years agoelm_spinner: Support min,max filter for float format case.
Woochan Lee [Tue, 22 Aug 2017 05:31:04 +0000 (14:31 +0900)]
elm_spinner: Support min,max filter for float format case.

Summary: The previous min, max filter doesn't support float format case.

Test Plan: elementary_test -> spinner.

Reviewers: jpeg, cedric, woohyun, myoungwoon

Subscribers: cedric, jpeg

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

6 years agoefl_ui_clock: Parses the format recursively.
Woochan Lee [Tue, 22 Aug 2017 05:17:41 +0000 (14:17 +0900)]
efl_ui_clock: Parses the format recursively.

Summary:
Some of locale formats convert as extension format.
For example,
             uk_UA d_t_fmt is "%a, %d-%b-%Y %X %z".
             The %X will convert as %T.
             The %T format has to convert one more time to convert as %H:%M:%S.

ref : https://lh.2xlibre.net/locale/uk_UA/

We need to parse the format recursively to support that kind of case.

@fix

Test Plan:
Change the locale as uk_UA.
Run elementary_test -> datetime
See the time field is not appear.

Reviewers: jpeg, cedric

Subscribers: cedric, jpeg

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

6 years agoedje: Fix warning message
Jean-Philippe Andre [Tue, 22 Aug 2017 02:41:29 +0000 (11:41 +0900)]
edje: Fix warning message

efl_version is a top-level value

@fix

6 years agoevas: Add safety checks to avoid crash
Jean-Philippe Andre [Tue, 22 Aug 2017 00:37:39 +0000 (09:37 +0900)]
evas: Add safety checks to avoid crash

Without more information or clear reproduction scenario (this crash
doesn't happen for me), this is probably the best we can do.

Fixes T5532

6 years agoevas: Fix experimental code related to visibility
Jean-Philippe Andre [Mon, 21 Aug 2017 10:18:53 +0000 (19:18 +0900)]
evas: Fix experimental code related to visibility

This is to pretend the object is visible when it's been added with
efl_add but evas hasn't started rendering yet (it's in the queue).

This code is not enabled (yet?) although I think it could very well be
(I don't observe the same bugs as I did the first time I tried this
patch).

6 years agotheme: fix dialog sizing when no buttons are present
Mike Blumenkrantz [Mon, 21 Aug 2017 14:16:58 +0000 (10:16 -0400)]
theme: fix dialog sizing when no buttons are present

ensure that the content is used for min sizing and not the icon

@fix

6 years agoelm_box: Fix support of aspect hints
Jean-Philippe Andre [Mon, 21 Aug 2017 09:25:39 +0000 (18:25 +0900)]
elm_box: Fix support of aspect hints

Test scenario: ephoto without a recent patch (47fe2b9ab03c151b0f4).
Before any further explanation, ephoto was definitely misusing the
aspect API here. A label most definitely shouldn't be sized based on an
aspect ratio, that's just crazy (you really want to make it as tall as
it's wide?)

If a box has an aspected item, it needs to run its min calc loop twice:
 1. Once to determine the "true" min size in the direction of the box
    (ie.  in X in case of a horizontal box), and
 2. Once more in order to apply the aspect ratio to aspected items and
    augment the perpendicular min size (ie. Y for horizontal).

After that, it can go and layout the items based on the available size.

As we may guess from the above description (1) determines min W and
(2) determines min H (in horizontal mode).

BUT, there were two problems:
 - The wrong item min size was used inside the 2nd loop (the code was
   not symmetrical between horizontal and vertical modes). These are the
   changes in _smart_extents_non_homogeneous_calc.
 - The box min length was based on the actual size of aspected items,
   rather than their min size. This goes against the observation. These
   are the changes in _smart_extents_calculate.

Ref T5888

@fix

6 years agopopup: Avoid error messages on NULL
Jean-Philippe Andre [Mon, 21 Aug 2017 05:06:15 +0000 (14:06 +0900)]
popup: Avoid error messages on NULL

Those were spotted in ephoto (with no config, first run).

6 years agoevas - fix build dependencies that cause failed builds
Carsten Haitzler (Rasterman) [Mon, 21 Aug 2017 07:04:01 +0000 (16:04 +0900)]
evas - fix build dependencies that cause failed builds

missing dev on ecore_wl2 so fix...

6 years agoevas gl: Improve GL_ERRORS (internal debug code)
Jean-Philippe Andre [Mon, 21 Aug 2017 04:30:54 +0000 (13:30 +0900)]
evas gl: Improve GL_ERRORS (internal debug code)

6 years agoglview: Fix ALWAYS render policy
Jean-Philippe Andre [Mon, 21 Aug 2017 02:34:48 +0000 (11:34 +0900)]
glview: Fix ALWAYS render policy

@fix

6 years agoeina: Add EINA_UNUSED in eina_pass_through_from
Jean-Philippe Andre [Mon, 21 Aug 2017 01:45:28 +0000 (10:45 +0900)]
eina: Add EINA_UNUSED in eina_pass_through_from

Fixes a warning

6 years agoelm segment control: delete event cbs on obj delete.
Amitesh Singh [Sat, 19 Aug 2017 07:32:08 +0000 (16:32 +0900)]
elm segment control: delete event cbs on obj delete.

@fix

6 years agowayland: Tick like a boss
Derek Foreman [Fri, 18 Aug 2017 19:13:11 +0000 (14:13 -0500)]
wayland: Tick like a boss

Instead of the clever but awful manual_render_set hack, actually do ticks
based on frame callbacks.

Fix T5850

6 years agoecore_wl2: Send configure complete when windows don't need configure
Derek Foreman [Thu, 17 Aug 2017 20:43:50 +0000 (15:43 -0500)]
ecore_wl2: Send configure complete when windows don't need configure

The intent of the "configure complete" event is to indicate that the
window is configured and ready to receive buffers.

For "windows" like mouse cursors, that's immediate - let them know.

6 years agoecore_wl2: Refactor out code to send window configure complete event
Derek Foreman [Thu, 17 Aug 2017 20:42:41 +0000 (15:42 -0500)]
ecore_wl2: Refactor out code to send window configure complete event

6 years agowayland_egl: Call ecore_wl2_window_buffer_attach
Derek Foreman [Thu, 17 Aug 2017 20:20:44 +0000 (15:20 -0500)]
wayland_egl: Call ecore_wl2_window_buffer_attach

This lets ecore_wl2 know that there's a buffer attached - even if we don't
know what it is because it's hidden by gl.

6 years agowayland_shm: Use ecore_wl2_window_buffer_attach
Derek Foreman [Thu, 17 Aug 2017 20:12:57 +0000 (15:12 -0500)]
wayland_shm: Use ecore_wl2_window_buffer_attach

No longer calling wl_surface_attach directly.

6 years agowayland_shm: Don't attach null buffers from surface_post
Derek Foreman [Thu, 17 Aug 2017 20:12:19 +0000 (15:12 -0500)]
wayland_shm: Don't attach null buffers from surface_post

This is protected against elsewhere.

6 years agoecore_wl2: Add ecore_wl2_window_buffer_attach API
Derek Foreman [Thu, 17 Aug 2017 20:10:59 +0000 (15:10 -0500)]
ecore_wl2: Add ecore_wl2_window_buffer_attach API

Let ecore_wl2 track some buffer related state so we can more easily sync
things between ecore_evas and the evas_engines.

6 years agowayland_egl: Add ecore_wl2_window_commit
Derek Foreman [Mon, 14 Aug 2017 23:50:15 +0000 (18:50 -0500)]
wayland_egl: Add ecore_wl2_window_commit

Use ecore_wl2_window_commmit() in addition to eglSwapBuffers in order
to set up a frame callback and handle pending update tracking.

6 years agowayland: Switch to ecore_wl2_window_commit()
Derek Foreman [Mon, 14 Aug 2017 23:48:58 +0000 (18:48 -0500)]
wayland: Switch to ecore_wl2_window_commit()

Use ecore_wl2_window_commit() instead of directly calling wl_surface_commit

6 years agowayland_shm: Remove direct access to wl_surface
Derek Foreman [Mon, 14 Aug 2017 23:21:22 +0000 (18:21 -0500)]
wayland_shm: Remove direct access to wl_surface

Querying it through Ecore_Wl2_Window now

6 years agoecore_wl2: Add new APIs ecore_wl2_window_frame_callback_add/del()
Derek Foreman [Mon, 14 Aug 2017 22:46:49 +0000 (17:46 -0500)]
ecore_wl2: Add new APIs ecore_wl2_window_frame_callback_add/del()

Abstract frame callbacks through ecore_wl2_window so we can add them in
multiple places without having the wayland compositor generate more than
one.

Also allows us to keep a callback registered over hide/unhide of a window
easily.

6 years agoecore_wl2: Add API ecore_wl2_window_pending_get()
Derek Foreman [Mon, 14 Aug 2017 22:45:41 +0000 (17:45 -0500)]
ecore_wl2: Add API ecore_wl2_window_pending_get()

Lets us test if a commit has been requested but the compositor hasn't
yet told use to draw new content for it.

6 years agoecore_wl2: Add API ecore_wl2_window_commit()
Derek Foreman [Mon, 14 Aug 2017 22:44:13 +0000 (17:44 -0500)]
ecore_wl2: Add API ecore_wl2_window_commit()

Abstract wl_surface commits in ecore_wl2_window.

6 years agowayland: Put Ecore_Wl2_Win instead of wl_surface into the engines
Derek Foreman [Mon, 14 Aug 2017 22:07:31 +0000 (17:07 -0500)]
wayland: Put Ecore_Wl2_Win instead of wl_surface into the engines

We'll need to track some state in a common way, so attaching it to the
window seems like a good idea.

6 years agowayland: Make the wayland evas engines dependent on ecore_wl2
Derek Foreman [Mon, 14 Aug 2017 21:27:24 +0000 (16:27 -0500)]
wayland: Make the wayland evas engines dependent on ecore_wl2

Seems like the best place to put some common code.

6 years agowayland: fix num/caps lock handling in events
Mike Blumenkrantz [Fri, 18 Aug 2017 19:24:51 +0000 (15:24 -0400)]
wayland: fix num/caps lock handling in events

locks are not the same as modifiers, and the corresponding event flag must
be set based on whichever value(s) are set instead of yolo mixing and matching

@fix

ref T5737

6 years agotheme: handle e dialog sizing when no buttons are present
Mike Blumenkrantz [Fri, 18 Aug 2017 19:24:51 +0000 (15:24 -0400)]
theme: handle e dialog sizing when no buttons are present

@fix

6 years agoevas: make top object returning functions return the top object
Mike Blumenkrantz [Fri, 18 Aug 2017 19:24:51 +0000 (15:24 -0400)]
evas: make top object returning functions return the top object

this previously just returned the top clipper at the specified points

@fix

6 years agoecore_sdl: Add API doc for ecore_sdl_feed_events
Bryce Harrington [Fri, 18 Aug 2017 13:48:59 +0000 (09:48 -0400)]
ecore_sdl: Add API doc for ecore_sdl_feed_events

Reviewers: cedric, devilhorns

Subscribers: jpeg

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

6 years agoexamples: Improve error message text from Evas examples
Bryce Harrington [Fri, 18 Aug 2017 13:47:45 +0000 (09:47 -0400)]
examples: Improve error message text from Evas examples

Reviewers: cedric, devilhorns

Subscribers: jpeg

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

6 years agoexamples/evas: Fix sp. of 'Coult' in warning
Bryce Harrington [Fri, 18 Aug 2017 13:46:48 +0000 (09:46 -0400)]
examples/evas: Fix sp. of 'Coult' in warning

Reviewers: cedric

Subscribers: jpeg

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

6 years agoelm_color_class: Save all cc overlays
Jean-Philippe Andre [Fri, 18 Aug 2017 07:36:50 +0000 (16:36 +0900)]
elm_color_class: Save all cc overlays

It seems that cc overlays that didn't change got lost in the process of
saving elm_config and then reloading it (automatically happens because
the file changed... which we just wrote to).

Fixes T3682

6 years agocolorselector: Fix invalid API (orient vs. dir)
Jean-Philippe Andre [Fri, 18 Aug 2017 07:48:56 +0000 (16:48 +0900)]
colorselector: Fix invalid API (orient vs. dir)

6 years agovieet: Add read-only mode
Jean-Philippe Andre [Fri, 18 Aug 2017 07:10:36 +0000 (16:10 +0900)]
vieet: Add read-only mode

Really ugly scripting right there.

6 years agoelm_config: Add env var to skip profile save
Jean-Philippe Andre [Fri, 18 Aug 2017 06:50:24 +0000 (15:50 +0900)]
elm_config: Add env var to skip profile save

This only skips writing the profile name to
  ~/.elementary/config/profile.cfg

This allows easier testing of elementaryt apps (and E) with custom
profiles.

export ELM_PROFILE_NOSAVE=1

6 years agoelm_test: Fail nicely if plug can't connect
Jean-Philippe Andre [Fri, 18 Aug 2017 06:00:27 +0000 (15:00 +0900)]
elm_test: Fail nicely if plug can't connect

This makes sure that
  elementary_test -to "Window Plug"
exits nicely (with the exit policy on all window close) instead of
hanging forever with an invisible window.

@fix

6 years agoecore_evas_extn: Fix socket & plug windows
Jean-Philippe Andre [Fri, 18 Aug 2017 05:53:20 +0000 (14:53 +0900)]
ecore_evas_extn: Fix socket & plug windows

Socket & Plug were broken after 38e6780262906ffd8f6ad8de7c8a4286.
Multiple problems here:
 - The invalid path was used for the lock file.
 - The invalid buffer ID was used for unlock in render_post. That's
   because the buffer was switched during output_flush which happens
   before render_post. So the buffer would remain locked forever on the
   server side (unless maybe some animation was happening there).

@fix

6 years agoevas: do not double include interface.
Cedric BAIL [Thu, 17 Aug 2017 22:02:11 +0000 (15:02 -0700)]
evas: do not double include interface.

This lead to unproperly defined symbol (as they should be build in libefl) on
windows with actually no need for it.

6 years agoevas: Fix spelling/grammar errors
Bryce Harrington [Thu, 17 Aug 2017 14:45:35 +0000 (10:45 -0400)]
evas: Fix spelling/grammar errors

Summary:
Fixes some basic punctuation and grammar errors, corrects spelling and
word order/choice in various places.

Reviewers: devilhorns

Reviewed By: devilhorns

Subscribers: cedric, jpeg

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

6 years agoevas: Drop excessive use of 'just' and 'which'
Bryce Harrington [Thu, 17 Aug 2017 14:44:05 +0000 (10:44 -0400)]
evas: Drop excessive use of 'just' and 'which'

Reviewers: cedric, devilhorns

Reviewed By: devilhorns

Subscribers: jpeg

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

6 years agoevas_rectangle_main: Whitespace cleanup
Bryce Harrington [Thu, 17 Aug 2017 14:43:08 +0000 (10:43 -0400)]
evas_rectangle_main: Whitespace cleanup

Summary: Signed-off-by: Bryce Harrington <bryce@osg.samsung.com>

Reviewers: cedric

Subscribers: jpeg

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

6 years agoelput: Fix @brief's in docs
Bryce Harrington [Thu, 17 Aug 2017 14:41:26 +0000 (10:41 -0400)]
elput: Fix @brief's in docs

Summary:
It is not necessary to specify @brief since the first line will
automatically be used, but if it is used it should be only for the brief
description, not the detailed description.

Also reformat other docs in this file to follow convention for the brief
docs.

Reviewers: cedric

Subscribers: jpeg

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

6 years agoElm Examples: Fix undefined function references.
Guilherme Iscaro [Wed, 16 Aug 2017 14:12:47 +0000 (11:12 -0300)]
Elm Examples: Fix undefined function references.

They were renamed by 599bb616ec5

Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
6 years agoevas: Fix auto-show of EO objects
Jean-Philippe Andre [Wed, 16 Aug 2017 11:04:07 +0000 (20:04 +0900)]
evas: Fix auto-show of EO objects

Objects show should happen as early as possible during the render cycle,
as it affects smart objects calculation and everything else.

Thanks @JackDanielZ for the report!

Fixes T5880

6 years agoui.box: add aspect ratio support
Thiep Ha [Thu, 17 Aug 2017 00:53:30 +0000 (09:53 +0900)]
ui.box: add aspect ratio support

Adding support for aspect ratio.

ref T5487

6 years agoui.box: Add handling for weight + align
Thiep Ha [Wed, 16 Aug 2017 22:56:23 +0000 (07:56 +0900)]
ui.box: Add handling for weight + align

Issue: If the item has weight and non-filled align, item is not resized.
This patch fixes this issue.
Test: elementary_test -> ui.box -> Equal weight. Buttons Btn1, BtnA, B, C
do not resize when resize the window.

ref T5487

6 years agoevas: Fix crash with filters
Jean-Philippe Andre [Wed, 16 Aug 2017 05:06:51 +0000 (14:06 +0900)]
evas: Fix crash with filters

Since the EO APIs are defined as weak symbols, invalid definitions of
EAPI lead to runtime crashes on non-public APIs. This is a fix following
a series of changes wrt. EAPI definitions.

6 years agovalue size is stored in type, no need to manually specify them.
Gustavo Sverzut Barbieri [Tue, 15 Aug 2017 21:59:50 +0000 (18:59 -0300)]
value size is stored in type, no need to manually specify them.

6 years agoector: fix EAPI on Windows
Vincent Torri [Tue, 15 Aug 2017 14:42:13 +0000 (16:42 +0200)]
ector: fix EAPI on Windows

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
6 years agoeina: remove tests and benchmark for long dead mempool.
Cedric BAIL [Tue, 15 Aug 2017 20:46:38 +0000 (13:46 -0700)]
eina: remove tests and benchmark for long dead mempool.

6 years agoeina: add tests for from.
Cedric BAIL [Tue, 15 Aug 2017 20:46:38 +0000 (13:46 -0700)]
eina: add tests for from.

6 years agoeina: add support for from in pass through
Cedric BAIL [Tue, 15 Aug 2017 20:46:37 +0000 (13:46 -0700)]
eina: add support for from in pass through

6 years agoeina: add support for from in one big.
Cedric BAIL [Tue, 15 Aug 2017 20:46:37 +0000 (13:46 -0700)]
eina: add support for from in one big.

6 years agoeina: add support for from in chained mempool.
Cedric BAIL [Tue, 15 Aug 2017 20:46:36 +0000 (13:46 -0700)]
eina: add support for from in chained mempool.

6 years agoeina: add an API to check if a pointer is a valid element of a mempool.
Cedric BAIL [Tue, 15 Aug 2017 20:46:34 +0000 (13:46 -0700)]
eina: add an API to check if a pointer is a valid element of a mempool.