Commit Graph

46755 Commits

Author SHA1 Message Date
Carsten Haitzler b7d882515d eina mempool: don't allow 0 sized mempools
there is no point in having a mempool with a max 0 size. this leads to
us mallocing 0 bytes for the base. not good. make minimim size 1. :)

@fix
2016-04-18 09:31:08 +09:00
Felipe Magno de Almeida 75c741ff2b Eo: Silence warning about no side-effect in _eo_add_common
Added a cast to void to silence the warning about no side-effect on
GCC.
2016-04-17 14:53:23 -03:00
Stefan Schmidt f012499f47 docs: document ecore_mainloop class, functions and events. 2016-04-17 17:42:41 +02:00
Stefan Schmidt e728ea168f docs: add description for ecore_poller class and cleanup some other parts 2016-04-17 17:42:40 +02:00
Stefan Schmidt 4f6cc20e84 docs: fix some typos in ecore_timer EO docs 2016-04-17 17:42:40 +02:00
Daniel Kolesa 7a9fbd27ab elua: more file utilities in clib 2016-04-16 18:15:57 +01:00
WooHyun Jung 1c6f3fd966 elm_focus: keep all focused states to be consistent when win loses and gets focus
Since focus_clear removed all the focused traces, focus was not reverted well
whenever win lost and got focus repeatedly.
For instance,
1. set focus to button1
2. set focus to button2
3. win focus out and in
4. remove button2
5. focus is on win not on button1

So, focus logic changes to not clear focused states when win loses focus.

@fix
2016-04-16 13:47:13 +09:00
WooHyun Jung f24dce9bc9 elm_win: remove duplicated focused/unfocused event call
These are already called in elm_widget's on_focus.

@fix
2016-04-16 10:37:34 +09:00
Oleksandr Shcherbina b090763a1a evas: update evas-3d-shadow example
Summary: Add possibility turn on/off rendering scene with/without post processing

Reviewers: cedric, raster, Hermet

Subscribers: jpeg

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
2016-04-15 11:20:14 -07:00
Jee-Yong Um 974daa5f98 edje_cc: delete anonymous lookup during program removal
Summary:
program_remove attribute allows to remove program inherited from
parent group, but if its action is EDJE_ACTION_TYPE_SCRIPT,
anonymous lookup also should be deleted.

@fix

