Commit Graph

62000 Commits

Author SHA1 Message Date
Vincent Torri 7404904a43 ecore_win32: use AddClipboardFormatListener and RemoveClipboardFormatListener explicitely
instead of loading them from user32.dll

Summary: current mingw-w64 declare these functions

Test Plan: compilation

Reviewers: zmike, raster, cedric

Reviewed By: zmike

Subscribers: #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8644
2019-04-17 17:31:21 -04:00
Vincent Torri f7608b1e90 ecore_win32: remove explicit define of WM_CLIPBOARDUPDATE
Summary: since ewpi is used, a newer mingw-w64 is used, which defines WM_CLIPBOARDUPDATE

Test Plan: compilation

Reviewers: raster, zmike, cedric

Reviewed By: zmike

Subscribers: #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8643
2019-04-17 15:45:50 -04:00
Mike Blumenkrantz 59526ba58d build: use only BUILD_ECORE_IMF_XIM as a define
Summary:
meson and autotools were a bit out of sync with this, resulting in
unexpected behavior

Reviewers: billiob

Reviewed By: billiob

Subscribers: billiob, cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8641
2019-04-17 15:45:35 -04:00
Carsten Haitzler f81dfbfe64 eina vpath - clear up vpath to handle env vars that are too big as fatal 2019-04-17 17:44:12 +01:00
Vincent Torri a30caf333e eina_vpath: port to Windows
Test Plan: test example

Reviewers: raster, cedric, zmike

Subscribers: #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8633
2019-04-17 17:44:12 +01:00
Cedric BAIL f75675cb62 eio: remove unecessary printf from tests.
Summary: Depends on D8539

Reviewers: zmike, bu5hm4n

Reviewed By: zmike

