platform/upstream/efl.git
7 years agoEcore Input Evas: Add ecore_event_evas_seat_modifier_lock_update().
Guilherme Iscaro [Wed, 9 Nov 2016 13:44:18 +0000 (11:44 -0200)]
Ecore Input Evas: Add ecore_event_evas_seat_modifier_lock_update().

This function will set the modifiers/lock per seat in Evas.
Some places will still use ecore_event_evas_modifier_lock_update(),
since multi-seat is not supported.

7 years agoEvas: Add support for per seat modifiers and locks.
Guilherme Iscaro [Mon, 7 Nov 2016 18:44:46 +0000 (16:44 -0200)]
Evas: Add support for per seat modifiers and locks.

This patch introduces possibility to enable key locks and modifers by seat.
It's very useful when the user has two keyboards attached to different seats.

7 years agoEcore Evas VNC: Properly set/unset the key locks.
Guilherme Iscaro [Wed, 9 Nov 2016 13:40:57 +0000 (11:40 -0200)]
Ecore Evas VNC: Properly set/unset the key locks.

Key locks must be unset only another they down is received,
otherwise they must remain active.

7 years agoEvas: Add support for per mouse pointer mode/properties.
Guilherme Iscaro [Fri, 21 Oct 2016 12:25:41 +0000 (10:25 -0200)]
Evas: Add support for per mouse pointer mode/properties.

This patch introduces the possibility to set the pointer mode and
query other properties like current position per pointer device.
The old API will still works, however it will only act on the default seat.

7 years agoEcore Input Evas: Ecore_Input_Last should contain the Evas device.
Guilherme Iscaro [Thu, 1 Dec 2016 14:29:54 +0000 (12:29 -0200)]
Ecore Input Evas: Ecore_Input_Last should contain the Evas device.

This struct should contain the Evas device that originated the event,
otherwise events from different devices may mix up and lead to undifined
behaviour.

7 years agoeo: adjust generation count
Marcel Hollerbach [Fri, 2 Dec 2016 10:39:57 +0000 (11:39 +0100)]
eo: adjust generation count

raster suggested a few optimizations

7 years agoeo: optimize generation increase
Marcel Hollerbach [Fri, 2 Dec 2016 10:31:45 +0000 (11:31 +0100)]
eo: optimize generation increase

doing it by hand here saves a function call which showed up pretty happy
on perf.

7 years agoeo: add new test case to check event emission while emitting
Marcel Hollerbach [Thu, 1 Dec 2016 19:34:46 +0000 (20:34 +0100)]
eo: add new test case to check event emission while emitting

7 years agoeo: use the event stack to define behaviour
Marcel Hollerbach [Thu, 1 Dec 2016 11:40:36 +0000 (12:40 +0100)]
eo: use the event stack to define behaviour

subscriptions are only executed if they were already subscriped at the
start of the event emission.

7 years agoeo: fix event emission for subscription while emission
Marcel Hollerbach [Wed, 30 Nov 2016 12:07:51 +0000 (13:07 +0100)]
eo: fix event emission for subscription while emission

This fixes T4907

The problem was that in efl_event_callback_add the internal array was
changed. If this was happening while a efl_event_callback_call was
happening the for loop got confused and skipped one event subscription.
Which led to a bug in e where the idler ufnction was not executed
probebly and so the canvas stayed frozen.

7 years agoeo: add testcase to check emission of events
Marcel Hollerbach [Tue, 29 Nov 2016 19:18:44 +0000 (20:18 +0100)]
eo: add testcase to check emission of events

7 years agoecore_exe_win32: fix ecore_exe_send
Vyacheslav Reutskiy [Fri, 2 Dec 2016 09:48:14 +0000 (11:48 +0200)]
ecore_exe_win32: fix ecore_exe_send

Write to the child pipe corect data size.
@fix

7 years agoecore_evas/x: Fix window size when framespace != 0
Jean-Philippe Andre [Fri, 2 Dec 2016 08:01:44 +0000 (17:01 +0900)]
ecore_evas/x: Fix window size when framespace != 0

This fixes the sizing of EDI. And elm_test "States 2"

The sizes stored in ecore_evas are the "window content" sizes,
excluding the framespace which thus must be added to all calls
to ecore_x / Xlib.

7 years agoeo: Improve debug for efl_isa errors from threads
Jean-Philippe Andre [Fri, 2 Dec 2016 06:52:43 +0000 (15:52 +0900)]
eo: Improve debug for efl_isa errors from threads

7 years agowin: Fix layout issue in E internal windows (WL)
Jean-Philippe Andre [Fri, 2 Dec 2016 05:09:02 +0000 (14:09 +0900)]
win: Fix layout issue in E internal windows (WL)

