platform/upstream/efl.git
6 years agoexamples: cxx: fix examples for new size_set function signature
Stefan Schmidt [Tue, 19 Sep 2017 06:23:48 +0000 (08:23 +0200)]
examples: cxx: fix examples for new size_set function signature

This no longer takes two parameters. Update to the new signature.

6 years agoefl interfaces: Fix typo in doc
Bryce Harrington [Tue, 19 Sep 2017 03:15:55 +0000 (12:15 +0900)]
efl interfaces: Fix typo in doc

Reviewers: cedric

Subscribers: jpeg

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

6 years agoedje: Fix invalid storage of efl_part objects
Jean-Philippe Andre [Tue, 19 Sep 2017 03:07:13 +0000 (12:07 +0900)]
edje: Fix invalid storage of efl_part objects

Test scenario:
 - elementary_test -to "ExtProgressBar"
 - Then click on "... from C

Fixes T6032

@fix

6 years agoevas: Remove remnants from EO 1 internal API
Jean-Philippe Andre [Tue, 19 Sep 2017 02:57:22 +0000 (11:57 +0900)]
evas: Remove remnants from EO 1 internal API

6 years agoelm: rename Elm.Interface.Atspi_Action => Efl.Access.Action
Lukasz Stanislawski [Tue, 19 Sep 2017 02:19:21 +0000 (11:19 +0900)]
elm: rename Elm.Interface.Atspi_Action => Efl.Access.Action

Reviewers: cedric, jpeg

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

6 years agoelm: rename Elm.Interface.Atspi.Selection => Efl.Access.Selection
Lukasz Stanislawski [Tue, 19 Sep 2017 02:18:22 +0000 (11:18 +0900)]
elm: rename Elm.Interface.Atspi.Selection => Efl.Access.Selection

Reviewers: jpeg, cedric

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

6 years agotext: Remove unused EO structs
Jean-Philippe Andre [Mon, 18 Sep 2017 13:29:20 +0000 (22:29 +0900)]
text: Remove unused EO structs

Bad copy & paste?

6 years agopolygon: Use Eina.Position2D for point_add
Jean-Philippe Andre [Mon, 18 Sep 2017 13:02:16 +0000 (22:02 +0900)]
polygon: Use Eina.Position2D for point_add

6 years agowin: Use Eina.Size2D for pointer position
Jean-Philippe Andre [Mon, 18 Sep 2017 12:54:55 +0000 (21:54 +0900)]
win: Use Eina.Size2D for pointer position

Also rename the function for more consistency.

6 years agophotocam: Use Eina.Rect for image_region
Jean-Philippe Andre [Mon, 18 Sep 2017 12:13:19 +0000 (21:13 +0900)]
photocam: Use Eina.Rect for image_region

6 years agoefl: Use Eina.Size2D for screen size
Jean-Philippe Andre [Mon, 18 Sep 2017 12:08:28 +0000 (21:08 +0900)]
efl: Use Eina.Size2D for screen size

This API isn't so great when considering Wayland...

6 years agoevas: Use Eina.Rect for load_region
Jean-Philippe Andre [Mon, 18 Sep 2017 12:01:19 +0000 (21:01 +0900)]
evas: Use Eina.Rect for load_region

6 years agoefl: Use Eina.Size2D for image load size
Jean-Philippe Andre [Mon, 18 Sep 2017 11:56:45 +0000 (20:56 +0900)]
efl: Use Eina.Size2D for image load size

6 years agoefl: Use Eina.Size2D for image size
Jean-Philippe Andre [Mon, 18 Sep 2017 11:49:56 +0000 (20:49 +0900)]
efl: Use Eina.Size2D for image size

6 years agoefl: Add precise_position for input events
Jean-Philippe Andre [Mon, 18 Sep 2017 11:42:52 +0000 (20:42 +0900)]
efl: Add precise_position for input events

The previous commit removed useless delta

6 years agoefl: Use Eina.Position2D for input events
Jean-Philippe Andre [Mon, 18 Sep 2017 11:40:53 +0000 (20:40 +0900)]
efl: Use Eina.Position2D for input events

6 years agoefl: Use Eina.Size2D in Gfx.View
Jean-Philippe Andre [Mon, 18 Sep 2017 11:16:33 +0000 (20:16 +0900)]
efl: Use Eina.Size2D in Gfx.View

