Commit Graph

46773 Commits

Author SHA1 Message Date
maxerba 1700e62c16 Fix Makevars and update all pos'
In the elementary tree all translatable messages are enclosed in a E_() macro, and since this macro was undefined in Makevars all massages was not included in catalog.
If some coder think that the E domain is useless, or deprecated or whatever, please remove it and update all source files accordingly.
2016-04-18 18:02:39 +02:00
Daniel Kolesa 525dcaa6ab eolian: fix invalid type_type mapping in lua bindings 2016-04-18 16:09:21 +01:00
Stefan Schmidt 6fc6a9eebe elm_photo: make sure we have a separate variable for the sanitized path
That way we can safely free it again after it got memory allocated from
eina_file_path_sanitize(). Fixes a memory leak.

CID: 1353601
2016-04-18 16:02:30 +02:00
Stefan Schmidt 6b7172d6e3 elm_atspi_bridge: unref eldbus msg before returning to avoid memory leak
If we goto fail here we still have the ret eldbus message referenced. Make
sure we unref so it can be free'd and we do not leak memory.

CID: 1353603
2016-04-18 16:02:07 +02:00
Stefan Schmidt 39eb3004f8 elm_spinner: free string in all cases before returning
If len < max_len was true here we leaked new_str. Make sure we also free it
in this case.

CID: 1353605
2016-04-18 16:01:21 +02:00
Stefan Schmidt ed793bab3b elm_conform: fix memory leak for state variable
Make sure we actually free state here before going out of scope.

CID: 1353606
2016-04-18 16:01:02 +02:00
Stefan Schmidt 28dfe2f0ff eolian: free impl_full_params strbuf before going out of scope
Just missed impl_full_params here while all others are free'd fine.

CID: 1354287
2016-04-18 16:00:49 +02:00
Daniel Kolesa d8285ce651 eolian: fix object scope def in lua bindings 2016-04-18 13:50:28 +01:00
Carsten Haitzler 84a4870d5b ecore exe: don't allocate inside fork to avoid issues with mem debuggers
so i've been doing some debugging and having a mem debugger that
preloads and tracks allocs means you need locks, but locks can do
nasty things after forks + threads.... esp if threads held locks.

this allows mem debugging with preloads easily and doesn't muck things
up.
2016-04-18 21:46:25 +09:00
Tom Hacohen 801db333bb Clean up the different parents in the EFL.
This change was dubbed "visual parent" on my todo. Essentially what it
does is better defines eo_parent (as seen in the docs), limits the usage
(and exposure of the other parents) and renames them to more descriptive
names.

Merge branch 'devs/tasn/raw_parent'
2016-04-18 10:10:43 +01:00
Tom Hacohen 70537370a1 Edje tests: Add parent upadting tests to edje. 2016-04-18 10:10:23 +01:00
Tom Hacohen cd26435434 Elm layout: Add parent updating tests to elm layout. 2016-04-18 10:10:23 +01:00
Tom Hacohen 1d7caffed5 Elm popup: use the correct parent for calculations.
It just so happens that these parents are the same at the moment.
They don't have to be. We should use the correct, popup specific parent for
that.
2016-04-18 10:10:23 +01:00
Tom Hacohen aff4171e73 Elm widget: rename parent to widget_parent and mark as protected.
This removes the conflicts between the different parents and also
indicates that this is to be used internally by widgets and should
not be confused with the normal user visible parent.

It is an internal attribute that should not be used by people
not implementing widgets. Marking it as protected signifies it
as such.
2016-04-18 10:10:23 +01:00
Tom Hacohen a73cdbdb46 Elm: Reparent when swallowing an object.
Make the layout the parent on swallow, and the canvas the parent on
unswallow.
2016-04-18 10:10:23 +01:00
Tom Hacohen 4d0494574b Edje: Reparent when swallowing/unswallowing.
On swallow make the edje object the parent, on unswallow the canvas.
2016-04-18 10:10:23 +01:00
Tom Hacohen 878a3d952c Evas object: rename smart_parent to render_parent and mark as protected. 2016-04-18 10:10:23 +01:00
Jihoon Kim 8c1776d177 ecore_imf/wayland: Fix bug language changed event is always called 2016-04-18 14:51:46 +09:00
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