This is an attempt at fixing internal windows in E Wayland,
where the framespace geometry was not taken into account at
render time. Tested in a VM.

Thanks @derekf for the report.

See https://www.enlightenment.org/ss/e-584083fb03f617.08713956.jpg

7 years agoelm_toolbar: remove wrong focus highlight checking
WooHyun Jung [Fri, 2 Dec 2016 07:56:43 +0000 (16:56 +0900)]
elm_toolbar: remove wrong focus highlight checking

Because of this focus_highlight checking, focus never goes
to the first item when toolbar gets focus at the first time.

@fix

7 years agogl drm/x11: Fix compilation for EGL < 1.5
Jean-Philippe Andre [Fri, 2 Dec 2016 05:24:57 +0000 (14:24 +0900)]
gl drm/x11: Fix compilation for EGL < 1.5

This is an attempt at fixing compilation for systems with old
EGL headers (version < 1.5).

Thanks Roy for the report!

7 years agoelm: use eina_rectangle to check intersection
Lukasz Stanislawski [Thu, 1 Dec 2016 11:56:32 +0000 (20:56 +0900)]
elm: use eina_rectangle to check intersection

Summary:
Some conditions seems redundant if assume that height and width
can never be < 0.

Change-Id: I63c297cc8cabbb69fbf7e014596f354e811b8d8e

Reviewers: cedric, kimcinoo, jpeg

Subscribers: cedric, jpeg

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

7 years agogl_drm: Fix eglCreateImage for 32-bit systems
Derek Foreman [Thu, 1 Dec 2016 21:05:35 +0000 (15:05 -0600)]
gl_drm: Fix eglCreateImage for 32-bit systems

eglCreateImageKHR and eglCreateImage have different prototypes, but we
treated them the same.  Fix that so 32-bit users can have them too.

7 years agogl_drm: Don't query gl functions that don't exist anywhere
Derek Foreman [Thu, 1 Dec 2016 21:00:21 +0000 (15:00 -0600)]
gl_drm: Don't query gl functions that don't exist anywhere

We're just making stuff up now and hoping they magically match existing
prototypes, I guess.

Hardly the weirdest thing in this file.

7 years agowayland_shm: enable dmabuf by default
Derek Foreman [Thu, 1 Dec 2016 19:24:40 +0000 (13:24 -0600)]
wayland_shm: enable dmabuf by default

Software rendered wayland clients will now attempt
to use dmabuf on some platforms.  This results in a window
that a compositor may be able to drop into a plane without a copy.

Disable it with the env var EVAS_WAYLAND_SHM_DISABLE_DMABUF
but if you need to disable it, please ping me or file a bug report.

7 years agoefl_debugd: check for fwrite() return.
Gustavo Sverzut Barbieri [Thu, 1 Dec 2016 18:23:23 +0000 (16:23 -0200)]
efl_debugd: check for fwrite() return.

if it fail, close the file and turn off logging for that client.

Fixes CID 1366465

7 years agoeeze_scanner_monitor: fix error handling.
Gustavo Sverzut Barbieri [Thu, 1 Dec 2016 17:38:40 +0000 (15:38 -0200)]
eeze_scanner_monitor: fix error handling.

dialer would be uninitialized if we fail to create a path, so use a
new label to handle that.

Fixes CID 1366471.

7 years agoLuncher theme: Make sure to check the geometry of the opposite coordinate to ensure...
Stephen okra Houston [Thu, 1 Dec 2016 18:12:24 +0000 (12:12 -0600)]
Luncher theme: Make sure to check the geometry of the opposite coordinate to ensure the cursor is inside of the icon.

7 years agoeolian: remove handling of short refs in tokenizer
Daniel Kolesa [Thu, 1 Dec 2016 16:22:19 +0000 (17:22 +0100)]
eolian: remove handling of short refs in tokenizer

Already expanded in the main lexer.

7 years agoeolian: add documentation tokenizer
Daniel Kolesa [Thu, 1 Dec 2016 15:37:01 +0000 (16:37 +0100)]
eolian: add documentation tokenizer

This provides an API to tokenize Eolian docstrings. It does not
yet switch the rest of the infra to it, but it does have tests.
It doesn't verify correctness of references, as that's Eolian's
job. Therefore it's also your job to provide it with strings that
do not contain invalid references. Lua bindings are to come and
a complete switch will be done later.

@feature

7 years agoevas common: disable thread_queue feature on win32.
Hermet Park [Thu, 1 Dec 2016 10:49:30 +0000 (19:49 +0900)]
evas common: disable thread_queue feature on win32.

We have an issue that eina_thread_queue msg isn't delivered properly on win32.
That occurs broken image drawing in case of non-smooth scaling.

I disabled this feature on win32 because scale_sample_draw is gonna be rarely used
since async rendering introduced.