Subscribers: #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8542
2019-04-17 12:35:06 -04:00
Boris Faure 57befed87a autotools: remove all usage of evas_image_loader_tgv_(cflags|libs)
Summary:
these are empty variables which are apparently causing build errors for
some users in certain cases
Finishes work from c2ae61ed0d (
https://phab.enlightenment.org/D7876 )

Reviewers: zmike

Reviewed By: zmike

Subscribers: zmike, cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8623
2019-04-17 11:21:21 -04:00
Vincent Torri 1ce20e6a99 efl-net.pc.in : honor datarootdir
Reviewers: raster, zmike

Reviewed By: raster

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8632
2019-04-17 10:45:08 -04:00
Marcel Hollerbach 6a00de11f7 behavior-tests: add Efl.Ui.Table
there are no tests for Efl.Pack_Table for now, so here comes unification
for Efl.Pack tests.

Differential Revision: https://phab.enlightenment.org/D8557
2019-04-17 15:21:14 +02:00
Marcel Hollerbach 37a5d6c0d1 efl_ui_table: remove callbacks when item is removed
everything else is wrong.

Reviewed-by: YeongJong Lee <yj34.lee@samsung.com>
Differential Revision: https://phab.enlightenment.org/D8556
2019-04-17 15:21:14 +02:00
Marcel Hollerbach f7baa89ca9 efl_ui_table: correctly delete all items when clearing / unpacking
otherwise we do not clear the internals, and fail to get the count to 0.

Reviewed-by: YeongJong Lee <yj34.lee@samsung.com>
Differential Revision: https://phab.enlightenment.org/D8555
2019-04-17 15:21:13 +02:00
Marcel Hollerbach 48778f3cfb efl_ui_table: hardening of pack_at function
_pack_at is used to add new subobjects to the table. When a object is
already part of this table, then we should not add it again. Additional,
when there is already a gi structure, but the parent is something else,
then we should NOT just reuse this struct, otherwise we might use a
struct reference that we do not own. The struct could be owned by
another table widget.

The test must be adjusted, before we did not error on adding a widget
twice. Now we do (just like in box). Hence we should not do that in
test.

Reviewed-by: YeongJong Lee <yj34.lee@samsung.com>
Differential Revision: https://phab.enlightenment.org/D8554
2019-04-17 15:21:12 +02:00
Marcel Hollerbach 6440e509a0 elm: here comes a new testsuite
We have two elementary test suite, what is more obvious than just adding
a third one! This testsuite aims for establishing a standard behaviour
for the interfaces we have added in efl now. This first part here brings
a few testcases for Efl.Pack which are currently only passing for
Efl.Ui.Box. More widgets will be added afterwards.

The testcases themself are not defined after what worked or did not
work, but rather what made sence (in my opinion ^_^).

ref T7767

Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Differential Revision: https://phab.enlightenment.org/D8518
2019-04-17 15:21:11 +02:00
Marcel Hollerbach b0549bb8cc efl_ui_box: print more errors,
when a element is added two times, we should print an error. Same for
removing a child that is not part of this container.

Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Differential Revision: https://phab.enlightenment.org/D8522
2019-04-17 15:21:10 +02:00
Marcel Hollerbach adc51e882c efl_ui_widget: we should ensure that every subobject is a gfx entity
we are calling visible_set on them later on, this will drop errors,
additionally this safes us from checking this in the widget-container
code.

Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D8520
2019-04-17 15:21:09 +02:00
Yeongjong Lee d5445918ec ui.box: remove leagcy evas_box from Efl.Ui.Box
Remove legacy stuff from Efl.Ui.Box.
This expect to improve performance by removing internal function call related
evas_box.

Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D8417
2019-04-17 15:21:07 +02:00
Yeongjong Lee 0585355282 efl.pack_linear: Clarify behavior and docs
Some APIs accept both positive and negative indices when accessing items.
This patch changes the documentation for the lower limit from `-(count - 1)` to
`-count` to allow accessing the very first item.

For example (content_count = 5):
|              |first item|  |  |  |last item|
|positive index|       0  | 1| 2| 3|    4    |
|negative index|      -5  |-4|-3|-2|   -1    |

If negative indices are limited to be >= -4 the first item cannot be accessed
using negative indices.

Also, range limit of `pack_at` is removed for usability.

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Reviewed-by: YeongJong Lee <yj34.lee@samsung.com>
Differential Revision: https://phab.enlightenment.org/D8433
2019-04-17 15:21:06 +02:00
Taehyub Kim f85bb6bc9a elm_notify: fix theme apply logic for new return value
Summary: fix theme apply logic for new return value

Test Plan: 1. run elementary_test for elm_notify and elm_popup

Reviewers: Jaehyun_Cho, woohyun

Reviewed By: Jaehyun_Cho

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8628
2019-04-17 16:59:24 +09:00
Jaehyun Cho 382520fda4 efl_ui_pager: fix to delete component objects when pager is deleted
Pager creates Efl.Canvas.Rectangle objects when pager is constructed.
Since the parent of these component objects is evas, these component
objects are not deleted automatically when pager is deleted.
These component objects cause event block after pager is deleted.
(e.g. click event is blocked)
To resolve this issue, these component objects are deleted manually when
pager is deleted.
2019-04-17 15:22:54 +09:00
Jaehyun Cho 74d1a0ec08 Revert "Revert "elm - fix harmless warning for clean build""
This reverts commit d2eebb6f5f.

To restore e3d2a0cf12 which implements
features during feature freeze period, the revert commit is reverted.
2019-04-17 15:22:38 +09:00
Jaehyun Cho 326b1e440a Revert "Revert "test/efl_ui_pager: fix demo""
This reverts commit f652bf9328.

To restore d3bb1a7342 which implements
features during feature freeze period, the revert commit is reverted.
2019-04-17 15:22:13 +09:00
Jaehyun Cho 561764b972 Revert "Revert "test/efl_ui_pager_scroll: fix demo""
This reverts commit 5742caa601.

To restore 30bd541bf2 which implements
features during feature freeze period, the revert commit is reverted.
2019-04-17 15:21:49 +09:00
Jaehyun Cho b5c078bebb Revert "Revert "efl_ui_pager: implement unpack_all/clear function""
This reverts commit b28f1e034b.

To restore 74c48f0296 which implements
features during feature freeze period, the revert commit is reverted.
2019-04-17 15:21:27 +09:00
Jaehyun Cho cf029754eb Revert "Revert "efl_ui_pager: implement unpack_at function""
This reverts commit a10e1bc597.

To restore 913a5bff66 which implements
features during feature freeze period, the revert commit is reverted.
2019-04-17 15:20:28 +09:00
Vincent Torri 6559f64d28 evil: remove tmp and home dir get
Summary: eina implement them for all OSes

Test Plan: compilation

Reviewers: raster, cedric, zmike

Reviewed By: raster

Subscribers: #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8621
2019-04-16 17:59:28 +01:00
Mike Blumenkrantz d31adef9fe efl_ui_image: fix warning about calling smooth_scale_set on non-image
Summary: this is triggered during object construction when no image exists

Reviewers: devilhorns

Reviewed By: devilhorns

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8617
2019-04-16 08:55:11 -04:00
Xavi Artigas 82b005875d docs: Typo 2019-04-16 11:06:23 +02:00
Lauro Moura cacbd9e58d cxx: Fix eldbus meta include name
Summary:
It should not conflict with Eldbus_Model header

Fixes T7805

Reviewers: vtorri

Reviewed By: vtorri

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7805

Differential Revision: https://phab.enlightenment.org/D8611
2019-04-15 19:20:10 -03:00
Lauro Moura 9e29b69c2a csharp: Remove warning about clashing GetType() methods
Summary:
This changes the naming scheme to replace `GetType`/`SetType` methods
with `Get<CLASS>Type`/`Set<CLASS>Type`. Like `GetGestureType`.

Avoids cs compiler complaining of clashing with `System.Object.GetType`.

Fixes T7727

Reviewers: segfaultxavi, felipealmeida, vitor.sousa

Reviewed By: vitor.sousa

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7727

Differential Revision: https://phab.enlightenment.org/D8609
2019-04-15 16:31:45 -03:00
Lauro Moura 1dd25a9238 csharp: Remove unused variable `methods` warning.
Summary: Only generate it if there was at least one method registered.

Reviewers: vitor.sousa, felipealmeida

Reviewed By: vitor.sousa

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8608
2019-04-15 15:55:09 -03:00
Lauro Moura b6529a65c6 csharp: Rename MarshalTest to MarshalEo
Summary: To better reflect its intent

Reviewers: segfaultxavi, vitor.sousa, felipealmeida

Reviewed By: vitor.sousa

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8607
2019-04-15 15:36:22 -03:00
Lauro Moura d775b58a63 csharp: Fix free_cb calling under dotnet.
Summary:
dotnet's GC seems to be more agressive, showing some issues that usually
do not appear when running under Mono's.

This commit uses for free_cb's the same scheme we already use for
regular Eo refs, using a GC handle to keep the cleaning callback alive.

Reviewers: vitor.sousa, felipealmeida, woohyun

Reviewed By: vitor.sousa

Subscribers: segfaultxavi, cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8593
2019-04-15 15:24:29 -03:00
Xavi Artigas 7a55202499 mono-docs: No need no blacklist *Concrete classes anymore 2019-04-15 14:58:23 +02:00
Lauro Moura 332d6368cd csharp: Make concrete classes internal.
Summary:
They don't need to be public anymore. After merging other changes we can
try to actually remove them.

Fixes T7801

Reviewers: segfaultxavi, vitor.sousa, felipealmeida

Reviewed By: segfaultxavi, vitor.sousa

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7801

Differential Revision: https://phab.enlightenment.org/D8601
2019-04-15 14:38:20 +02:00
Carsten Haitzler cff35dc9dc update po... 2019-04-15 13:34:20 +01:00
Vincent Torri f218ac741c Windows : fix the definition of EAPI
Summary:
with autotools, EFL_BUILD was passed to the preprocessor for libraries and binaries, which was wrong. Only libraries must have EFL_BUILD defined. See T7797 for an explanation
This also fix EAPI in Ecore_Getopt.g and Efl_UI.h

Also note that all the wayland and drm Makefile's have not been touched

Test Plan: compilation

Reviewers: raster, zmike, cedric

Subscribers: #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8602
2019-04-15 13:34:20 +01:00
Carsten Haitzler 01f634b7db elm test - add tests ofr other styles for panes provided by default 2019-04-15 13:34:20 +01:00
abdulleh Ghujeh bc5df48ffe Unreachable code
Summary: Removed condition that will never be fulfilled

Reviewers: ali.alzyod, bowonryu, woohyun, segfaultxavi

Reviewed By: segfaultxavi

Subscribers: segfaultxavi, cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8606
2019-04-15 13:55:19 +02:00
Yeongjong Lee 7ded945323 gitignore: add elm_default_config.x
Summary: elm_default_config.x is created by build script.

Reviewers: segfaultxavi

Reviewed By: segfaultxavi

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8605
2019-04-15 13:08:05 +02:00
Wonki Kim f944f91407 scroll_mgr: fix a type for some vars to be portable
Summary:
char type can be singed or unsinged according to the standard.
variables for keeping sign value should be sign, and that is the reason
why this patch modify a type for some variables explictly.

Reviewers: eagleeye

Reviewed By: eagleeye

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8604
2019-04-15 16:25:29 +09:00
Xavi Artigas 8c45aca05e mono-docs: Allow derived classes to have external examples
Summary:
You can now have external example files for derived classes (Efl.Ui.Button.SetText)
as well as for base classes (Efl.IText.SetText).
If both files are present, both examples are embedded in the docs. The more
examples the better!

Examples for classes in-between the hierarchy (Efl.Ui.Widget.SetText) are not
picked up. Might be worth examining in the future.

Test Plan:
Create example files for both `Efl.Ui.Button.AutorepeatEnabled.cs` and `Efl.Ui.IAutorepeat.AutorepeatEnabled.cs`.
You should see both examples appearing in the docs.

Reviewers: lauromoura, vitor.sousa

Reviewed By: vitor.sousa

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8597
2019-04-12 18:13:29 +02:00
Daniel Kolesa 37eee70d56 elua: add all missing eolian api bindings 2019-04-12 15:53:26 +02:00
Carsten Haitzler ae77e58366 evas - fix crash/junk pixel content but with tiled rotate at 270 + neon
@fix
2019-04-12 12:56:40 +01:00
Carsten Haitzler ebf2ca3c5b evas common - tiled rotate - fix signedness of neon intrinsics - warning 2019-04-12 11:24:32 +01:00
Carsten Haitzler eaf78210e8 evas common - convert - rotate tiled - fix const ptr warnings 2019-04-12 11:24:29 +01:00
Carsten Haitzler f43c19ac32 evas map - mark npoints param as unused because it is remove warning 2019-04-12 10:29:42 +01:00
Yeongjong Lee 48c27364fc efl_ui_widget: avoid calling null parent
Summary:
This will fix unnecessary warnings on P280.

Thanks to segfaultxavi for reporting.

ref T7796

Reviewers: zmike, segfaultxavi

Reviewed By: segfaultxavi

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7796

Differential Revision: https://phab.enlightenment.org/D8599
2019-04-12 09:15:11 +02:00
Woochanlee 638a36ea9a efl_ui_widget: Fix disabled set calling without meaning.
Summary:
The efl_ui_widget_disabled_set calling even the state is not change when widget create and destroy.

It broken backward compatibility.

T7799
@fix

Reviewers: bu5hm4n, Jaehyun_Cho

Reviewed By: Jaehyun_Cho

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8600
2019-04-12 15:45:37 +09:00
Vincent Torri a12bd0ad30 elementary: rename ELEMENTARY_BUILD to EFL_BUILD like all other libs
Test Plan: compilation

Reviewers: cedric, raster, zmike

Subscribers: #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8598
2019-04-11 17:58:56 +01:00
Jaehyun Cho b17e7fa95b efl_ui_list: fix to delete sub objects in efl_object_invalidate
widget's sub objects and callbacks should be deleted in
efl_object_invalidate instead of efl_object_destructor.

@fix
2019-04-11 20:20:50 +09:00