6 years agoevas: Use Eina.Slice on the stack (gfx.buffer)
Jean-Philippe Andre [Mon, 18 Sep 2017 10:59:11 +0000 (19:59 +0900)]
evas: Use Eina.Slice on the stack (gfx.buffer)

6 years agoevas: Use Eina.Size2D for gfx.buffer
Jean-Philippe Andre [Mon, 18 Sep 2017 10:30:30 +0000 (19:30 +0900)]
evas: Use Eina.Size2D for gfx.buffer

For consistency.

6 years agoevas: Use Eina.Rect for object list functions
Jean-Philippe Andre [Mon, 18 Sep 2017 08:55:50 +0000 (17:55 +0900)]
evas: Use Eina.Rect for object list functions

- objects_at_xy_get
- object_top_at_xy_get
- objects_in_rectangle_get
- object_top_in_rectangle_get

6 years agoefl: Use Eina.Size2D for Efl.Canvas.max_image_size
Jean-Philippe Andre [Mon, 18 Sep 2017 08:49:20 +0000 (17:49 +0900)]
efl: Use Eina.Size2D for Efl.Canvas.max_image_size

Rarely use

6 years agoeo-cxx: Fix test errors with new Eolian @own framework
Felipe Magno de Almeida [Mon, 18 Sep 2017 23:22:32 +0000 (20:22 -0300)]
eo-cxx: Fix test errors with new Eolian @own framework

6 years agoMultibuttonentry: set as clickable
Daniel Zaoui [Mon, 18 Sep 2017 21:19:00 +0000 (00:19 +0300)]
Multibuttonentry: set as clickable

The clicked event is registered internally so the widget should be
considered as a clickable interface.

6 years agoecore: make efl_loop_future_scheduler_get shouldn't be exposed in the object function.
Cedric BAIL [Mon, 18 Sep 2017 20:33:34 +0000 (13:33 -0700)]
ecore: make efl_loop_future_scheduler_get shouldn't be exposed in the object function.

Function declared in a .eo are something that we want to allow people to inherit from
or use in a binding. I can't think of a situation where that would be the case for
this function and it solves at the same time problem of needing a shared interface
for both loop and loop_user.

6 years agobuild: help autoconf find accept4 on illumos
Andre Lupa [Mon, 18 Sep 2017 17:42:17 +0000 (10:42 -0700)]
build: help autoconf find accept4 on illumos

Reviewers: cedric, vtorri, jpeg

Subscribers: jpeg

Tags: #efl

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
6 years agoefl interface: add Eo API documentation for path and shape interpolation
Bryce Harrington [Mon, 18 Sep 2017 17:41:40 +0000 (10:41 -0700)]
efl interface: add Eo API documentation for path and shape interpolation

Subscribers: cedric, jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
6 years agoexamples: document the evas-vg-simple example
Bryce Harrington [Mon, 18 Sep 2017 17:40:46 +0000 (10:40 -0700)]
examples: document the evas-vg-simple example

Summary:
Fill in the intro section and the first test mode.  (Docs for second
mode will be forthcoming.)

Also drop some of the generic comments that are already explained better
in some of the basic examples.

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

Subscribers: jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
6 years agoeina: document matrix3 multiplication routines
Bryce Harrington [Mon, 18 Sep 2017 17:35:38 +0000 (10:35 -0700)]
eina: document matrix3 multiplication routines

Reviewers: cedric

Reviewed By: cedric

Subscribers: cedric, jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
6 years agoEntry: use _edje_seat_name_get to get the seat
Daniel Hirt [Mon, 18 Sep 2017 16:37:06 +0000 (19:37 +0300)]
Entry: use _edje_seat_name_get to get the seat

The "default" name doesn't mean a lot to edje. Use the helper function
to get the proper seat name.
This fixes IMF for the Entry widget, that did not get triggered on the
hotkey combination.

@fix

6 years agoEdje load: reset seats counter on file_del
Daniel Hirt [Mon, 18 Sep 2017 16:33:42 +0000 (19:33 +0300)]
Edje load: reset seats counter on file_del

The seats list got emptied, but the counter progression was kept,
causing needless different seat names for the same device across
different edje objects.

6 years agoelm_widget: eval the manager after the logicals are evalulated
Marcel Hollerbach [Mon, 18 Sep 2017 12:23:52 +0000 (14:23 +0200)]
elm_widget: eval the manager after the logicals are evalulated

for the obj is the only child of parent this would have lead to manager
  beeing NULL.