7 years agoevas: Fix infinite recursion on smart object resize
Jean-Philippe Andre [Thu, 1 Dec 2016 07:55:20 +0000 (16:55 +0900)]
evas: Fix infinite recursion on smart object resize

In some situations smart object resize could fall in an
infinite loop even though the size was stable.

Thanks @vtorri for the report!

7 years agowin: Update min & max size hints simultaneously
Jean-Philippe Andre [Thu, 1 Dec 2016 07:35:58 +0000 (16:35 +0900)]
win: Update min & max size hints simultaneously

Avoid calling the engine's size_min_set/size_max_set functions
while setting the hints on the window object itself (it would
cause min != max even though we intended min == max).

7 years agowin: Fix main menu visibility with non-default themes
Jean-Philippe Andre [Thu, 1 Dec 2016 07:26:52 +0000 (16:26 +0900)]
win: Fix main menu visibility with non-default themes

7 years agoevas common: fix a typo.
Hermet Park [Thu, 1 Dec 2016 08:12:42 +0000 (17:12 +0900)]
evas common: fix a typo.

7 years agomenu: Remove extra debug log
Jean-Philippe Andre [Thu, 1 Dec 2016 06:42:06 +0000 (15:42 +0900)]
menu: Remove extra debug log

See 1f9dfe2ed374bd54dd84aaf70abb496b021269cb
Note that this patch causes problems on some systems...

7 years agoevas/x11: Fix EGL engine for recent nvidia binary
Jean-Philippe Andre [Thu, 1 Dec 2016 06:26:11 +0000 (15:26 +0900)]
evas/x11: Fix EGL engine for recent nvidia binary

Thank you NVIDIA for breaking your drivers regularly!
eglGetDisplay(x11_display) should work but was consistently
returning 0 instead.

Apparently EGL 1.5 introduced "eglGetPlatformDisplay" that
is more advanced to open a display. So, prefer that over
eglGetDisplay if it's available.

@fix

7 years agowin: Improve bug compatibility for E
Jean-Philippe Andre [Thu, 1 Dec 2016 05:41:06 +0000 (14:41 +0900)]
win: Improve bug compatibility for E

