Daniel Zaoui
151d7a6517
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.
2017-09-17 09:31:24 +03:00
Jean Guyomarc'h
96ab58fb8e
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
2017-09-16 14:28:39 +02:00
Jean Guyomarc'h
76144128ce
eo: fix doxygen typo
2017-09-16 14:28:39 +02:00
Jean Guyomarc'h
ca731fbfb6
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.
2017-09-16 14:28:39 +02:00
Felipe Magno de Almeida
b5c4aeab94
eo-cxx: Fix possible non-initialization in copy-constructor and move-constructor
2017-09-15 15:16:58 -03:00
Felipe Magno de Almeida
6ded80a9b5
eo-cxx: Fix conversion from char* to std::string
2017-09-15 14:56:23 -03:00
Davide Andreoli
6714763dab
Edje external tests: fix some texts
...
The bugs mentioned are now fixed
2017-09-15 19:38:24 +02:00
Daniel Kolesa
9da5cf20aa
eolian: remove old ownership system
2017-09-15 17:52:55 +02:00
Daniel Kolesa
60d6aeeb2d
elua: update for new eolian ownership system
2017-09-15 17:52:38 +02:00
Daniel Kolesa
1afd3c215f
eolian: correctness fixes in tests and eo files
2017-09-15 17:48:28 +02:00
Daniel Kolesa
c559380f7f
eolian cxx/js: fix test eo file ownership
2017-09-15 17:10:41 +02:00
Daniel Kolesa
78a5ac09f8
elementary: convert to new ownership
2017-09-15 17:05:30 +02:00
Daniel Kolesa
9622511df0
efl interfaces: convert to new ownership
2017-09-15 16:57:44 +02:00
Daniel Kolesa
8f6ba61011
ecore: convert existing eo files to new ownership
2017-09-15 16:51:37 +02:00
Daniel Kolesa
a8b8b7efde
eo files: first batch of @owned conversions
2017-09-15 16:44:26 +02:00
Daniel Kolesa
21213802e4
eolian: switch validation to new ownership system
2017-09-15 16:37:26 +02:00
Daniel Kolesa
157e125114
eolian cxx: use new ownership check API
2017-09-15 16:35:24 +02:00
Daniel Kolesa
4b27fe6571
eolian: add API to check for @owned
2017-09-15 16:33:57 +02:00
Daniel Kolesa
010650663b
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.
2017-09-15 16:30:52 +02:00
Daniel Kolesa
792855a1fa
eolian: parsing of new @owned syntax for complex types
2017-09-15 16:24:46 +02:00
Daniel Kolesa
4c4c641c4b
eolian: disallow parsing of warn_unused/owned for funcptrs
2017-09-15 15:54:48 +02:00
Daniel Kolesa
11ad2b94ff
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.
2017-09-15 15:51:25 +02:00
Daniel Zaoui
82fcf8aeca
Tests: fix datetime test for Exactness
...
The clock needs to be paused otherwise the shot is not stable
2017-09-15 15:40:40 +03:00
Daniel Zaoui
1a9e739ebc
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.
2017-09-15 15:40:40 +03:00
Carsten Haitzler
f179d32157
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
2017-09-15 16:12:59 +09:00
SangHyeon Jade Lee
d3440a9867
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>
2017-09-15 12:11:55 +09:00
Carsten Haitzler
dc137aba43
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
2017-09-15 07:44:58 +09:00
Carsten Haitzler
0f08ee686e
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
2017-09-15 07:35:34 +09:00
Cedric BAIL
a10a1fa641
ecore: update buffer size before allocation, not after.
2017-09-14 11:46:28 -07:00
Felipe Magno de Almeida
44c0199f42
eolian-cxx: Fix instantiate constructor with lambda after disambiguation patch
2017-09-14 15:06:33 -03:00
Felipe Magno de Almeida
761e6a304c
eolian-cxx: Fix example after disambiguation patch of C++ binding
2017-09-14 15:06:33 -03:00
Cedric BAIL
fb31440f49
eina: move the test to the new future and use the new Eina_Value array iterator macro.
2017-09-14 11:01:22 -07:00
Cedric BAIL
112777fc7a
eina: add iterator macro for Eina_Value that contain an array.
2017-09-14 11:00:34 -07:00
Cedric Bail
cba58203a3
eio: move efl.io.manager.xattr.get to use the new Eina_Future.
2017-09-14 10:11:29 -07:00
Cedric BAIL
024c6a9fc3
efl: silent warnings shown on solaris due to missing header files.
2017-09-14 09:59:02 -07:00
Cedric BAIL
6a4bc78eaf
eio: don't flush value after giving ownership.
2017-09-14 09:36:33 -07:00
Daniel Kolesa
518ca72d06
eolian: default free funcs for builtin types
2017-09-14 15:53:30 +02:00
Amitesh Singh
14ef6c2ba4
elm test: ui.clock: eo-fy clock sample
2017-09-14 14:05:25 +09:00
InHong Han
9f068c55db
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
2017-09-14 10:49:03 +09:00
Cedric Bail
cacd374e41
eina: add tests for eina_value_to_binbuf.
2017-09-13 17:26:26 -07:00
Cedric Bail
8fbfab83e9
eina: add an ability to quickly convert from an Eina_Value to an Eina_Binbuf.
2017-09-13 17:26:04 -07:00
Cedric Bail
b9ef9af74a
eio: migrate efl.io.manager.open to use Eina_Future.
2017-09-13 15:53:00 -07:00
Cedric Bail
ba34b998eb
ecore: allow efl_loop_future_scheduler_get on all Efl.Loop.User.
2017-09-13 15:53:00 -07:00
Daniel Kolesa
a9aed90fde
eolian: more relaxed rules on what is actually ownable
...
For example, aliases to ownable types are now also ownable,
which wasn't possible in the previous version, where you could
only own actual expanded ownable types.
2017-09-14 00:34:06 +02:00
Daniel Kolesa
59347d4c4b
eolian: include terminatable checks in ownable check
2017-09-14 00:28:32 +02:00
Daniel Kolesa
8ff2bf35fe
eolian: inherit freefunc between types/typedecls
2017-09-14 00:12:46 +02:00
Daniel Kolesa
d05127eb1a
eolian: make test data validate
2017-09-13 23:58:47 +02:00
Daniel Kolesa
e55ab81835
eolian: always implicitly validate database and remove its API
2017-09-13 23:58:47 +02:00
Daniel Kolesa
2a9be1f5be
eolian: move terminated_array typecheck to validate pass
2017-09-13 23:58:47 +02:00
Daniel Kolesa
a0adca9cb9
eolian: move ownable checks to validation stage
2017-09-13 23:58:47 +02:00