Bruno da Silva Belo
fee91831cb
csharp: Using Array.Empty Eina.
...
Summary: ref T8421
Reviewers: lauromoura, felipealmeida, segfaultxavi, YOhoho
Reviewed By: lauromoura
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T8421
Differential Revision: https://phab.enlightenment.org/D10500
2019-10-25 14:23:14 -03:00
Bruno da Silva Belo
5844ab4320
csharp:Using Array.Empty genericmodel.
...
Summary: ref T8421
Reviewers: lauromoura, felipealmeida, YOhoho, segfaultxavi
Reviewed By: lauromoura
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T8421
Differential Revision: https://phab.enlightenment.org/D10501
2019-10-25 14:23:12 -03:00
Bruno da Silva Belo
e17213a09b
csharp: Changing Count() to Length on eina_value.
...
Summary: ref T8422
Reviewers: lauromoura, felipealmeida, YOhoho, segfaultxavi
Reviewed By: lauromoura
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T8422
Differential Revision: https://phab.enlightenment.org/D10499
2019-10-25 13:17:05 -03:00
Bruno da Silva Belo
68eefe1872
csharp: Using Count eina_promises.
...
Summary: ref T8422
Reviewers: lauromoura, felipealmeida, YOhoho, segfaultxavi
Reviewed By: lauromoura
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T8422
Differential Revision: https://phab.enlightenment.org/D10498
2019-10-25 13:16:57 -03:00
Bruno da Silva Belo
827a301131
csharp: Calling ConfigureAwait on tasks GM.
...
Summary: ref T8424
Reviewers: lauromoura, felipealmeida, YOhoho, segfaultxavi
Reviewed By: lauromoura
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T8424
Differential Revision: https://phab.enlightenment.org/D10497
2019-10-25 11:28:55 -03:00
Bruno da Silva Belo
c0f3febccf
csharp: Calling ConfigureAwait on tasks Model.
...
Summary: ref T8424
Reviewers: lauromoura, felipealmeida, YOhoho, segfaultxavi
Reviewed By: lauromoura
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T8424
Differential Revision: https://phab.enlightenment.org/D10496
2019-10-25 11:28:45 -03:00
Bruno da Silva Belo
882a2d4ec4
csharp: Calling ConfigureAwait on task eopromises.
...
Summary: ref T8424
Reviewers: lauromoura, felipealmeida, YOhoho, segfaultxavi
Reviewed By: lauromoura
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T8424
Differential Revision: https://phab.enlightenment.org/D10495
2019-10-25 11:28:39 -03:00
Yeongjong Lee
69261251a7
mono: implement dispose method based on dispose pattern
...
Summary:
Fix CA1063, CA1816
ref T8400, T8419
Test Plan:
meson setup -Dbindings=mono,cxx -Dmono-beta=true
ninja test
Reviewers: felipealmeida, brunobelo, YOhoho
Reviewed By: YOhoho
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T8419, T8400
Differential Revision: https://phab.enlightenment.org/D10460
2019-10-25 11:02:50 -03:00
Mike Blumenkrantz
bcf27e35a2
tests/layout: add legacy layout test to verify behavior with legacy size hints
...
Summary:
this verifies that user-set legacy size hints will be applied accurately during
calc, and that the size of a layout can accurately decrease when its contents min
sizes decrease
ref 95b5731461
Reviewers: cedric
Reviewed By: cedric
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D10453
2019-10-25 09:54:19 -04:00
Mike Blumenkrantz
3638b632c8
efl_ui/text_scroller: fix null derefs
...
Summary: CIDs 1403890, 1396964, 1396945
Reviewers: cedric, vtorri
Reviewed By: cedric
Subscribers: vtorri, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D10447
2019-10-25 09:54:19 -04:00
Bruno da Silva Belo
1adb765879
csharp: Returning only method name iwrapper.
...
Summary:
GetUserMethods returning only strings,
not the whole method informations.
Reviewers: lauromoura, felipealmeida
Reviewed By: lauromoura
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D10503
2019-10-24 19:25:35 -03:00
Yeongjong Lee
6231d5f252
efl_ui_relative_layout: change child, target parameter type to Efl.Gfx.Entity
...
child, target should be graphical object.
Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D10401
2019-10-24 08:07:52 -07:00
Mike Blumenkrantz
cdacc790f7
elm/code: check save file attrs after opening
...
ensure that they haven't changed between time of check and time of open
CID 1396966
Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D10440
2019-10-24 08:07:50 -07:00
Hosang Kim
b2ee3ad748
efl_message: add pending queue for filtering message.
...
Sometimes message is appended when message queue is walking.
In this case, newly added messages are not filtered.
So I add message pending queue for filtering message.
Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D10459
2019-10-24 08:07:49 -07:00
Yeongjong Lee
b8ba39f4cb
eina_mono: re-throw exception to preserve stack details
...
Summary:
fix CA2200
ref T8426
Test Plan:
meson setup -Dbindings=mono,cxx -Dmono-beta=true
ninja test
Reviewers: lauromoura, felipealmeida, brunobelo
Reviewed By: lauromoura
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T8426
Differential Revision: https://phab.enlightenment.org/D10462
2019-10-24 18:34:30 -03:00
Yeongjong Lee
1158775084
eina_mono: Initialize UNHANDLED_EXCEPTION inline
...
Summary:
fix CA2207
ref T8427
Test Plan:
meson setup -Dbindings=mono,cxx -Dmono-beta=true
ninja test
Reviewers: lauromoura, felipealmeida, brunobelo
Reviewed By: lauromoura
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T8427
Differential Revision: https://phab.enlightenment.org/D10463
2019-10-24 18:34:30 -03:00
Lauro Moura
f33183ba04
csharp: Add since information to EoWrapper.cs
...
Reviewers: brunobelo, segfaultxavi, felipealmeida, woohyun
Reviewed By: segfaultxavi
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D10429
2019-10-24 18:49:23 +02:00
Mike Blumenkrantz
59ad959e85
tests/ecore: ensure that we attempt to re-set PATH in ecore-file tests
...
Summary:
if this test failed before for any reason, PATH would be permanently changed
for the current shell and process, which is obviously not what we want
Depends on D10414
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D10415
2019-10-24 18:23:14 +02:00
Mike Blumenkrantz
30f6c12cbf
tests/ecore: replace all bespoke strcats with snprintf
...
Summary:
CID 1400812
Depends on D10413
Reviewers: devilhorns
Reviewed By: devilhorns
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D10414
2019-10-24 18:23:11 +02:00
Mike Blumenkrantz
e05311a99a
tests/ecore: unset app args after app args unit test to prevent invalid reads
...
Summary:
various internal components in efl access the app args and read them which
will result in invalid memory access since these are stack-allocated strings
Depends on D10412
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D10413
2019-10-24 18:23:03 +02:00
Mike Blumenkrantz
f5e9af8c67
ecore/app: permit resetting app args to uninitialized (zeroed) state
...
Summary:
this is mainly useful for unit testing, but unsetting values should not be
treated as an error
Reviewers: segfaultxavi
Reviewed By: segfaultxavi
Subscribers: segfaultxavi, cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D10412
2019-10-24 18:20:34 +02:00
Mike Blumenkrantz
fdb931fb6e
tests/eina: use slstr_steal function in slstr_steal test
...
Summary: CID 1401043
Reviewers: segfaultxavi
Reviewed By: segfaultxavi
Subscribers: segfaultxavi, cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D10404
2019-10-24 17:55:17 +02:00
Mike Blumenkrantz
896f234b25
tests/spec: free array in multi selectable tests
...
Summary: CIDs 1405810, 1405807, 1405806, 1405805, 1405803, 1405801, 1403902
Reviewers: segfaultxavi
Reviewed By: segfaultxavi
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D10403
2019-10-24 17:46:52 +02:00
Yeongjong Lee
11a00e406c
mono: merge namespaces in manual bindings
...
Summary:
It will enhance readability.
Before
```
namespace Efl {
namespace Eo {
```
After
```
namespace Efl.Eo {
```
Test Plan: meson setup -Dbindings=mono,cxx -Dmono-beta=true
Reviewers: lauromoura, Jaehyun_Cho, segfaultxavi
Reviewed By: segfaultxavi
Subscribers: segfaultxavi, cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D10466
2019-10-24 17:19:43 +02:00
Felipe Magno de Almeida
a3ade15d5a
cxx: Add license to CXX bindings.
...
Summary:
Like C#, it will also be Apache 2.0
Depends on D9414
Reviewers: vitor.sousa, woohyun, jpeg, lauromoura
Reviewed By: lauromoura
Subscribers: jpeg, cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D9418
2019-10-24 10:40:16 -03:00
Lauro Moura
40a980174b
csharp: Add licensing information.
...
Summary:
C# bindings will be lincensed under Apache Sofware License 2.0.
This commit adds the license text to the licenses folder and a copyright
notice to the binding files.
Fixes T8039
Reviewers: woohyun, felipealmeida, vitor.sousa
Reviewed By: felipealmeida
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T8039
Differential Revision: https://phab.enlightenment.org/D9414
2019-10-24 10:10:56 -03:00
Mike Blumenkrantz
408102427f
examples/efl_thread: fix oob writes
...
Summary: CIDs 1403896, 1403895, 1403892
Reviewers: segfaultxavi
Reviewed By: segfaultxavi
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D10395
2019-10-24 14:52:16 +02:00
Mike Blumenkrantz
fbb8d83373
examples/ecore: use correct type for getchar() return
...
Summary:
correct prototype is int getchar(void);
CID 1400794
Reviewers: segfaultxavi
Reviewed By: segfaultxavi
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D10391
2019-10-24 14:40:33 +02:00
Carsten Haitzler
39ba1b79d4
spaces--
2019-10-24 13:13:29 +01:00
Daniel Kolesa
079b1f05b1
eina: remove eina_config.h.in
...
This is never actually used since meson generates eina_config.h
from scratch. Apart from the byteswap checks done in the previous
commit, all of the other things already seem to be done by meson,
so just remove it.
2019-10-23 15:51:34 +02:00
Daniel Kolesa
84251f9f00
eina: unbreak byteswap checks
...
For one, eina_config.h.in is never used by anything since meson,
so doing any checks in it and expecting them to work is wrong.
Byteswaps are one place where this is the case, so move the
checks back in their appropriate place.
2019-10-23 15:51:08 +02:00
Xavi Artigas
69b1b1cc3e
docs: small fixes to Efl.Text
2019-10-23 10:15:30 +02:00
Christopher Michael
dedeb77b02
ecore-evas-wayland: Minor formatting fixes
...
NB: No functional changes
2019-10-22 10:59:29 -04:00
Christopher Michael
b5c30bfbbe
ecore-wl2: Minor formatting fix
...
NB: No functional changes
2019-10-22 10:42:54 -04:00
Christopher Michael
68b107ff59
ecore_evas_wayland: Fix array step size
...
Fix bug where eina_array step size was being increased by 10 everytime
a handler was pushed to the array. There is no need to increase array
size by 10 each time we add 1 pointer to handler.
@fix
2019-10-22 10:12:51 -04:00
Christopher Michael
f7fdb9c7f6
ecore-evas-wayland: Add handler to array
...
Small patch to fix bug where last event handler was not being added to
the event_hdls array
@fix
2019-10-22 10:11:24 -04:00
Christopher Michael
520b844f4a
ecore-evas-wayland: Minor formatting fix
...
NB: No functional changes
2019-10-22 10:06:23 -04:00
Christopher Michael
ea2b24b182
ecore-evas-wayland: Minor formatting fix
...
NB: No functional changes
2019-10-22 10:04:01 -04:00
Daniel Kolesa
038539176c
eina: fix network byte order swap funcs on big endian
2019-10-22 10:59:42 +02:00
Ali Alzyod
46f2d8acdc
evas_object_textblock: add support for variation sequences
...
Summary: update font processing to handle variation sequences unicodes to select proper glypg in respect to variation seqences
Test Plan:
```
#define EFL_EO_API_SUPPORT 1
#define EFL_BETA_API_SUPPORT 1
#include <Eina.h>
#include <Efl.h>
#include <Elementary.h>
EAPI_MAIN int
elm_main(int argc, char **argv)
{
Evas_Object *win, *textblock;
elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED);
win = elm_win_util_standard_add("Main", "");
elm_win_autodel_set(win, EINA_TRUE);
textblock = evas_object_textblock_add(win);
efl_canvas_text_style_set(textblock,NULL,"DEFAULT='font=DejaVuSans font_fallbacks=SamsungColorEmoji color=#000 font_size=20'");
evas_object_textblock_text_markup_set(textblock, "8️⃣☪️AAA☪︎1234567️⃣");
evas_object_size_hint_weight_set(textblock, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(textblock, EVAS_HINT_FILL, EVAS_HINT_FILL);
evas_object_show(textblock);
evas_object_move(textblock, 0, 0);
evas_object_resize(textblock, 320, 320);
evas_object_resize(win, 320, 320);
evas_object_show(win);
elm_run();
return 0;
}
ELM_MAIN()
```
Reviewers: woohyun, bowonryu, segfaultxavi, cedric, bu5hm4n
Reviewed By: woohyun, cedric
Subscribers: bu5hm4n, subodh6129, herdsman, segfaultxavi, zmike, cedric, #committers, #reviewers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D9053
2019-10-19 14:01:36 +09:00
Mike Blumenkrantz
20b592cef7
fix various trivial null derefs
...
Summary:
CIDs 1401081, 1401044, 1400983, 1400960, 1400927, 1400799, 1396946, 1396944,
1383851, 1383847, 1382211, 1379921, 1379921
Reviewers: cedric
Reviewed By: cedric
Subscribers: #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D10452
2019-10-18 13:30:10 -04:00
Mike Blumenkrantz
c12008b4d0
efl/io: return EINVAL if null slice is passed for writing
...
Summary: CIDs 1396996, 1396983, 1396953
Reviewers: cedric
Reviewed By: cedric
Subscribers: #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D10451
2019-10-18 13:30:03 -04:00
Mike Blumenkrantz
ccf0106448
tests/ecore_con: clarify pointer usage in ecore_con_url tests
...
Summary:
this was pretty bizarre
CID 1401029
Reviewers: cedric
Reviewed By: cedric
Subscribers: #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D10450
2019-10-18 13:29:57 -04:00
Mike Blumenkrantz
8d0561ac9c
elm/main: fix null deref
...
Summary: CID 1402697
Reviewers: cedric
Reviewed By: cedric
Subscribers: #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D10449
2019-10-18 13:29:51 -04:00
Mike Blumenkrantz
7a122db342
efl/engines: fix null derefs
...
Summary: CIDs 1402640, 1402709
Reviewers: cedric
Reviewed By: cedric
Subscribers: #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D10448
2019-10-18 13:29:44 -04:00
Mike Blumenkrantz
ebcafd4249
evas_vg/svg: fix null deref
...
Summary: CID 1405672
Reviewers: cedric
Reviewed By: cedric
Subscribers: #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D10446
2019-10-18 13:29:38 -04:00
Mike Blumenkrantz
c81e4d5080
eina/convert: init endptr in failure case of eina_convert_strtod_c
...
Summary:
there is not any way to determine that this function has failed other
than to check this pointer, so ensure that it always has a value which
is meaningful in failure cases
Reviewers: cedric
Reviewed By: cedric
Subscribers: #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D10445
2019-10-18 13:29:32 -04:00
Mike Blumenkrantz
9ea26fd88f
efl/boolean_model: remove misleading null check
...
Summary:
this is always a pointer to a stack variable
CID 1405799
Reviewers: cedric
Reviewed By: cedric
Subscribers: #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D10444
2019-10-18 13:29:26 -04:00
Mike Blumenkrantz
7b93d492d6
embryo: don't use sizeof() when strlen() is intended
...
Summary: CID 1402617
Reviewers: cedric
Reviewed By: cedric
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D10411
2019-10-18 13:29:20 -04:00
Mike Blumenkrantz
8cef6a9724
tests: fix minor string leaks
...
Summary: CIDs 1404754, 1401022, 1400965
Reviewers: devilhorns
Reviewed By: devilhorns
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D10405
2019-10-18 13:29:13 -04:00