E has a habit of creating windows with a single content
that has no weight and/or no min size, but still expecting
those windows to size properly and be resizable. This amends
a previous sizing hack (but really it's the same) for logout
dialogs, and adds another hack for EFM windows (single edje
object with no weight, but window should be resizable).

7 years agowin: Force opaque region updates on alpha change
Jean-Philippe Andre [Thu, 1 Dec 2016 04:21:49 +0000 (13:21 +0900)]
win: Force opaque region updates on alpha change

What happens is that ecore_wl2 ignores calls to opaque_region_set
if the window has alpha. As a consequence the opaque_region is not
updated server-side and the previous window geometry is kept as
opaque region, even though the window should have alpha.

Thanks @raster for the report.

7 years agoctxpopup: Fix shadow variable warning
Jean-Philippe Andre [Thu, 1 Dec 2016 02:28:04 +0000 (11:28 +0900)]
ctxpopup: Fix shadow variable warning

7 years agoEet: add EINA_ARG_NONNULL for eet_data_text_undump* @fix
Artem Popov [Thu, 1 Dec 2016 02:05:50 +0000 (11:05 +0900)]
Eet: add EINA_ARG_NONNULL for eet_data_text_undump* @fix

Summary: Eet_data_text_undump/undump_cipher: add EINA_ARG_NONNULL for mandatory pointer on size(int)

Reviewers: cedric, NikaWhite, myoungwoon, jpeg

Reviewed By: jpeg

Subscribers: jpeg, t.naumenko

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

7 years agoelm_calendar: Changed the calendar focus highlight concept.
Woochan Lee [Thu, 1 Dec 2016 01:41:48 +0000 (10:41 +0900)]
elm_calendar: Changed the calendar focus highlight concept.

Summary:
The highlight image enable when calendar got a focus.

We enable the highlight image when the user sent a key event to calendar before.
The above concept seems to be incorrect when focus highlight activated already.

Test Plan:
elementary_test
calendar sample.

Reviewers: woohyun, cedric, jpeg

Subscribers: cedric, jpeg

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

7 years agoEcore Evas VNC: Increase keytable size.
Guilherme Iscaro [Thu, 1 Dec 2016 01:39:47 +0000 (10:39 +0900)]
Ecore Evas VNC: Increase keytable size.

Summary:
New keys were added to the keytable, however since VNC will not
notify the VNC server about these new key types we will simple
increase the array size and keep the compiler happy.

Reviewers: cedric, barbieri, bdilly, jpeg

Reviewed By: jpeg

Subscribers: cedric, jpeg

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

7 years agoconform: Remove getpid() from debug
Jean-Philippe Andre [Thu, 1 Dec 2016 01:33:36 +0000 (10:33 +0900)]
conform: Remove getpid() from debug

The PID is already printed out by default with eina_log.

7 years agomenu: Fix visibility flag of menu (missing efl_super)
Jean-Philippe Andre [Wed, 30 Nov 2016 11:58:27 +0000 (20:58 +0900)]
menu: Fix visibility flag of menu (missing efl_super)

7 years agomenu: Keep opening submenus when hovering over main bar
Jean-Philippe Andre [Wed, 30 Nov 2016 11:01:48 +0000 (20:01 +0900)]
menu: Keep opening submenus when hovering over main bar

The previous situation was that you could hover over a main
menu bar item, and see it become hilighted. Click to open the
submenu. Classic. Now move over to a second main menu item
and the submenu would close, but the second submenu would not
open.

This behaviour was contrary to pretty much every desktop UI
I've used, and really annoyed me. Should we get an elm_config
option for that?

This is a UI behaviour change.

7 years agoecore exe - handle scope data get null returns when ppl do bad things
Carsten Haitzler (Rasterman) [Wed, 30 Nov 2016 23:48:25 +0000 (08:48 +0900)]
ecore exe - handle scope data get null returns when ppl do bad things

peolpe using ecore_exe in threads... for example.

7 years agoeina: remove tests, examples and docs for eina_model
Bruno Dilly [Wed, 30 Nov 2016 20:37:34 +0000 (18:37 -0200)]
eina: remove tests, examples and docs for eina_model

Summary:
Since eina_model was dropped some years ago.
Also a few other points where related stuff is just commented out.

Reviewers: iscaro, barbieri

Reviewed By: barbieri

Subscribers: cedric, jpeg

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

7 years agoevas: add example for multiseat events
Bruno Dilly [Tue, 29 Nov 2016 20:23:49 +0000 (18:23 -0200)]
evas: add example for multiseat events

Also useful to make some tests / debugging.

7 years agoexamples/evas: sort gitignore
Bruno Dilly [Tue, 29 Nov 2016 21:21:49 +0000 (19:21 -0200)]
examples/evas: sort gitignore

7 years agoefl_input_focus: fix typo and code style
Bruno Dilly [Mon, 28 Nov 2016 18:14:39 +0000 (16:14 -0200)]
efl_input_focus: fix typo and code style

7 years agoecore-wl2: Add warning if a wl_surface_frame callback failes to get created
Chris Michael [Wed, 30 Nov 2016 17:12:38 +0000 (12:12 -0500)]
ecore-wl2: Add warning if a wl_surface_frame callback failes to get created

There could be situations where wl_surface_frame fails to create a
callback. In those cases, we should not be trying to add a wl_callback
listener for a non-existant callback.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
7 years agoelm: fix compliation warnings in dbus menu & toolbar
Amitesh Singh [Wed, 30 Nov 2016 13:03:59 +0000 (18:33 +0530)]
elm: fix compliation warnings in dbus menu & toolbar

These warnings were serious problems.
Thanks to stefan for reporting.

7 years agoRevert "ecore_file: use win api for delete folder"
Vyacheslav Reutskiy [Wed, 30 Nov 2016 12:02:45 +0000 (14:02 +0200)]
Revert "ecore_file: use win api for delete folder"

It was mistake, rmdir work correct, problem was fixed in commit
56c202614b73f0e4c34d7a5cd070fe2b24d9217f

This reverts commit 5e25b8037ca8858412627d76b6fe72e9c7279021.

7 years agobuild: ector: make sure the triangular header files end up in dist
Stefan Schmidt [Wed, 30 Nov 2016 10:10:11 +0000 (11:10 +0100)]
build: ector: make sure the triangular header files end up in dist

In commit 98b0408a4eed5c2beafd4f396b64ca54fb00270f the new triangulator
static_lib was introduced with ector as user. The ector Makefiles missed to
also include the header files as deps so they never ended up in the dist
failing distcheck.

7 years agodocs: efl_ui: fill gaps in newly introduced eo files
Stefan Schmidt [Wed, 30 Nov 2016 10:01:39 +0000 (11:01 +0100)]
docs: efl_ui: fill gaps in newly introduced eo files

These two eo files have been introduced by commit
a58e2e1a790732428fa09d479fec63d433931f06

Sadly three items have been left undocumented. With this patch we are back to
100% doc coverage.

7 years agobuild: eeze: remove non existing header file from SOURCES
Stefan Schmidt [Wed, 30 Nov 2016 09:57:12 +0000 (10:57 +0100)]
build: eeze: remove non existing header file from SOURCES

This header file does simply not exist in tree. Removing it from the SOURCES
allows to pass distcheck.

7 years agomenu: Fix crash in main menu and eo files
Jean-Philippe Andre [Wed, 30 Nov 2016 08:12:43 +0000 (17:12 +0900)]
menu: Fix crash in main menu and eo files

This amends the previous commit to avoid a crash in the main
menu, and adjust the eo files formatting.

7 years agoMenu,Item Interface: Common interface for menu, toolbar and ctxpopup
Amitesh Singh [Wed, 30 Nov 2016 07:18:46 +0000 (16:18 +0900)]
Menu,Item Interface: Common interface for menu, toolbar and ctxpopup

Summary:
efl_ui_menu interface provides common functions of menu, toolbar and ctxpopup.
efl_ui_item interface provides common functions of menu_item, toolbar_item and ctxpopup_item.
Also implemented some missing functions like selected_item set/get in ctxpopup.
efl_ui_item interface should be used for other widget items as well.

Test Plan: elementary_test

Reviewers: jpeg, felipealmeida, raster, SanghyeonLee, cedric, yashu21985

Subscribers: bu5hm4n

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

7 years agoRevert "evas render - evas_object_clip_recalc - dont call uselessly"
Carsten Haitzler (Rasterman) [Wed, 30 Nov 2016 08:36:42 +0000 (17:36 +0900)]
Revert "evas render - evas_object_clip_recalc - dont call uselessly"

This reverts commit bba368cf79acb5221d108cd257701523bd50ae2a.

if this is causing test suite fails ( i saw no actual visual problems
tho in apps or e etc.)... then revert. sadness. :(

7 years agotheme: Add bevel around background (window)
Jean-Philippe Andre [Wed, 30 Nov 2016 06:06:09 +0000 (15:06 +0900)]
theme: Add bevel around background (window)

This should fix (some) issues with exactness.

7 years agowin: Implement max size hint support
Jean-Philippe Andre [Wed, 30 Nov 2016 04:55:54 +0000 (13:55 +0900)]
win: Implement max size hint support

evas_object_size_hint_max() would not work on a window, unless
it somehow managed to not size itself (which would be another
issue). This patch allows apps to call size_hint_max_set() on
a window. A test case is provided in elm_test (Dialog).

@feature

7 years agowin: Add a little hack to fix E's logout/shutdown dialogs
Jean-Philippe Andre [Tue, 29 Nov 2016 09:20:10 +0000 (18:20 +0900)]
win: Add a little hack to fix E's logout/shutdown dialogs

E creates an edje object, sets it as resize_object, calls
restricted_calc and sets the resulting min size to the window.
But the window min size isn't taken into account when sizing
it, as the window sizes itself. I have no idea how this could
work before my changes.

E never actually requested the edje object to update its size
hints, so the window is left with an object of min size 0x0.

This patch is clearly a hack, but I can't really figure out
what would be the best or proper solution. Other elementary
widgets and containers seem to force edje object's update_hints.

Reproduction case: In E, menu, system, logout.

7 years agowin: Fix opaque regions for Wayland
Jean-Philippe Andre [Wed, 30 Nov 2016 01:51:51 +0000 (10:51 +0900)]
win: Fix opaque regions for Wayland

In Wayland, an opaque window can still have shadow borders, and
only needs to set the opaque_region appropriately. In X on the
other hand, a window needs to be flagged as alpha in order to be
properly blended (otherwise you'd get black borders).

Thanks Derek for the report!

This fixes c91360fcbd3ca

7 years agoedje_calc: round the scaled value when it is casted to int type.
Jaehwan Kim [Tue, 29 Nov 2016 05:03:20 +0000 (14:03 +0900)]
edje_calc: round the scaled value when it is casted to int type.

It rounds the value for the more precious calculation when the scaled
value is casted to int type.

7 years agoelm_calendar: Use the flag already declared.
Woochan Lee [Wed, 30 Nov 2016 04:24:37 +0000 (13:24 +0900)]
elm_calendar: Use the flag already declared.

Summary: Oops, i missed use it in previous commit(6c04755a922d396356a561b85e010105e6ff61ae)

Reviewers: cedric, jpeg, woohyun, Hermet

Reviewed By: Hermet

Subscribers: cedric, jpeg

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

7 years agoedje_external Multibuttonentry: Fix useless logic.
Woochan Lee [Wed, 30 Nov 2016 04:22:29 +0000 (13:22 +0900)]
edje_external Multibuttonentry: Fix useless logic.

Summary:
Elm_Params_Multibuttonentry *mem = NULL;
if (!mem) return NULL;

Above code meaning that return null always... it's not intended i think.

Fix this weird code.

Reviewers: Hermet

Reviewed By: Hermet

Subscribers: cedric, jpeg

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

7 years agoevas: bug fix in bmp loader
Jaeun Choi [Tue, 29 Nov 2016 14:27:18 +0000 (23:27 +0900)]
evas: bug fix in bmp loader

when the DIB header is BITMAPINFOHEADER (size 40),
a bitmap file has alpha channel only if the compression method is BI_ALPHABITFIELDS (= 6).
the original code enabled alpha channel when the compression method was BI_RGB (= 0),
which made an opaque bmp image loaded as a transparent one.

@fix

7 years agonaviframe: Fix to show hidden previous view when pop transition begins.
Jaehyun Cho [Wed, 30 Nov 2016 01:53:11 +0000 (10:53 +0900)]
naviframe: Fix to show hidden previous view when pop transition begins.

Previously, previous view became visible before pop transition begins by
"elm,state,prev,popped" signal.
Now, previous view become visible when pop transition begins by
"elm,state,prev,popped" signal.

7 years agoRevert "naviframe: Fix to show hidden previous view when pop transition begins."
Jaehyun Cho [Wed, 30 Nov 2016 01:50:28 +0000 (10:50 +0900)]
Revert "naviframe: Fix to show hidden previous view when pop transition begins."

This reverts commit 29a7d08454bfee6c0c29b424b99ca20994a6ca28.

7 years agoelm_code: Add really simple indentation for braces handling
Andy Williams [Wed, 30 Nov 2016 00:11:15 +0000 (00:11 +0000)]
elm_code: Add really simple indentation for braces handling

That's about as far as we can push it without proper scope handling

7 years agoevas: make sure that we initialize module correctly in all case.
Cedric Bail [Tue, 29 Nov 2016 20:06:45 +0000 (12:06 -0800)]
evas: make sure that we initialize module correctly in all case.

7 years agoevas: remove useless code.
Cedric Bail [Tue, 29 Nov 2016 20:06:07 +0000 (12:06 -0800)]
evas: remove useless code.

Since we disable the possibility to shutdown evas module, this code
has been useless. Let's remove it.

7 years agoeolian-js: Fix compilation of JavaScript binding
Felipe Magno de Almeida [Tue, 29 Nov 2016 18:42:37 +0000 (16:42 -0200)]
eolian-js: Fix compilation of JavaScript binding

7 years agocxx: Ecore depends on generated eo headers
Lauro Moura [Tue, 29 Nov 2016 17:22:07 +0000 (14:22 -0300)]
cxx: Ecore depends on generated eo headers

7 years agoecore_con_url: now on top of efl_net_dialer_http.
Gustavo Sverzut Barbieri [Tue, 29 Nov 2016 05:43:16 +0000 (03:43 -0200)]
ecore_con_url: now on top of efl_net_dialer_http.

Rewrite Ecore_Con_Url as a non-Eo (since it's just legacy) that is
built on top of Efl_Net_Dialer_Http.

Since there are some legacy behavior we do not want to expose in the
new classes, hack around and manipulate the curl_easy_setopt()
directly in those cases.

This includes the cookies: there is no reason why we should expose
independent files for read (COOKIEFILE) and write (COOKIEJAR), real
world applications can manipulate the files directly, like copying
from a template to a RDWR before using, etc.

7 years agoexamples/ecore: build ecore_con_url_ftp_example
Gustavo Sverzut Barbieri [Tue, 29 Nov 2016 05:16:53 +0000 (03:16 -0200)]
examples/ecore: build ecore_con_url_ftp_example

7 years agoecore_con_url_headers_example: allow POST data.
Gustavo Sverzut Barbieri [Tue, 29 Nov 2016 04:55:37 +0000 (02:55 -0200)]
ecore_con_url_headers_example: allow POST data.

7 years agoefl_net_dialer_http: POST also allows resizing.
Gustavo Sverzut Barbieri [Tue, 29 Nov 2016 04:56:18 +0000 (02:56 -0200)]
efl_net_dialer_http: POST also allows resizing.

resizing the dialer results in changing the request content length,
which is useful when uploading files AND posting data.

7 years agoefl_net_dialer_http: export SSL controls.
Gustavo Sverzut Barbieri [Tue, 29 Nov 2016 04:16:47 +0000 (02:16 -0200)]
efl_net_dialer_http: export SSL controls.

verify peer, hostname and set CA/CRL files.

7 years agoefl_net_dialer_http: special headers and date parse/serialize.
Gustavo Sverzut Barbieri [Tue, 29 Nov 2016 03:19:40 +0000 (01:19 -0200)]
efl_net_dialer_http: special headers and date parse/serialize.

CURL needs some special curl_easy_setopt() calls to enable automatic
gzip deflate (CURLOPT_ENCODING) and
If-Modified-Since/If-Unmodified-Since logic.

As If-Modified-Since/If-Unmodified-Since requires a timestamp string,
let's expose class methods to handle those.

7 years agoefl_net_dialer_http: only close if not closed yet.
Gustavo Sverzut Barbieri [Mon, 28 Nov 2016 21:15:29 +0000 (19:15 -0200)]
efl_net_dialer_http: only close if not closed yet.

since eos_set() emits an event the user may have closed from there.

7 years agoefl_net_dialer_http: export read size.
Gustavo Sverzut Barbieri [Mon, 28 Nov 2016 21:06:30 +0000 (19:06 -0200)]
efl_net_dialer_http: export read size.

In the legacy wrapper I'll need that.

7 years agoecore-drm2: Add API function to allow setting gamma of a given output
Chris Michael [Tue, 29 Nov 2016 14:15:07 +0000 (09:15 -0500)]
ecore-drm2: Add API function to allow setting gamma of a given output

Small patch to add an API function which will allow setting the gamma
level of a given output.

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
7 years agoecore-drm2: Add symlink to gamma setting function
Chris Michael [Tue, 29 Nov 2016 14:14:31 +0000 (09:14 -0500)]
ecore-drm2: Add symlink to gamma setting function

Signed-off-by: Chris Michael <cp.michael@samsung.com>
7 years agoelementary: Fix coverity detected resource leak
Chris Michael [Tue, 29 Nov 2016 13:35:52 +0000 (08:35 -0500)]
elementary: Fix coverity detected resource leak

As elm_code_line_indent_get will malloc space for the returned string,
that space should be freed after usage. This fixes a resource leak
detected by Coverity.

CID1366468

Signed-off-by: Chris Michael <cp.michael@samsung.com>
7 years agoecore_con: fix work on Windows
Andrii Kroitor [Tue, 29 Nov 2016 13:11:55 +0000 (15:11 +0200)]
ecore_con: fix work on Windows

Per aspera ad astra.
One little missing star was breaking all EFL UI applications.

7 years agoelm_spinner: fix wrong focus logic when spinner is unfocused
WooHyun Jung [Tue, 29 Nov 2016 12:06:25 +0000 (21:06 +0900)]
elm_spinner: fix wrong focus logic when spinner is unfocused

When unfocusing spinner, entry's UNFOCUSED callback is called.
In the callback function, entry is hidden and spinner gets focus
from focus_revert logic.
This gave lots of meaningless focused/unfocused state changes.

@fix

7 years agonaviframe: Fix to show hidden previous view when pop transition begins.
Jaehyun Cho [Tue, 29 Nov 2016 11:49:04 +0000 (20:49 +0900)]
naviframe: Fix to show hidden previous view when pop transition begins.

Previously, previous view became visible before pop transition begins by
"elm,state,prev,popped,deferred" signal.
Now, previous view become visible when pop transition begins by
"elm,state,prev,popped,deferred" signal.

7 years agowin: Move main menu to the framespace
Jean-Philippe Andre [Mon, 28 Nov 2016 09:26:39 +0000 (18:26 +0900)]
win: Move main menu to the framespace

After reverting 8a213847596376305d282e1, I figured out how to move
the main menu back to the border group. This time the menu is in the
framespace and its layout algos have been adapted to allow non-zero
root coordinates.

7 years agoRevert "win: Move main menu back to win.edc (fix sizing)"
Jean-Philippe Andre [Mon, 28 Nov 2016 08:24:18 +0000 (17:24 +0900)]
Revert "win: Move main menu back to win.edc (fix sizing)"

This reverts commit 8a213847596376305d282e1ba26080b548a207f9.
The following commit will reintroduce the menu slot inside the
border edc.

7 years agoelm: Fix build break
Jean-Philippe Andre [Tue, 29 Nov 2016 06:41:56 +0000 (15:41 +0900)]
elm: Fix build break

7 years agoedje entry: fix crash issue due to improper callback handling
Youngbok Shin [Tue, 29 Nov 2016 05:39:01 +0000 (14:39 +0900)]
edje entry: fix crash issue due to improper callback handling

Summary:
If there were multiple elm_entry objects and some of them were deleted,
the callback function would cause crash problem.
The callback function only for specific data should be deleted when
a entry object is deleted.
@fix

Test Plan: N/A

Reviewers: raster, cedric, herdsman, woohyun, subodh6129

Subscribers: jpeg

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

7 years agotriangulator: add a static_lib for triangulation. idea is to keep all the algorithm...
Subhransu Mohanty [Mon, 28 Nov 2016 19:21:33 +0000 (11:21 -0800)]
triangulator: add a static_lib for triangulation. idea is to keep all the algorithm for triangulation in one place 1. shape outline triangulation using triangle strips. 2. shape filling using curve flattning and polygon triangulation.

Reviewers: Hermet, cedric

Reviewed By: cedric

Subscribers: raster, cedric, jpeg

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

7 years agoelm_toolbar: refactor _elm_toolbar_item_icon_obj_set function
YeongJong Lee [Mon, 28 Nov 2016 19:15:20 +0000 (11:15 -0800)]
elm_toolbar: refactor _elm_toolbar_item_icon_obj_set function

Summary:
In order to natural animation in horizontal item theme,
remove duplicated operation in elm_toolbar_item_icon_obj_set function.

Test Plan:
Change to other icon using elm_toolbar_item_icon_obj_set function in horizontal item theme.
or in edi, click Logs/Console/Tests button on bottom toolbar

Reviewers: raster, ajwillia.ms

Reviewed By: ajwillia.ms

Subscribers: cedric, jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
7 years agoefl.io.manager: fix eo types and indent
Jee-Yong Um [Mon, 28 Nov 2016 19:05:28 +0000 (11:05 -0800)]
efl.io.manager: fix eo types and indent

Reviewers: cedric, jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
7 years agoelm/calendar: apply focus UI feature.
Woochan Lee [Mon, 28 Nov 2016 18:58:57 +0000 (10:58 -0800)]
elm/calendar: apply focus UI feature.

Summary:
elm_calendar is not subject to current automated focus policies due to internal implementation issues.
(Each date in the calendar is an edje part. )

For the above reasons, I have implemented the focus policy support manually.

Test Plan: elementary_test - calendar sample.

Reviewers: bu5hm4n, woohyun

Subscribers: cedric, jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
7 years agoeina/log: add ARG_NONNULL to eina_log* APIs for Eina_Log_Domain * parameter
Artem Popov [Mon, 28 Nov 2016 18:56:47 +0000 (10:56 -0800)]
eina/log: add ARG_NONNULL to eina_log* APIs for Eina_Log_Domain * parameter
@fix

Summary: add ARG_NONNULL to eina_log* APIs for Eina_Log_Domain * parameter that is always in use, can not be NULL.

Reviewers: cedric, Hermet, myoungwoon, NikaWhite

Reviewed By: NikaWhite

Subscribers: t.naumenko, jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
7 years agoeolian: remove all duplicated affix
Jee-Yong Um [Mon, 28 Nov 2016 18:55:27 +0000 (10:55 -0800)]
eolian: remove all duplicated affix

Summary:
Currently eolian abbreviates when only the last word of class name and
the first word of method name are same, but this patch abbreviates
generated c name of function to remove all duplicated affix.
For example, "efl_io_closer_fd_closer_fd_set" will be "efl_io_closer_fd_set".

Reviewers: jpeg

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
7 years agoeet: add checking on null to eet_data_write_cipher and EINA_ARG_NONNULL to dump API...
Artem Popov [Mon, 28 Nov 2016 18:44:59 +0000 (10:44 -0800)]
eet: add checking on null to eet_data_write_cipher and EINA_ARG_NONNULL to dump API @fix

Summary:
add checking on null to eet_data_write_cipher and EINA_ARG_NONNULL to eet_data_dump*
and eet_data_test_dump* API

Reviewers: NikaWhite, myoungwoon, cedric

Reviewed By: cedric

Subscribers: jpeg, t.naumenko

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
7 years agoelementary: fix make examples
Bruno Dilly [Mon, 28 Nov 2016 19:16:22 +0000 (17:16 -0200)]
elementary: fix make examples

After commit
54abdad6e0c20 elementary-cxx: Fix filemvc wrong usage of Efl_Future
it's required to add libethumb_client.la to ELEMENTARY_LDFLAGS

7 years agoMerge branch 'devs/iscaro/multi-seat-events'
Bruno Dilly [Mon, 28 Nov 2016 16:02:19 +0000 (14:02 -0200)]
Merge branch 'devs/iscaro/multi-seat-events'

This series adds support to multiseat on
Evas focus state getter, add seat information
on canvas focus in/out events, per-seat focus
and mouse input / output.

Patches by Guilherme Iscaro <iscaro@profusion.mobi>
Differential Revision: https://phab.enlightenment.org/D4406

@feature

7 years agoEcore_Evas VNC: Properly set mouse/canvas in/out properties.
Guilherme Iscaro [Thu, 27 Oct 2016 17:40:20 +0000 (15:40 -0200)]
Ecore_Evas VNC: Properly set mouse/canvas in/out properties.

7 years agoEcore Evas: Add multi seat support for mouse in/out.
Guilherme Iscaro [Wed, 9 Nov 2016 19:54:55 +0000 (17:54 -0200)]
Ecore Evas: Add multi seat support for mouse in/out.