6 years agoelm_widget: also update if visible set is intersected
Marcel Hollerbach [Mon, 18 Sep 2017 12:21:38 +0000 (14:21 +0200)]
elm_widget: also update if visible set is intersected

the error case is when a element is shown, but its parent was not.
In that case intersect returns immidiatly, without evalulating the focus
state again.

6 years agoedje: Fix make check :(
Jean-Philippe Andre [Mon, 18 Sep 2017 08:40:03 +0000 (17:40 +0900)]
edje: Fix make check :(

No idea how I missed that one... (except that make check is now broken
for C++, again)

6 years agoedje: Merge calc_size_min_restricted & calc_size_min
Jean-Philippe Andre [Mon, 18 Sep 2017 08:31:54 +0000 (17:31 +0900)]
edje: Merge calc_size_min_restricted & calc_size_min

calc_size_min was just a helper passing 0,0 to the restricted form.
Let's not duplicate APIs in EO and use an optional argument instead.
Bindings should be nicer and C could use a macro if it's too cumbersome
to pass in 0,0.

6 years agoedje: Use Eina.Size2D for min calc
Jean-Philippe Andre [Mon, 18 Sep 2017 08:19:03 +0000 (17:19 +0900)]
edje: Use Eina.Size2D for min calc

6 years agoedje: Use Eina.Size2D for group min & max size
Jean-Philippe Andre [Mon, 18 Sep 2017 08:01:10 +0000 (17:01 +0900)]
edje: Use Eina.Size2D for group min & max size

6 years agoefl: Use Eina.Size2D for size hint aspect
Jean-Philippe Andre [Mon, 18 Sep 2017 07:44:42 +0000 (16:44 +0900)]
efl: Use Eina.Size2D for size hint aspect

6 years agoefl: Use Eina.Size2D for size hints base & step
Jean-Philippe Andre [Mon, 18 Sep 2017 07:38:47 +0000 (16:38 +0900)]
efl: Use Eina.Size2D for size hints base & step

6 years agoefl: Use Eina.Size2D for size hint combined min
Jean-Philippe Andre [Mon, 18 Sep 2017 07:22:01 +0000 (16:22 +0900)]
efl: Use Eina.Size2D for size hint combined min

For this patch I decided to add a pseudo legacy wrapper as the function
is called in a very large number of places. Fixing all those calls to
use the size2d form is a lot of work and a greater risk of b0rking
something.

6 years agoefl: Use Eina.Size2D for size hint restricted min
Jean-Philippe Andre [Mon, 18 Sep 2017 05:49:08 +0000 (14:49 +0900)]
efl: Use Eina.Size2D for size hint restricted min

This is the "internal" or "intrinsic" minimum size, to be set by EFL and
not by applications.

6 years agoefl: Use Eina.Size2D for size hint min
Jean-Philippe Andre [Mon, 18 Sep 2017 05:35:22 +0000 (14:35 +0900)]
efl: Use Eina.Size2D for size hint min

6 years agoefl: Use Eina.Size2D for size hint max
Jean-Philippe Andre [Mon, 18 Sep 2017 05:07:56 +0000 (14:07 +0900)]
efl: Use Eina.Size2D for size hint max

6 years agogfx: Add comment about visibility
Jean-Philippe Andre [Mon, 18 Sep 2017 04:55:59 +0000 (13:55 +0900)]
gfx: Add comment about visibility

6 years agoefl: Use Eina.Size2D for Efl.Gfx.size
Jean-Philippe Andre [Fri, 15 Sep 2017 09:37:25 +0000 (18:37 +0900)]
efl: Use Eina.Size2D for Efl.Gfx.size

Big patch as a lot of things call or reimplement size_set. Hopefully I
got it right... fingers crossed.

6 years agoefl: Use Eina.Position2D for Efl.Gfx.position
Jean-Philippe Andre [Fri, 15 Sep 2017 03:14:32 +0000 (12:14 +0900)]
efl: Use Eina.Position2D for Efl.Gfx.position

Note: This is a little bit more cumbersome in some places but in most
it's more convenient than (x,y).

6 years agoefl: Introduce Eina.Rect and switch EO APIs to it
Jean-Philippe Andre [Thu, 14 Sep 2017 02:59:44 +0000 (11:59 +0900)]
efl: Introduce Eina.Rect and switch EO APIs to it

It's a complex struct but defined in EO as a simple struct. ABI-wise
it's equivalent to Eina_Rectangle. Some macros that use Eina_Rectangle
also work on Eina_Rect out of the box, most of the code dealing with
x,y,w,h will require no modifications either.

But Eina_Rect provides direct access to a size or position 2d component,
as well as the usual x,y,w,h. The field "rect" is provided as a
convenience for code dealing with both Eina_Rectangle and Eina_Rect. We
may or may not require it.

Note: Size2D could use unsigned values but I have spotted a few places
in the code that actually use -1 to indicate invalid size (as opposed to
0x0).

@feature

6 years agoelm image: Fix async open to avoid multiple mmap
Jean-Philippe Andre [Fri, 15 Sep 2017 05:39:14 +0000 (14:39 +0900)]
elm image: Fix async open to avoid multiple mmap

Reported by @jiin.moon:

In case of async_open for an elm_image, we try and open a file in a
thread, then map it and populate a bit, as this may take some time
(blocking I/O). This creates a mmap with eina_file_map_new. But later
evas image loaders will (usually) try and map the entire file with
eina_file_map_all() which creates another mmap. Since the size is
different (32Kb first then all) the returned map might be different
(it's up to the kernel to decide at this point).

So, in order to avoid having multiple maps on the same file, and try to
reduce the peak memory usage, we should prefer using the same map all
the time, i.e. the global one returned by eina_file_map_all().

This patch relies on the previous patch in eina_file which fixes
eina_file_map_populate() for the global map.

@fix

6 years agoeina file: Ensure populate is safe to call
Jean-Philippe Andre [Fri, 15 Sep 2017 06:56:17 +0000 (15:56 +0900)]
eina file: Ensure populate is safe to call

This makes sure that the call to madvise is safe. On Linux it's not too
much of an issue as checks are made inside madvise, and the worst that
can happen is an error is returned (EINVAL). Not great.

But if MAP_POPULATE is not present, as is the case on *BSD, then the
internal function _eina_file_map_populate() is used for the populate
rule. In that case actual data is read and we should make sure not to
trigger a segfault or bus error.

Also, this makes sure that in case of HugeTLB we actually populate all
pages, rather than one page out of 8 (we were jumping by 16Mb instead of
2Mb).

Note: Can we get the size of a HugeTLB at runtime? We're assuming 2Mb
which might very well not be the case!
See: https://wiki.debian.org/Hugepages

Tested by disabling MAP_POPULATE and observing crashes :)

@fix

6 years agoeina file: Fix map_populate on the global map
Jean-Philippe Andre [Fri, 15 Sep 2017 05:38:29 +0000 (14:38 +0900)]
eina file: Fix map_populate on the global map

If eina_file_map_all() is called, the map isn't added to the internal
hash "rmap" and so _eina_file_map_rule_apply() would never be called.

@fix

asa

6 years agoflip: Fix invalid use of EOAPI in legacy header
Jean-Philippe Andre [Thu, 14 Sep 2017 05:47:33 +0000 (14:47 +0900)]
flip: Fix invalid use of EOAPI in legacy header

This compiled fine with GCC but not with TCC.

@fix

6 years agointv slider: use scope_get instead
Amitesh Singh [Mon, 18 Sep 2017 01:39:17 +0000 (10:39 +0900)]
intv slider: use scope_get instead

its better to use efl_data_scope_get() in eolian
functions except in finalize().

6 years agoector: move gradient color computation to a pool of thread.
Cedric Bail [Sun, 17 Sep 2017 18:46:09 +0000 (11:46 -0700)]
ector: move gradient color computation to a pool of thread.

This has been a long standing plan for improving performance in rendering
vector object. If your test involve updating gradient, you will get another
speedup of around 15%. Combined with previous shape, we get a 65% improvement
with doing the CPU intensive computation in there own thread before the
rendering kickoff. This was motly theorical until now, but well, it works
great !

6 years agoector: move RLE shape/stroke computation to a pool of thread.
Cedric Bail [Sun, 17 Sep 2017 06:23:36 +0000 (23:23 -0700)]
ector: move RLE shape/stroke computation to a pool of thread.

This has been a long standing plan for improving performance in rendering
vector object. Depending on the test, you will get an improvement between
10 to 35% when rendering vector based object.

We are still maintaining the Cairo backend as the default one at the moment
due to a lack of result comparison tests between the two engine. Hopefully
we should get that covered and we can all enjoy a backend that is 4 times
faster by default.

6 years agoector: avoid calling function pointer when it is unecessary.
Cedric Bail [Sun, 17 Sep 2017 06:19:35 +0000 (23:19 -0700)]
ector: avoid calling function pointer when it is unecessary.

6 years agoector: add ability to run task in another thread during preparation stage.
Cedric Bail [Sun, 17 Sep 2017 00:43:18 +0000 (17:43 -0700)]
ector: add ability to run task in another thread during preparation stage.

6 years agoefl net http - fix protocol error handling to not crash and handle it
Carsten Haitzler (Rasterman) [Sun, 17 Sep 2017 09:14:37 +0000 (18:14 +0900)]
efl net http - fix protocol error handling to not crash and handle it

if http server doesnt send even a valid http response and just closes
your conenction... dont segv with null pd->cm

@fix

6 years agoeo-cxx: Fix assignment operator for eo::concrete
Felipe Magno de Almeida [Sun, 17 Sep 2017 09:15:26 +0000 (06:15 -0300)]
eo-cxx: Fix assignment operator for eo::concrete

6 years agoTests/datetime: set the weekday to avoid Exactness error
Daniel Zaoui [Sat, 16 Sep 2017 20:37:36 +0000 (23:37 +0300)]
Tests/datetime: set the weekday to avoid Exactness error

The weekday, if not set, is the weekday of the day the test is run (i.e
today).
It means Exactness shots will be different most of the time.

6 years agoeina: prevent memory corruption in chained mempool
Jean Guyomarc'h [Sat, 16 Sep 2017 12:20:11 +0000 (14:20 +0200)]
eina: prevent memory corruption in chained mempool

The chained mempool uses eina trash to dispose and retrieve memory
blobs. Problem is that eina trash requires the memory blobs to be at
least of the size of a pointer. If the size of an element in the mempool
is less than the size of a pointer, which _is_ possible as no minimal
size is enforced, eina_trash will silently corrupt the memory pool.

To prevent memory corruption while still allowing small elements, the
size of an element defaults to the size of a pointer if it was smaller.
This comes at the cost of consuming slightly more memory in these cases,
but at least the memory pool can be safely be used.

@fix

6 years agoeo: fix doxygen typo
Jean Guyomarc'h [Sat, 16 Sep 2017 12:18:46 +0000 (14:18 +0200)]
eo: fix doxygen typo

6 years agoeina: handle errors when creating a mempool
Jean Guyomarc'h [Sat, 16 Sep 2017 12:17:25 +0000 (14:17 +0200)]
eina: handle errors when creating a mempool

If the backend initialization failed, the mempool would still be
successfully created. The mempool is now destroyed on failure.

6 years agoeo-cxx: Fix possible non-initialization in copy-constructor and move-constructor
Felipe Magno de Almeida [Fri, 15 Sep 2017 18:16:58 +0000 (15:16 -0300)]
eo-cxx: Fix possible non-initialization in copy-constructor and move-constructor

6 years agoeo-cxx: Fix conversion from char* to std::string
Felipe Magno de Almeida [Fri, 15 Sep 2017 17:53:19 +0000 (14:53 -0300)]
eo-cxx: Fix conversion from char* to std::string

6 years agoEdje external tests: fix some texts
Dave Andreoli [Fri, 15 Sep 2017 17:37:54 +0000 (19:37 +0200)]
Edje external tests: fix some texts

The bugs mentioned are now fixed

6 years agoeolian: remove old ownership system
Daniel Kolesa [Fri, 15 Sep 2017 15:52:55 +0000 (17:52 +0200)]
eolian: remove old ownership system

6 years agoelua: update for new eolian ownership system
Daniel Kolesa [Fri, 15 Sep 2017 15:52:38 +0000 (17:52 +0200)]
elua: update for new eolian ownership system

6 years agoeolian: correctness fixes in tests and eo files
Daniel Kolesa [Fri, 15 Sep 2017 15:48:28 +0000 (17:48 +0200)]
eolian: correctness fixes in tests and eo files

6 years agoeolian cxx/js: fix test eo file ownership
Daniel Kolesa [Fri, 15 Sep 2017 15:10:41 +0000 (17:10 +0200)]
eolian cxx/js: fix test eo file ownership

6 years agoelementary: convert to new ownership
Daniel Kolesa [Fri, 15 Sep 2017 15:05:30 +0000 (17:05 +0200)]
elementary: convert to new ownership

6 years agoefl interfaces: convert to new ownership
Daniel Kolesa [Fri, 15 Sep 2017 14:57:44 +0000 (16:57 +0200)]
efl interfaces: convert to new ownership

6 years agoecore: convert existing eo files to new ownership
Daniel Kolesa [Fri, 15 Sep 2017 14:51:37 +0000 (16:51 +0200)]
ecore: convert existing eo files to new ownership

6 years agoeo files: first batch of @owned conversions
Daniel Kolesa [Fri, 15 Sep 2017 14:44:26 +0000 (16:44 +0200)]
eo files: first batch of @owned conversions

6 years agoeolian: switch validation to new ownership system
Daniel Kolesa [Fri, 15 Sep 2017 14:37:26 +0000 (16:37 +0200)]
eolian: switch validation to new ownership system

6 years agoeolian cxx: use new ownership check API
Daniel Kolesa [Fri, 15 Sep 2017 14:35:24 +0000 (16:35 +0200)]
eolian cxx: use new ownership check API

6 years agoeolian: add API to check for @owned
Daniel Kolesa [Fri, 15 Sep 2017 14:33:57 +0000 (16:33 +0200)]
eolian: add API to check for @owned

6 years agoeolian: store ownership info in types
Daniel Kolesa [Fri, 15 Sep 2017 14:30:52 +0000 (16:30 +0200)]
eolian: store ownership info in types

Even though ownership info belongs to params/returns/etc at syntax
level, we can still store it in the type and turn several API funcs
into one this way.

6 years agoeolian: parsing of new @owned syntax for complex types
Daniel Kolesa [Fri, 15 Sep 2017 14:24:46 +0000 (16:24 +0200)]
eolian: parsing of new @owned syntax for complex types

6 years agoeolian: disallow parsing of warn_unused/owned for funcptrs
Daniel Kolesa [Fri, 15 Sep 2017 13:54:48 +0000 (15:54 +0200)]
eolian: disallow parsing of warn_unused/owned for funcptrs

6 years agoeolian: initial parsing for @owned
Daniel Kolesa [Fri, 15 Sep 2017 13:51:25 +0000 (15:51 +0200)]
eolian: initial parsing for @owned

This is the new ownership system for Eolian, working on params,
returns, struct fields or events directly rather than specifying
ownership at type level. As the new system will evolve it will
gain missing features and necessary checks.

6 years agoTests: fix datetime test for Exactness
Daniel Zaoui [Tue, 12 Sep 2017 15:14:01 +0000 (18:14 +0300)]
Tests: fix datetime test for Exactness

The clock needs to be paused otherwise the shot is not stable

6 years agoTests: fix remote image
Daniel Zaoui [Tue, 5 Sep 2017 19:41:30 +0000 (22:41 +0300)]
Tests: fix remote image

URL was wrong as the server seems down.
Additionally, the two last lines have been swapped so the application
seems normal and not stretched.

6 years agoefl net - adapt to openssl 1.1.0 changes with tls method support
Carsten Haitzler (Rasterman) [Fri, 15 Sep 2017 05:14:03 +0000 (14:14 +0900)]
efl net - adapt to openssl 1.1.0 changes with tls method support

support the tls methods if on openssl 1.1.0 so we don't get
"unsupported cipher" as it does support it just with a new api.

@fix

6 years agogenlist: process item block positioning before relative item deleted
SangHyeon Jade Lee [Fri, 15 Sep 2017 03:11:50 +0000 (12:11 +0900)]
genlist: process item block positioning before relative item deleted

process item for positioning proper relative block before it's
relative item is deleted.

Signed-off-by: SangHyeon Jade Lee <dltkdgus1764@gmail.com>
6 years agoecore exe - fix fix malloc fail handling
Carsten Haitzler (Rasterman) [Thu, 14 Sep 2017 22:44:58 +0000 (07:44 +0900)]
ecore exe - fix fix  malloc fail handling

for both ecore_exe_win32.c and ecore_exe_posix.c when the rare case
(basically almost never) that malloc fails for the exe read/err
buffers also set the data size to 0 so it doesn't lie with a NULL ptr
for data.

@fix

6 years agoevas box - fix longstanding bug where min size is miscalculated
Carsten Haitzler (Rasterman) [Mon, 11 Sep 2017 12:36:47 +0000 (21:36 +0900)]
evas box - fix longstanding bug where min size is miscalculated

this has affected edje for... like... ever. min size of boxes just
doesnt work. because evas box just doesnt do it right. this has led to
nasty things where edje box is just not usable if you use weight of 0.
btw weight 0 means "stay at min size no matter what even if we expand
the box to be bigger" in edje... which is totally broken and i can't
fix that without potentially breaking even more stuff... but let's
see. i've been using this for several days now and ... i can't find
breakage... so this should fix up SOME issues in edje.

@fix

6 years agoecore: update buffer size before allocation, not after.
Cedric BAIL [Thu, 14 Sep 2017 18:35:35 +0000 (11:35 -0700)]
ecore: update buffer size before allocation, not after.

6 years agoeolian-cxx: Fix instantiate constructor with lambda after disambiguation patch
Felipe Magno de Almeida [Thu, 14 Sep 2017 18:06:10 +0000 (15:06 -0300)]
eolian-cxx: Fix instantiate constructor with lambda after disambiguation patch

6 years agoeolian-cxx: Fix example after disambiguation patch of C++ binding
Felipe Magno de Almeida [Thu, 14 Sep 2017 18:05:39 +0000 (15:05 -0300)]
eolian-cxx: Fix example after disambiguation patch of C++ binding

6 years agoeina: move the test to the new future and use the new Eina_Value array iterator macro.
Cedric BAIL [Thu, 14 Sep 2017 18:01:01 +0000 (11:01 -0700)]
eina: move the test to the new future and use the new Eina_Value array iterator macro.

6 years agoeina: add iterator macro for Eina_Value that contain an array.
Cedric BAIL [Thu, 14 Sep 2017 18:00:34 +0000 (11:00 -0700)]
eina: add iterator macro for Eina_Value that contain an array.

6 years agoeio: move efl.io.manager.xattr.get to use the new Eina_Future.
Cedric Bail [Thu, 14 Sep 2017 01:03:05 +0000 (18:03 -0700)]
eio: move efl.io.manager.xattr.get to use the new Eina_Future.

6 years agoefl: silent warnings shown on solaris due to missing header files.
Cedric BAIL [Thu, 14 Sep 2017 16:59:02 +0000 (09:59 -0700)]
efl: silent warnings shown on solaris due to missing header files.

6 years agoeio: don't flush value after giving ownership.
Cedric BAIL [Thu, 14 Sep 2017 16:36:33 +0000 (09:36 -0700)]
eio: don't flush value after giving ownership.

6 years agoeolian: default free funcs for builtin types
Daniel Kolesa [Thu, 14 Sep 2017 13:52:49 +0000 (15:52 +0200)]
eolian: default free funcs for builtin types

6 years agoelm test: ui.clock: eo-fy clock sample
Amitesh Singh [Thu, 14 Sep 2017 05:05:25 +0000 (14:05 +0900)]
elm test: ui.clock: eo-fy clock sample

6 years agoecore_imf: Add ecore_imf_context_input_panel_position_set API
InHong Han [Thu, 14 Sep 2017 01:39:03 +0000 (10:39 +0900)]
ecore_imf: Add ecore_imf_context_input_panel_position_set API

Summary: Sets the x,y coordinates of the input panel

Test Plan: Tested in Tizen device

Reviewers: woohyun, id213sin, jihoon, cedric

Subscribers: jpeg, jihoon, cedric

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

6 years agoeina: add tests for eina_value_to_binbuf.
Cedric Bail [Thu, 14 Sep 2017 00:26:26 +0000 (17:26 -0700)]
eina: add tests for eina_value_to_binbuf.

6 years agoeina: add an ability to quickly convert from an Eina_Value to an Eina_Binbuf.
Cedric Bail [Thu, 14 Sep 2017 00:26:04 +0000 (17:26 -0700)]
eina: add an ability to quickly convert from an Eina_Value to an Eina_Binbuf.

6 years agoeio: migrate efl.io.manager.open to use Eina_Future.
Cedric Bail [Wed, 13 Sep 2017 22:52:40 +0000 (15:52 -0700)]
eio: migrate efl.io.manager.open to use Eina_Future.

6 years agoecore: allow efl_loop_future_scheduler_get on all Efl.Loop.User.
Cedric Bail [Wed, 13 Sep 2017 22:51:49 +0000 (15:51 -0700)]
ecore: allow efl_loop_future_scheduler_get on all Efl.Loop.User.