Reviewers: cedric, jpeg

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
2016-04-15 11:20:07 -07:00
Cedric Bail fdaedf2bff autotools: fix make distcheck. 2016-04-15 11:07:02 -07:00
Tom Hacohen e3e9de236c Edje tests: Don't ship test edje files and clean up their generation.
This was duplication hell and also quite stupid. This commit should fix
this mess (to an extent).
2016-04-15 18:20:34 +01:00
Tom Hacohen b337558fd6 Edje tests: Fix tests when running out of source and remove hack.
There was a seriously horrible hack here to workaround this issue. This
hacks goes all the way back to 3e07236. The essence of the hack was to
try the system files for the tests (and I guess that's why we were
shipping them although we really shouldn't).

This change fixes the file lookup for out of source files.

Hat-tip to zmike for pointing me to abs_top_buildir.
2016-04-15 18:18:22 +01:00
Tom Hacohen 68417186a9 Elm test layout: Fix indentation. 2016-04-15 15:41:36 +01:00
Tom Hacohen c1781eb9c8 Elementary tests: Migrate the suite to the efl test infra. 2016-04-15 14:39:56 +01:00
Tom Hacohen 7c5f81d30f Eo: Make sure semi-colons and other directives aren't used in eo_add.
This was already enforced in the legacy version but was not enforced in
the GCC extension version. This change makes sure it's disallowed in
both.
2016-04-15 13:53:02 +01:00
Tom Hacohen 6d135944be Elm ctxpopup: Remove useless implementation of sub_object_add.
Was just calling super and nothing more.
2016-04-15 13:45:41 +01:00
Chris Michael 22e3ea20ee elput: Adjust EAPI for windows build
Small patch to fix definition of EAPI on Windows. Thanks to vtorri for
reporting.

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-04-15 08:13:47 -04:00
Youngbok Shin 726c6171bf Elementary Toolbar: Send order signals when a item is added/removed
Summary:
Send order signals for changing item's state according to its order.
It does not affect to existing themes. It sends the following signals.
	elm,order,first,item
	elm,order,default,item
	elm,order,last,item
@feature

Test Plan: N/A

Reviewers: woohyun, jaehwan, eagleeye, cedric

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D3883
2016-04-15 15:10:49 +09:00
Cedric BAIL d162a5e6e1 autotools: fix build after hungry rebase. 2016-04-14 17:05:35 -07:00
Cedric BAIL fb759c7b90 examples: add DESTDIR support for install. 2016-04-14 17:00:08 -07:00
Cedric BAIL 70cc3677ae elementary: make it possible to build the library alone. 2016-04-14 16:22:23 -07:00
Cedric BAIL 968dcaae34 eio: make it possible to build the library alone. 2016-04-14 16:18:19 -07:00
Cedric BAIL 847fb931c2 ector: make it possible to build the library alone. 2016-04-14 16:07:32 -07:00
Cedric BAIL 192a966e60 ecore: make it possible to build the library alone. 2016-04-14 16:07:32 -07:00
Cedric BAIL 561b14f0c7 edje: make it possible to build the library alone. 2016-04-14 16:07:32 -07:00
Cedric BAIL 055b98a1d4 efl: make it possible to build the library alone. 2016-04-14 16:07:32 -07:00
Cedric BAIL f4441e5a21 eo: make it possible to build the library alone. 2016-04-14 16:07:32 -07:00
Cedric BAIL e109341fdb autotools: allow reuse of some macro for subdirectory Eolian build. 2016-04-14 16:07:32 -07:00
Cedric BAIL 3ccfd987ec eet: make it possible to build the library alone. 2016-04-14 15:52:50 -07:00
Cedric BAIL 66bc74bbe6 emile: make it possible to build the library alone. 2016-04-14 15:52:50 -07:00
Cedric BAIL 41f68ac0d3 eina: make it possible to build the library alone. 2016-04-14 15:52:50 -07:00
Cedric BAIL 4c92120457 evil: make it possible to build the library alone.
So I have been battling with autotools on this for a full week now,
and what we want is basically impossible. A.k.a. one file definition
and possibility to do a full build or just a partial build of efl.
Even moving to just partial build require to land a massive patch that
change everything in our build system and this is just not a road I
want to take.

For reference, if one day automake allow the use of any kind of variable
(autoconf AC_SUBST expansion or $()) in the _SOURCES parameter, it will
be possible to fix. Alternatively if they allow to build subdirectory
before they do BUILT_SOURCE, it would make it possible to incrementaly
move to only partial build. In the mean time, a less problematic solution
is to duplicate source code.
2016-04-14 15:52:50 -07:00
Cedric BAIL a73ca351de autotools: track dependencies for partial sub build. 2016-04-14 15:52:50 -07:00
Tom Hacohen ba4796d1b2 Eo base: Improve documentation. 2016-04-14 18:34:16 +01:00
Stefan Schmidt 5a3af92e5b docs: add description for class and method parameters 2016-04-14 18:27:42 +02:00
Stefan Schmidt 3c93a3268c docs: add method parameter descriptions for ecore_idle_*
Now that we support these in docgen catch up in some example EO files.
2016-04-14 18:27:42 +02:00
Stefan Schmidt f9189fea78 docs: add class and method parameter descriptions to ecore_idler class 2016-04-14 18:27:42 +02:00
Tom Hacohen bd98b51717 Eo base: Make parent nullable.
It's allowed to be null, so mark it as such. This is useful
for languages that support nullable vs non-nullable types.
2016-04-14 16:36:10 +01:00
Shinwoo Kim ca225e7bf3 edje: fix invalid calculation to get a circular dependency 2016-04-14 21:55:14 +09:00
Vitalii Vorobiov a69903e3b2 datetime_input_ctxpopup: delete previously created ctxpopup if theme is broken
Summary:
Or else it will create dozens of ctxpopup's if user applied wrong or broken
theme that do not remove ctxpopups at all (lack of programs/signals or whatever
brokes ctxpopup behaviour)

@fix

Reviewers: cedric, reutskiy.v.v, NikaWhite, raster, an.kroitor, wc, Hermet

Reviewed By: Hermet

Subscribers: jpeg

Differential Revision: https://phab.enlightenment.org/D3885
2016-04-14 20:35:42 +09:00
Oleksandr Shcherbina 172cfa0f04 evas.canvas3d: Change shade_mode to shader_mode
Summary:
enum Evas.Canvas3D.Shade_Mode are using for choose relevant shader source code.
So renaming have a sence.
Rename evas_canvas3d_shade_mode_set/get property to evas_canvas3d_shader_mode_set/get
Rename internal fields and functions

Reviewers: cedric, Hermet, raster

Subscribers: jpeg

Differential Revision: https://phab.enlightenment.org/D3882
2016-04-14 20:28:20 +09:00
YOhoho 35941c4ad1 Elementary: fix PACKAGE_DATA_DIR value
Summary:
when run elementary_config, It can't find 'font_preview.edj'.
i modified PACKAGE_DATA_DIR value.

Test Plan: elementary_config

Reviewers: Hermet, cedric

Subscribers: conr2d, jpeg

Differential Revision: https://phab.enlightenment.org/D3887
2016-04-14 20:06:46 +09:00
Hermet Park c7dbd12723 elput - update gitignore.
ignore a generated pc file.
2016-04-14 20:02:09 +09:00
Carsten Haitzler ff253bff08 eo - key obj reference - don't unref on del event callback
object is being deleted by cb - don't unref as we are already at 0.
2016-04-14 10:35:18 +09:00
Chris Michael 4ea507c2ca elput: Add missing optional feature check for systemd
As elput can potentially use systemd-logind for various input device
functions, we should add this as an optional dependency in the
configure checks.

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-04-13 15:44:13 -04:00
Chris Michael f20eb4eba7 Merge branch 'devs/devilhorns/elput'
The elput library is an efl abstraction for the libinput library which
can be used by various other subsystems (ecore_fb, ecore_drm, etc)
to handle interfacing with libinput without having to duplicate the
code in each subsystem.

Elput currently uses systemd-logind by default to open/close input
devices, but has the ability for other methods (direct opening) to be
easily added through the Manager implementation.

NB: This library is merged with EFL_BETA_API_SUPPORT and is subject to
API changes.
2016-04-13 14:16:39 -04:00
Chris Michael 43360ca98a elput: Add API function to set output size on an input device
This function is used to adjust device calibration based on size of
output

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-04-13 14:16:17 -04:00
Chris Michael 404b3049f3 elput: Add API function to set input window
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-04-13 14:16:17 -04:00
Chris Michael 6c85fe7514 elput: Add event which can be raised when devices get added or removed
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-04-13 14:16:17 -04:00