Commit Graph

31743 Commits

Author SHA1 Message Date
Jean-Philippe Andre 99b1c7622b Edje: Fix filters for IMAGE parts inherited states 2015-10-01 20:10:54 +09:00
Jean-Philippe Andre c0f887b429 Edje: Move internal struct filter around (refactor) 2015-10-01 20:10:54 +09:00
Thiep Ha bb9fdad7c2 doc/eldbus: fix parameter in document
Summary:
The allow_initial_call apprears two times in
eldbus_name_owner_changed_callback_add api.

@fix

Reviewers: seoz, Hermet

Reviewed By: Hermet

Subscribers: cedric, seoz

Differential Revision: https://phab.enlightenment.org/D3110
2015-10-01 19:29:23 +09:00
Stefan Schmidt 3daaf3a05b po: update po files 2015-10-01 12:21:52 +02:00
Stefan Schmidt c130b9e307 evas: include new header file in build to fix distcheck
Introduced in 72b13c3ebb the new header was
not deployed and thus not available in the tarball.
2015-10-01 12:21:52 +02:00
Oleksandr Shcherbina fe92fac05f evas_canvas3d: Unification algorithm generation shadow
Summary:
Change type of texdepth from GL_R(doesn't support with GLES) to GL_RGBA.
Don't use useless additional framebuffers for shadows.
Use same shader code for generation shadow map texture.
Turn always using software alpha-test.
It reduce and simplify code in general.

Reviewers: cedric, Hermet

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D3115
2015-10-01 19:08:14 +09:00
Jean-Philippe Andre 7c8ca6b752 edje_cc: Fix TEXT part validation for aliased parts
Not 100% sure of this fix but it "works". This is just compile-time
safety checking code after all, so it won't impact any existing
application.

This fixes commit d4444bf7a0. Tested with empc.

Thanks @zmike for the report and test case.
2015-10-01 18:07:04 +09:00
Nicolas Aguirre cf2b9ea5ca evas: Add defines for GL_COLOR_EXT, GL_DEPTH_EXT, GL_STENCIL_EXT 2015-10-01 10:05:28 +02:00
Dongyeon Kim b6649f6c6e evas/gl_common: Fix memory leak for font glyph extension image
Evas_GL_Image created for font glyphs in evas_common_font_rgba_draw
is sometimes freed after Evas_Engine_GL_Context is freed.
Since gc is already freed, pt_unref returns and leaves pt behind.
2015-10-01 10:05:28 +09:00
Felipe Magno de Almeida c2132a0666 eolian-cxx: Fix inheritance from C++ classes after Eo ABI breakage
Fixed removal of op field from Eo_Op_Description and removed
unnecessary use of internal Eo API to implement the Eo API function
for theh constructor of the inherited class.
2015-09-30 17:55:16 -05:00
Cedric BAIL 72b13c3ebb evas: move all GL safe define to a common header and use it. 2015-09-30 15:12:48 -07:00
Cedric BAIL fed208061e evas: use void * instead of struct wl_* to avoid compilation issue on system without Wayland extention. 2015-09-30 15:12:48 -07:00
Cedric BAIL 8e034a8c44 edje: fix a memory leak while iterating used color class. 2015-09-30 15:12:48 -07:00
Mike Blumenkrantz 1e18cf7057 ecore-audio: defer deletion of pulseaudio timer until after event processing
==27523== Invalid write of size 8
==27523==    at 0x9E855F5: _ecore_time_wrapper (ecore_audio_pulse_ml.c:132)
==27523==    by 0x647E5CF: _ecore_call_task_cb (ecore_private.h:336)
==27523==    by 0x647FB8B: _ecore_timer_expired_call (ecore_timer.c:733)
==27523==    by 0x647F9EE: _ecore_timer_expired_timers_call (ecore_timer.c:686)
==27523==    by 0x647B4CE: _ecore_main_loop_iterate_internal (ecore_main.c:1814)
==27523==    by 0x647998E: ecore_main_loop_begin (ecore_main.c:983)
==27523==    by 0x4E4F676: elm_run (elm_main.c:1099)
==27523==    by 0x12801B: elm_main (test.c:1010)
==27523==    by 0x1280C4: main (test.c:1021)
==27523==  Address 0x20537208 is 8 bytes inside a block of size 56 free'd
==27523==    at 0x4A07D6A: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==27523==    by 0x9E858ED: _ecore_pa_time_free (ecore_audio_pulse_ml.c:204)
==27523==    by 0x108DB350: free_events (socket-client.c:109)
==27523==    by 0x108DBA53: do_call (socket-client.c:157)
==27523==    by 0x9E855F0: _ecore_time_wrapper (ecore_audio_pulse_ml.c:131)
==27523==    by 0x647E5CF: _ecore_call_task_cb (ecore_private.h:336)
==27523==    by 0x647FB8B: _ecore_timer_expired_call (ecore_timer.c:733)
==27523==    by 0x647F9EE: _ecore_timer_expired_timers_call (ecore_timer.c:686)
==27523==    by 0x647B4CE: _ecore_main_loop_iterate_internal (ecore_main.c:1814)
==27523==    by 0x647998E: ecore_main_loop_begin (ecore_main.c:983)
==27523==    by 0x4E4F676: elm_run (elm_main.c:1099)
==27523==    by 0x12801B: elm_main (test.c:1010)
==27523==    by 0x1280C4: main (test.c:1021)

@fix
2015-09-30 16:23:55 -04:00
Tom Hacohen f48a420886 Ecore win32: Fix compilation.
Broke in commit 015040d13f.
Please compile check before pushing.
2015-09-30 13:22:53 +01:00
ChunEon Park 015040d13f ecore_win32: fix the mouse out behavior.
Current win32 let the mouse out regardless of mouse down status.
This is not quitely same with the x system so widget behaviors were not properly working.
Make the widget behaviors about mouse-out same to x window system
to keep the same behaviors on all window system always.

@fix
2015-09-30 20:31:30 +09:00
ChunEon Park 882e29b9ae ecore_win32: code refactoring.
replace to ECORE_CALLBACK_PASS_ON from 1 for readability.
2015-09-30 20:28:45 +09:00
Tom Hacohen 001aa98942 Eo: Clean up windows code a bit more.
Merge more parts of it with the non-windows code.
2015-09-30 08:38:47 +01:00
Thiep Ha 844fde5a87 po: Add Vietnamese translation
Summary: Add translation for Vietnamese.

Reviewers: seoz, stefan_schmidt, Hermet

Subscribers: cedric, seoz

Differential Revision: https://phab.enlightenment.org/D3117
2015-09-30 11:57:16 +09:00
Mike Blumenkrantz dd73628a12 upower: free version string splits
@fix
2015-09-29 15:24:55 -04:00
Daniel Kolesa 1853051618 eolian generator: refactoring of file reads 2015-09-29 14:24:44 +01:00
Daniel Kolesa 97cb6c5ca9 eolian generator: no need to replace newlines on win32 (lexer can deal with it) 2015-09-29 13:54:30 +01:00
Amitesh Singh b2e7eddc93 ecore_buffer: fix typos in documentation
Note by TAsn: I accidentally reverted this commit, bringing it back.
2015-09-29 10:48:02 +01:00
Tom Hacohen ab6d7b44df Eo: add a regression test for broken callback comparison.
This bug was fixed in d889da6b12, but it was too
late at night to start hacking on extracting a regression test and adding it to
the suite, so adding it now.

This test makes sure that we only fallback to string comparison with legacy
events.
2015-09-29 09:17:48 +01:00
Amitesh Singh 08d88d805c ecore_buffer: fix typos in documentation 2015-09-29 09:26:40 +05:30
Amitesh Singh 83beb559e9 evas: fix typos in documentation 2015-09-29 09:14:28 +05:30
Tom Hacohen d889da6b12 Eo legacy events: Fix broken callback comparison
Commit 37f84b7e96 introduced a few changes
to the callback matching mechanism that made it so sometimes callbacks
would be triggered for the wrong events. The problem was there because
of the support for legacy events that forces to do string comparison
instead of the usual pointer comparison. We should only do string
comparison when we are certain one of the callbacks is a legacy
generated one.

Regression tests will follow tomorrow. Way too late here for that.

Thanks to cedric for reporting.
2015-09-29 01:01:05 +01:00
Tom Hacohen e2344b9b9e Eo: reduce memory usage across applications.
As described by Carsten in his email to edev ML titled:
"[E-devel] eo stability - i think we need to postpone that"
with the switch to Eo2 we significantly increased our usage of RW memory
pages, and thus significantly increased our memory usage when running
multiple applications.

The problem was that during the migration to Eo2 the op id cache and the
op description arrays were merged, causing the op description arrays to
no longer be RO. This patch enables users of Eo (mainly Eolian) to
declare those arrays as const (RO) again, saving that memory.

There might be performance implications with this patch. I had to remove
the op desc array sorting, and I used a hash table for the lookup. I
think the op desc sorting doesn't really affect performance because that
array is seldom accessed and is usually pretty short. The hash table
is not a problem either, because it's  behind the scenes, so it can be
changed to a more efficient data structure if the hash table is not good
enough. The hash table itself is also rarely accessed, so it's mostly
about memory.

Please keep an eye for any bugs, performance or excessive memory usage.
I believe this should be better on all fronts.

This commit *BREAKS ABI*.

@fix
2015-09-28 18:39:15 +01:00
Daniel Kolesa 17f4c45fc9 eolian tests: strip trailing newlines for ref file compare 2015-09-28 18:50:07 +01:00
Amitesh Singh 5139f1b404 ecore_con: fix typo in documentation 2015-09-28 22:07:26 +05:30
Amitesh Singh 4b8825bbea eldbus: fix typos in documentation 2015-09-28 21:59:34 +05:30
Amitesh Singh 17a891e00d eio: fix typo in documentation 2015-09-28 21:57:35 +05:30
Amitesh Singh 4884e4164f emotion: fix typo in documentation 2015-09-28 21:54:26 +05:30
Amitesh Singh 26eecda458 eet: fix typo in documentation 2015-09-28 21:50:51 +05:30
Daniel Kolesa 76bc86716e Eolian generator: remove sentinel generation 2015-09-28 16:18:29 +01:00
Tom Hacohen a3f9b2e051 Eo: Fix examples and benchmarks according to recent Eo changes. 2015-09-28 16:18:09 +01:00
Tom Hacohen 9328524da4 Eo: Remove EO_SENTINEL.
This was never really needed because we always had the count.
Removing this now because we are already breaking API and ABI.
2015-09-28 15:52:50 +01:00
Tom Hacohen 35a482141d Eo: Clean up windows code.
We were keeping a struct member that wasn't really needed on windows.
Since we already broke ABI, we can afford to clean this up.
2015-09-28 15:26:51 +01:00
Tom Hacohen 12c3986866 Eo: Fix eo function name getter on windows. 2015-09-28 15:24:44 +01:00
Tom Hacohen f080d40df7 Eo: rename EO_HOT_EVENT_DESCRIPTION to EO_EVENT_DESCRIPTION_HOT.
The old naming is inconsistent with the rest of the EFL. This fixes that.
Since we are already breaking ABI (and possibly API), we should fix this too.
2015-09-28 15:09:16 +01:00
Tom Hacohen 37f84b7e96 Eo: Drop doc field from ops and events.
This hasn't been used for a while. Since we are going to break Eo a bit anyway
it's a good opportunity to drop this.

This may cause a slight performance issues with legacy events, such as
smart callbacks. This shouldn't really be a problem as we've migrated away from
them. If it does, we need to migrate the remaining parts. Only relevant
for callbacks that are added before the classes are created, which
shouldn't be possible except for smart, only for old evas callbacks.
2015-09-28 15:09:16 +01:00
Amitesh Singh 5f74afe4f7 ecore: fix typos in documentation 2015-09-28 15:49:11 +05:30
Amitesh Singh 27f313c2fe edje_edit: fix typo in error message 2015-09-28 15:45:44 +05:30
Amitesh Singh 139d452efe edje: fix typos in documentation 2015-09-28 15:42:51 +05:30
Carsten Haitzler 3894c3e1e0 evas - protect against invalid obj id in legacy wrapper func
@fix
2015-09-28 15:19:32 +09:00
Carsten Haitzler 15b9ac2d25 evas - lock render updates as this happesn to be accesed from threads 2015-09-28 02:58:54 +09:00
Carsten Haitzler 4b894e01b5 evas - software x11 - lock shmpool as now shm pool entities are threaded
recent changes moved shm buffer pushig to a thread and thus shm pool
has to be locked too
2015-09-28 02:58:54 +09:00
Daniel Zaoui 08e4f0ce8d Eo: fix double callback deletion
Scenario:
- Same signal/function/data registered twice on e.g mouse_down
- On mouse_down, register mouse_move and mouse_up
- On mouse_up, unregister mouse_move

Result: mouse_move still invoked after mouse_up

Reason:
- When the mouse_move callback deletion is required, the cb is
flagged as deleted but is not freed as walking_list blocks.
- When the second (and same) has to be deleted, it will try to delete
the first again because the delete_me flag is not checked.

This patch fixes it by checking the delete_me flag when determining the
candidate.

@fix
2015-09-26 22:37:03 +03:00
Mike Blumenkrantz b209100870 ecore_evas-x11: unset withdrawn flag when showing the ecore evas
while the window map event seemed like a reasonable place to unset
the withdrawn state at the time, studies and further tests have proven
that the direct show callback is even more reasonable and effective

ref T2745
2015-09-25 22:21:25 -04:00
Mike Blumenkrantz e31c703661 ecore_evas-x11: unset withdrawn state when window is mapped
according to ICCCM 4.1.4:
Newly created top-level windows are in the Withdrawn state.
Once the window has been provided with suitable properties,
the client is free to change its state...
...
Only the client can effect a transition into or out of the Withdrawn state

given that no external force can (according to spec) transition a
window out of the withdrawn state, this must be done at a reasonable
point. mapping the window seems like a reasonable point to me.

fix T2745
ref 5954289c6c

@fix
2015-09-25 21:57:37 -04:00