Hermet Park [Wed, 21 Nov 2018 11:35:11 +0000 (20:35 +0900)]
evas vg: fix indentation.
non-logical changes.
Change-Id: I7d505435dce291344befceee6169154ee7edb6d3
Hermet Park [Wed, 21 Nov 2018 11:08:39 +0000 (20:08 +0900)]
evas vg: set update dirty region properly.
zero sized dirty region is insane,
it must be size of vg area.
Change-Id: Iede9f552db1be1f2d634d262f8cd0d489d12cd1d
Hermet Park [Wed, 21 Nov 2018 11:05:02 +0000 (20:05 +0900)]
evas vg: update render properly.
If tree viewport is changed, vg visual must be updated,
This checks internal changed flags to update next frame.
@fix
Change-Id: I03a6d949fb5d899e225a755cdf8693c55dd3ed34
Hermet Park [Wed, 21 Nov 2018 11:00:19 +0000 (20:00 +0900)]
evas vg: code refactoring.
This doesn't change any logics.
just renamed internal variables and functions.
Change-Id: Ie1a46d23a0065436b45701d74fd1bdc05700633d
Hermet Park [Wed, 21 Nov 2018 11:40:32 +0000 (20:40 +0900)]
evas vg: rename efl_canvas_vg => efl_canvas_vg_object
Change-Id: Iac7cc8e20a5ed77d655d2e276ec3ba12444abaeb
Jiyoun Park [Wed, 21 Nov 2018 08:17:17 +0000 (17:17 +0900)]
Revert " ecore_evas_extn: add socket error handling code."
revert this patch after implement to deal with offscreen socket without ui for TC
This reverts commit
e7134e7596beca5eba1e60f18a1de63838223b0c.
Change-Id: I7b54f69ea09d0547f2aa0df43a9b22886185a7d5
Yeongjong Lee [Wed, 21 Nov 2018 06:58:43 +0000 (15:58 +0900)]
elm_widget: disable focus manager stuff
@tizen_fix
Change-Id: If0b2a7a9df825f42cb3f489f943fa3315095889e
Hermet Park [Tue, 20 Nov 2018 08:54:58 +0000 (17:54 +0900)]
evas gl: recover current program state.
Summary:
When we meets a new shader program in shape_context_push(),
it loads a shader binary, if it is necessary, create a new program for the shader.
In this step, the current program state could changed to this new one.
But still our gl context by shader_flush() could keep the previous program for next shader flush.
But it doens't know current program was changed by dropping by.
Here is a simple scenario:
1. evas_gl_common_context_image_push():
This image requires Program A. it calls evas_gl_common_context_push() internally.
then shader_array_flush() instantly.
It stores the current context including shader program(Program A)
2. evas_gl_common_context_xxx_push():
call evas_gl_common_shader_program_get().
xxx draws first time, it loads a new shader program.
Now this changed the current program to a new instant one.
...
3. shader_array_flush():
draw image which requires Prorgam A (No.1).
Unfortunately, stored context is same to this.
So, it skips some gl context setting including shader program.
@fix
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7309
Change-Id: Ie834548c969df57bd661a25f6dbc074f7d5bfc88
SangHyeon Jade Lee [Tue, 20 Nov 2018 05:32:31 +0000 (14:32 +0900)]
efl_ui_grid : introduce new packable grid widget for Efl.Ui.Widget
Summary:
Introduce new packable grid for Efl.Ui.Widget toolkits.
most of parts are same as Efl.Ui.List, and it also support Efl.Pack_Linear,
although it will not support Efl.Pack_Table, because item must be
arranged sequential orders.
Test Plan:
We will make the tests on efl ui test suite.
please test by make check.
Reviewers: Hermet, cedric, felipealmeida, eagleeye, woohyun
Reviewed By: Hermet, eagleeye
Subscribers: CHAN, bu5hm4n, cedric
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D6985
Jaehyun Cho [Tue, 20 Nov 2018 04:56:37 +0000 (13:56 +0900)]
efl_ui_theme: Introduce Efl.Ui.Theme class
Summary:
Efl.Ui.Theme class is required to support language bindings.
Efl.Ui.Theme works based on current elm_theme features.
This patch fixes T7357.
Reviewers: segfaultxavi, cedric, lauromoura, woohyun, zmike, SanghyeonLee
Reviewed By: segfaultxavi, SanghyeonLee
Subscribers: SanghyeonLee, herdsman, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T7357
Differential Revision: https://phab.enlightenment.org/D7244
Jaehyun Cho [Tue, 20 Nov 2018 01:24:05 +0000 (10:24 +0900)]
efl_ui_bg: remove Efl.Ui.Bg interface and rename Efl.Ui.Bg_Widget class
Summary:
Efl.Ui.Bg interface does not have any new property or method.
Moreover, Efl.Ui.Bg interface is not used by widgets except
Efl.Ui.Bg_Widget and Efl.Ui.Widget_Part_Bg.
Consequently, Efl.Ui.Bg interface can be replaced by other interfaces.
Due to Efl.Ui.Bg interface, the bg widget class name becomes
Efl.UI.Bg_Widget which is not synchronized with other widget names.
Therefore, to keep consistency with other widgets, it would be better to
remove Efl.Ui.Bg interface and rename Efl.Ui.Bg_Widget to Efl.Ui.Bg.
Reviewers: woohyun, segfaultxavi, bu5hm4n, zmike
Reviewed By: segfaultxavi
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7304
Marcel Hollerbach [Mon, 19 Nov 2018 17:59:32 +0000 (18:59 +0100)]
Revert "ci: mingw build target to cross compile EFL for Windows"
This reverts commit
883058b92bf81784bf51f4cf97066e57367cc81c.
This seems to bring up errors in the build -ldbus-1 cannot be found.
Revisions is reopened.
Stefan Schmidt [Wed, 22 Aug 2018 12:51:12 +0000 (14:51 +0200)]
ci: mingw build target to cross compile EFL for Windows
We are using the EFL windows package installer (ewpi) from Vincent Torri
here (thanks!) to setup all the needed cross compiled dependencies for
EFL.
The make target is disabled as we are not able to execute the windows
binaries withour additional work to run check.
Work is ongoing in ewpi to have the dependencies provided for soem of
the disabled build options (gstreamer, webp, tiff, physics, etc). Once
these are working well in ewpi we will enable them here as well.
Differential Revision: https://phab.enlightenment.org/D7294
Daniel Hirt [Sun, 18 Nov 2018 10:27:57 +0000 (12:27 +0200)]
Canvas text: emit 'changed' event on markup set
Daniel Hirt [Sun, 18 Nov 2018 10:20:10 +0000 (12:20 +0200)]
Ui text: fix size evaluation on construction
In some cases, like the example provided in the referred ticket, the
text is set during the construction of the object.
This adds another call to evaluate the size of the object at the end of
the "finalize" stage, and also removes the line that has set the text to
"".
Fixes T7468
Alastair Poole [Sat, 17 Nov 2018 12:59:09 +0000 (12:59 +0000)]
elm_code: Allow widget to be focused.
Summary: This fixes a lost cursor with latest git.
Test Plan: elementary_test -> elm_code -> view a cursor
Reviewers: raster, ajwillia.ms
Reviewed By: raster
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7298
Carsten Haitzler (Rasterman) [Sat, 17 Nov 2018 11:45:03 +0000 (11:45 +0000)]
meson - fix ecore imf scim build to detect scim fully and work again
Carsten Haitzler (Rasterman) [Sat, 17 Nov 2018 11:19:41 +0000 (11:19 +0000)]
meson - add micro version to pkgconfig files
Carsten Haitzler (Rasterman) [Fri, 16 Nov 2018 18:17:28 +0000 (18:17 +0000)]
meson - ector - fix eo dependencies to include all of them
move subdir after all eo files added to eo file deps var so it can use
them all.
Carsten Haitzler (Rasterman) [Fri, 16 Nov 2018 17:37:22 +0000 (17:37 +0000)]
meson - fix build on non-intel and correct cross compilation
don't set -msse3 unconditionally - set the correct flags based on
architecture. now it builds on arm, aarch64 again as well as x86. sorry -
can't test ppc as i have no such hardware.
also use host_machine not target_machine. target is wrong that's only
for cross compilers (if we were compiling a cross compiler and the kind of
binary they may produce, not what they run on - that's host).
Cedric BAIL [Fri, 16 Nov 2018 03:20:50 +0000 (19:20 -0800)]
meson: fix VNC server build to not override the last module.
The module name and installation directory where previously picked from
the last engine being processed instead of being unique to the VNC Server
module. This patch ensure that we do not write over another engine and
break everything when the VNC Server support is turned on.
Reviewed-by: Marcel Hollerbach <marcel-hollerbach@t-online.de>
Differential Revision: https://phab.enlightenment.org/D7290
Derek Foreman [Thu, 15 Nov 2018 21:58:53 +0000 (15:58 -0600)]
eet: Remove unused code
This stuff has been unused for years, so instead of fixing it up, remove
it.
Differential Revision: https://phab.enlightenment.org/D7283
Signed-off-by: Derek Foreman <derek.foreman.samsung@gmail.com>
Derek Foreman [Thu, 15 Nov 2018 21:26:36 +0000 (15:26 -0600)]
eet: Remove pointer deduplication
After my previous changes, the only thing left that's adding duplicate
pointers should be string allocations, either direct (which have no free)
or stringshare which need to be "freed" for each duplicate as it's a
refcounting mechanism.
This speeds up parsing the theme file modestly (10ms faster launching
elementary_test for me), and should also prevent leaking every
stringshare that's on the freelist if an eet load fails.
I would not be at all surprised if there are still bugs in the fail path,
but I hope this at least mitigates failure tracking's impact on successful
parse times.
Differential Revision: https://phab.enlightenment.org/D7282
Signed-off-by: Derek Foreman <derek.foreman.samsung@gmail.com>
Derek Foreman [Thu, 15 Nov 2018 21:17:58 +0000 (15:17 -0600)]
eet: Demystify some typecasts
Simplify some confusing typecasts. There may be more around.
No functional change.
Differential Revision: https://phab.enlightenment.org/D7281
Signed-off-by: Derek Foreman <derek.foreman.samsung@gmail.com>
Derek Foreman [Tue, 13 Nov 2018 20:30:09 +0000 (14:30 -0600)]
eet: Stop freeing allocated memory in descriptor_decode
There are other paths that free this memory, so it ends up freed by the
EET_G_UNKNOWN_NESTED path, yet remains on the list.
It makes more sense to have all the callers deal with this memory.
Differential Revision: https://phab.enlightenment.org/D7280
Signed-off-by: Derek Foreman <derek.foreman.samsung@gmail.com>
Derek Foreman [Tue, 13 Nov 2018 19:26:13 +0000 (13:26 -0600)]
eet: Don't add duplicate hashes to eet freelist
The eet freelist code de-duplicates pointers, so passing duplicates is
just fine, however it does waste time doing the de-dup.
We know when we have a duplicate anyway, so save the time.
Differential Revision: https://phab.enlightenment.org/D7279
Signed-off-by: Derek Foreman <derek.foreman.samsung@gmail.com>
Derek Foreman [Tue, 13 Nov 2018 19:25:04 +0000 (13:25 -0600)]
eet: Don't add duplicate lists to eet freelist
The eet freelist code de-duplicates pointers, so passing duplicates is
just fine, however it does waste time doing the de-dup.
We know when we have a duplicate anyway, so save the time.
Differential Revision: https://phab.enlightenment.org/D7278
Signed-off-by: Derek Foreman <derek.foreman.samsung@gmail.com>
Marcel Hollerbach [Fri, 16 Nov 2018 16:32:01 +0000 (17:32 +0100)]
meson: correct the BIGENDIAN and ENVIRON check
we already have the compiler object, there is no need to fetch it again,
further more, we are probebly interested in BIGENDIAN on the
target_machine, not the host_machine.
Marcel Hollerbach [Fri, 16 Nov 2018 15:49:53 +0000 (16:49 +0100)]
meson: cleanup the native-cpu optimization build code
you were not able to disable the header checks, so if the header was not
there it indicated that you could turn it of. However, the option check
was in the has_header if not outside of it. Further more, header checks
are done in the subdirectory that is done for header checks,
unneccessary cpu_**** flags are removed, global optimization options are
added to the global_arguments instead of just the package_c_args, which
leads to the fact that also all binaries etc. are build by default with
those optimization flags.
This also reduces the amount of options to a minimum of 1 option, to
just control if there should be the optimization or not.
This also changes from host_maschine to target_mschine, since we
probebly want to enable the optimization for the target maschine, not
the host.
Differential Revision: https://phab.enlightenment.org/D7296
Marcel Hollerbach [Fri, 16 Nov 2018 16:24:43 +0000 (10:24 -0600)]
meson: fix build break
Summary:
the optimization that is build here requries a few .eo.h files - so
ensure that they are generated before they are used.
This fixes the build of efl.
Reviewers: ManMower, raster
Reviewed By: ManMower
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7295
Stefan Schmidt [Fri, 16 Nov 2018 11:35:55 +0000 (12:35 +0100)]
travis: move parts of our build matrix to only run on the daily travis cron job
We need to keep our builds running for every push to a minimum. Various
distro builds as well as the release-ready build can happily run once a
day.
This commit also switches from a build matrix to a simple list of build
jobs to allow the usage of build type = cron condition (not possible
with the matrix builds)
Differential Revision: https://phab.enlightenment.org/D7293
Jaehyun Cho [Fri, 16 Nov 2018 10:11:50 +0000 (11:11 +0100)]
elementary: rename Efl.Ui.Popup classes
Summary:
Efl.Ui.Popup classes are renamed intuitively from backward order to
forward order.
Efl.Ui.Popup_Alert -> Efl.Ui.Alert_Popup
Efl.Ui.Popup_Alert_Scroll -> Efl.Ui.Scroll_Alert_Popup
Efl.Ui.Popup_Alert_Text -> Efl.Ui.Text_Alert_Popup
Reviewers: segfaultxavi, bu5hm4n, cedric
Reviewed By: segfaultxavi
Subscribers: herb, SanghyeonLee, woohyun, cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7292
Jaehyun Cho [Fri, 16 Nov 2018 09:45:05 +0000 (10:45 +0100)]
elementary: remove Efl.Ui.Layout namespace
Summary:
Efl.Ui.Layout namespace is removed to keep consistency with other
widgets.
Consequently, "Efl.Ui.Layout.Object" is renamed to "Efl.Ui.Layout" and
"Efl.Ui.Layout." is renamed to "Efl.Ui.Layout_".
Reviewers: segfaultxavi, bu5hm4n, cedric
Reviewed By: segfaultxavi
Subscribers: #reviewers, #committers, SanghyeonLee, woohyun
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7291
Daniel Hirt [Thu, 15 Nov 2018 22:29:32 +0000 (00:29 +0200)]
Evas textblock: fix test to use provided hyphen dictionary
This fixes the test suite so it does not rely on the system's dictionary
files.
Fixes T7466
Cedric BAIL [Fri, 16 Nov 2018 03:22:20 +0000 (12:22 +0900)]
ector: replace custom _efl_refplace by generic efl_replace.
Summary: Depends on D7274
Reviewers: Hermet, smohanty
Reviewed By: Hermet
Subscribers: #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7275
Cedric BAIL [Fri, 16 Nov 2018 03:20:53 +0000 (12:20 +0900)]
ector: remove deprecated _efl_refplace and _efl_xrefplace.
Summary: Depends on D7275
Reviewers: Hermet, smohanty
Reviewed By: Hermet
Subscribers: #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7276
Cedric BAIL [Fri, 16 Nov 2018 03:09:48 +0000 (12:09 +0900)]
eo: make efl_replace work with a const pointer like efl_ref/unref do.
Summary: This is done to keep consistency with all the reference counting functions in Eo.
Reviewers: Hermet, smohanty
Reviewed By: Hermet
Subscribers: #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7274
Cedric BAIL [Fri, 16 Nov 2018 03:06:34 +0000 (12:06 +0900)]
ector: use efl_replace to make sure that no dangling pointer is left being.
Reviewers: Hermet, smohanty
Reviewed By: Hermet
Subscribers: #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7273
Cedric BAIL [Fri, 16 Nov 2018 02:59:38 +0000 (11:59 +0900)]
ector: reorder destructor code to make sure that freed pointer are not possibly accessed during destruction.
Summary: Depends on D7276
Reviewers: Hermet, smohanty
Reviewed By: Hermet
Subscribers: #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7277
Carsten Haitzler (Rasterman) [Thu, 15 Nov 2018 12:25:15 +0000 (12:25 +0000)]
ector - fix meson build with sse3 on ix86 (32bit)
Yeongjong Lee [Thu, 15 Nov 2018 14:11:38 +0000 (09:11 -0500)]
ecore_wl2_dnd: initialize source to NULL when it destroy
Summary:
This prevent double destruction of source. if _ecore_wl2_input_del is called
with destroyed source, it can make unexpected troubles.
Reviewers: Hermet, id213sin, devilhorns
Reviewed By: devilhorns
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7265
Marcel Hollerbach [Mon, 22 Oct 2018 12:10:41 +0000 (14:10 +0200)]
efl_ui_focus_manager: calculate new widgets undependend from dirty state
This fixes T7397
Differential Revision: https://phab.enlightenment.org/D7179
Marcel Hollerbach [Mon, 22 Oct 2018 11:39:06 +0000 (13:39 +0200)]
elm: update widgets that have documented focus and unfocused events
this emits focus and unfocus on those widgets.
fixes T7386
Depends on D7124
Differential Revision: https://phab.enlightenment.org/D7103
Daniel Kolesa [Mon, 12 Nov 2018 14:23:58 +0000 (15:23 +0100)]
eolian: use 'free' for owned mstring but not string
Summary:
Strings are const and if these are meant to be owned then it
should define its own special free func. Mstrings are mutable
and therefore can be owned and freed using standard free() by
default.
This fixes some warnings around the EFL caused by empty fallback
free funcs created by the eolian generator, and these mutable
strings were not being freed and potentially leaked.
Reviewers: bu5hm4n, stefan_schmidt
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7261
Hermet Park [Thu, 15 Nov 2018 03:15:58 +0000 (12:15 +0900)]
ector: fix wrong initalization count reference.
Ector shutdown couldn't terminate engine properly
since it's counting statement is wrong.
Carsten Haitzler (Rasterman) [Wed, 14 Nov 2018 16:23:49 +0000 (16:23 +0000)]
meson- evas generic loader symlinks - fix to point to right place
symlinks for loaders and their extensions first pointers to an abs
pathname that was bad for destdirs with packaging and they also linked
to the wrong file - they had an extra . at the end due to link script
not using basename right. this fixes both of these to now point
relative (locally) and remove the . t the end so they work again.
Hermet Park [Wed, 14 Nov 2018 12:50:50 +0000 (21:50 +0900)]
evas vg: optimize gradient sequences.
Summary:
1. Pointed out gradient prepare step triggered duplicatedly,
because they are immediate children of container.
But gradients is desigend to fill shape,
shape could get ready of the gradients which are applied to.
So, container doesn't need to prepare gradient children.
2. Ector shape does prepare its gradient renderer in it's prepare time,
each gradients objects doesn't need to prepare renderer separately.
Here code skip duplication of sequences of gradients preparation step.
by cleaning up logic.
Reviewers: #committers
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7269
Youngbok Shin [Wed, 14 Nov 2018 07:19:30 +0000 (09:19 +0200)]
evas textblock: remove white space after line-break by a next item
Summary:
In some cases, white space at end of line is remained after line-break.
This issue is happened when Textblock do word wrap at the next item. Without
spliting a previous text item. Then, Textblock just skipped calling
_layout_item_text_split_strip_white() function.
This patch also fixed a wrong test case based on wrong logic.
The range rectangles shouldn't be overlapped. Because of remained white space,
a meaningless rectangle was added. And it overlapped by next rectangle.
@fix
Test Plan:
Fixed an exising test case for range renctangles.
Run test case.
Reviewers: herdsman, woohyun, raster, cedric, subodh, subodh6129
Subscribers: #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7204
Hermet Park [Wed, 14 Nov 2018 07:06:55 +0000 (16:06 +0900)]
ector/software: remove duplicate call.
Carsten Haitzler (Rasterman) [Tue, 13 Nov 2018 18:36:22 +0000 (18:36 +0000)]
evas - add evas_common_types.h to makefile.am to fix distckeck
Marcel Hollerbach [Mon, 1 Oct 2018 08:51:18 +0000 (10:51 +0200)]
elm_widget_item_static_focus: prepare the gengrid before preparing items
this fixes some missing registrations, which lead to errors.
ref T7391
Differential Revision: https://phab.enlightenment.org/D7124
Marcel Hollerbach [Mon, 1 Oct 2018 08:50:12 +0000 (10:50 +0200)]
gengrid: unset last_focused pointer when focus moved away
this was requested by T7391.
fix T7391
Differential Revision: https://phab.enlightenment.org/D7123
Marcel Hollerbach [Mon, 24 Sep 2018 09:02:09 +0000 (11:02 +0200)]
efl_ui_focus: add flag to indicate if a child has the focus
this is usefull for later implementations in spinner and fileselector.
A event for this was not added because the result is only really usefull
after a focus operation has been successfull.
Differential Revision: https://phab.enlightenment.org/D7102
Marcel Hollerbach [Fri, 21 Sep 2018 17:06:04 +0000 (19:06 +0200)]
elm: add unfocus / focus signals to gen* and toolbar
this adds back unfocus / focus emitting when items in those containers
are getting focus.
Differential Revision: https://phab.enlightenment.org/D7100
Xavi Artigas [Tue, 13 Nov 2018 11:41:51 +0000 (12:41 +0100)]
doc: Fix misuse of $ instead of @ in comments
$ renders the next word monospaced whereas @ turns the next word into a link.
Lauro Moura [Tue, 13 Nov 2018 08:27:02 +0000 (09:27 +0100)]
eo: Avoid namespace clashes.
Summary:
This commit removes some clashes (i.e. names as classes and namespaces
at the same time). It'll avoid nested items that are either forbidden
(C#) or problematic (Python) in some languages.
Reviewers: segfaultxavi, bu5hm4n, felipealmeida
Reviewed By: segfaultxavi
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7260
Vitor Sousa [Mon, 12 Nov 2018 20:10:20 +0000 (18:10 -0200)]
eo: fix and rework efl_replace()
Summary:
Check if the Eo to be replaced is NULL before calling efl_unref.
The documentation implies that the replaced object can be NULL, so this
check avoids unnecessary function calls and warning logs.
Add an EINA_SAFETY check in order to properly print an error message
when the function is used with an NULL storage pointer.
The documentation specifies that the first parameter can not be NULL.
So printing an error message should be better than silently returning.
Add a boolean return to the function that signalizes if the content of
the storage was changed. It is NOT an success/error flag, it is just a
simple helper to quickly test for a change in content.
This feature was inspired by eina_stringshare_replace that is used in
similar ways around the code.
Change the documentation to match the changes and to be more specific
about what is expected and how the arguments are treated.
Reviewers: raster, bu5hm4n, cedric, felipealmeida
Reviewed By: bu5hm4n
Subscribers: #reviewers, #committers, larryolj
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7256
Carsten Haitzler (Rasterman) [Mon, 12 Nov 2018 17:05:46 +0000 (17:05 +0000)]
eina test - fix build with magic debug disabled
Carsten Haitzler (Rasterman) [Mon, 12 Nov 2018 16:42:44 +0000 (16:42 +0000)]
Revert "meson: fix a potential race in evas_opt build"
This reverts commit
32b79c7986a188ac17a5b8e18446e8221ad01fc4.
don't need eo as a dep anymore as i unlinked eo from the sse opt build
Carsten Haitzler (Rasterman) [Mon, 12 Nov 2018 16:41:32 +0000 (16:41 +0000)]
meson - move static libs sraw sse2 inot sse3 build options set
this fixes builds when sse3 is enabled by building with sse3 opts...
Carsten Haitzler (Rasterman) [Mon, 12 Nov 2018 16:10:08 +0000 (16:10 +0000)]
build - evas - sse3 optimized code - decouple from eo
Daniel Kolesa [Mon, 12 Nov 2018 15:22:20 +0000 (16:22 +0100)]
meson: fix a potential race in evas_opt build
We need to declare dependencies for .eo file generation to prevent
compiling files depending on generated files before they are
generated.
Daniel Kolesa [Mon, 12 Nov 2018 14:43:13 +0000 (15:43 +0100)]
cxx: explicitly require c++11 and fix tests to conform
We weren't setting a C++ version for build previously, which would
result in compiler specific default being used, most likely C++11
with GNU extensions on modern compilers and C++03 with GNU exts
on old compilers. This is bad because it potentially breaks build
on older toolchains that don't default to a modern C++.
Now we enable pure C++11 without GNU exts; this resulted in some
of the build breaking because of use of typeof() GNU C/C++ ext
in tests code, so fix that to use standard decltype() from C++11.
@fix
Hermet Park [Mon, 12 Nov 2018 14:08:48 +0000 (23:08 +0900)]
efl interface: update efl_gfx_shape_stroke_dash doc.
Carsten Haitzler (Rasterman) [Sun, 11 Nov 2018 09:15:14 +0000 (09:15 +0000)]
meson - define WORDS_BIGENDIAN if on big endian
Carsten Haitzler (Rasterman) [Sat, 10 Nov 2018 16:31:18 +0000 (16:31 +0000)]
edje test - part content should be null as nothing is swallowed yet
fix test
Carsten Haitzler (Rasterman) [Sat, 10 Nov 2018 15:52:51 +0000 (15:52 +0000)]
meson - make having asm headers errors requiring explicit disables
Carsten Haitzler (Rasterman) [Fri, 9 Nov 2018 12:32:03 +0000 (12:32 +0000)]
meson - set sloppy spec define as default for efreet
matches autofoo build now
Carsten Haitzler (Rasterman) [Fri, 9 Nov 2018 12:27:11 +0000 (12:27 +0000)]
evas textblock - fix unused params/vars
Carsten Haitzler (Rasterman) [Fri, 9 Nov 2018 12:22:58 +0000 (12:22 +0000)]
edje util - handle missing case in switch
Carsten Haitzler (Rasterman) [Fri, 9 Nov 2018 12:21:30 +0000 (12:21 +0000)]
efreet menu - fix truncation in snprintf to have bigger buffers
Carsten Haitzler (Rasterman) [Fri, 9 Nov 2018 12:20:08 +0000 (12:20 +0000)]
efreet icon - move func into ifdef as only used if ifdef is true
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 21:15:17 +0000 (21:15 +0000)]
eio test - fix 32bit test to use correct type for eina value get
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 21:14:58 +0000 (21:14 +0000)]
eina debug - fix 32bit warning for casting down to 32bit ptrs
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 17:36:08 +0000 (17:36 +0000)]
libunibreak - warn - add fallthrough attributes to minimize warnings
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 17:16:34 +0000 (17:16 +0000)]
meson build - fix libunibreak build to not directly build wordbreakdata
wordbreakdata.c is #included. dont compile it on its own. also
graphemebreakdata.c too is inthe same boat.
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 17:12:35 +0000 (17:12 +0000)]
efl ui text - stop being brain damaged with cnp mode
cnp mode type was a mess. thankfully it was a bit simpler than it
seemed. cleaned up code to deal with it sanely and keep it a single
type as intended byt he api too.
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 17:11:07 +0000 (17:11 +0000)]
elm code - warn - explicit truncation via custom truncate func
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 16:54:28 +0000 (16:54 +0000)]
elm entry - warn - write a specirfic string truncate func to avoid warnings
so gcc likes to warn even if the truncation is intended. there are
verious ways around this, but in this case it's really just writing
your own ... which is pretty simple.
there is just too much warning noise for efl.
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 16:40:51 +0000 (16:40 +0000)]
eina file test - warn - silence wanring wirth a bit of hand str trunc
truncation is intended. the way i can find to silence the warning is
use memcpy with a manually computed size...
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 16:34:16 +0000 (16:34 +0000)]
edje entry - be clearer and more efficient on string appending
using strncpy with strlen of the string you append is pointless.
again... strcpy will do - but use memcpy to be exact and pre-compute
sizing etc. only once. fixes warnings.
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 16:29:16 +0000 (16:29 +0000)]
efreet mime cache - expand buffer to avoid truncation by snprintf
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 16:28:19 +0000 (16:28 +0000)]
efreetd - warn - expand buffer to avoid truncation by snprintf
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 16:27:22 +0000 (16:27 +0000)]
efreet trash - warn - expand buffer to avoid truncation by snprintf
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 16:26:29 +0000 (16:26 +0000)]
efreet menu - only build internal cmp func if used in ifdefs
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 16:24:57 +0000 (16:24 +0000)]
efreet icon - fix constness of char ptr
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 16:22:21 +0000 (16:22 +0000)]
ecore imf - xim module - use proper prorotypes and returns for xim
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 16:17:40 +0000 (16:17 +0000)]
ecore imf - ibus - fill all struct fields
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 16:15:15 +0000 (16:15 +0000)]
ecore imf - wl - fill all stgruct fields with something...
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 16:11:52 +0000 (16:11 +0000)]
ecore evas extn - warn - ensure all fields in ecore evas func struct set
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 16:00:11 +0000 (16:00 +0000)]
embryo_cc - warn - bigger buffer to avoid truncation warning
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 15:59:02 +0000 (15:59 +0000)]
evas textblock - use proepr free iterator prototype
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 15:53:11 +0000 (15:53 +0000)]
evas - warn - use correct free func prototype
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 15:45:51 +0000 (15:45 +0000)]
evas - neon blend - warn - color mul, not used in one asm func - mark as such
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 15:38:28 +0000 (15:38 +0000)]
evas gl - shader cache - warn - use bigger buffer to avoid trunc warn
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 15:36:38 +0000 (15:36 +0000)]
evas sw x11 - warn - use void ptr for error handler
warnings now are being super picky with:
../src/modules/evas/engines/software_x11/evas_xlib_buffer.c: In
function ‘evas_software_xlib_x_output_buffer_new’:
../src/modules/evas/engines/software_x11/evas_xlib_buffer.c:306:56:
warning: cast between incompatible function types from ‘void
(*)(Display *, XErrorEvent *)’ {aka ‘void (*)(struct _XDisplay *,
struct <anonymous> *)’} to ‘int (*)(Display *, XErrorEvent *)’ {aka
‘int (*)(struct _XDisplay *, struct <anonymous> *)’}
[-Wcast-function-type]
ph = XSetErrorHandler((XErrorHandler)
can we really match a struct <anonymous> somehow? i don't think so...
so... void to the rescue.
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 15:30:42 +0000 (15:30 +0000)]
ecore wl2 - fix wl touch handler struct to set extra cb fields
sape and orient were not set, set them to NULL with fixme's
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 15:28:23 +0000 (15:28 +0000)]
eeze mount tool - warn - fix prototypes used for ecore events
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 15:21:15 +0000 (15:21 +0000)]
edje calc - wanr - move fallthrough tag to just before next case
fixes warning for it not being there... no bug here though
Carsten Haitzler (Rasterman) [Thu, 8 Nov 2018 15:19:48 +0000 (15:19 +0000)]
edje calc - warn - fix warn about initting all fields of calc params