platform/upstream/efl.git
10 years agoecore-x - rename new api
Carsten Haitzler (Rasterman) [Fri, 27 Dec 2013 03:02:48 +0000 (12:02 +0900)]
ecore-x - rename new api

10 years agoemotion: remove (broken) X11 integration from the GStreamer 1.x backend.
Sebastian Dröge [Fri, 27 Dec 2013 00:56:11 +0000 (09:56 +0900)]
emotion: remove (broken) X11 integration from the GStreamer 1.x backend.

This code was disabled and did not work properly. If this should be
re-added it will have to be rewritten anyway and currently it only
clutters the existing code.

Reviewers: cedric

CC: cedric
Differential Revision: https://phab.enlightenment.org/D414

Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
10 years agoevas: improve textblock rendering by walking even less in all case.
Cedric BAIL [Fri, 27 Dec 2013 00:34:29 +0000 (09:34 +0900)]
evas: improve textblock rendering by walking even less in all case.

We now build a list of item to walk on for each step to just avoid all necessary walking.
It is a slightly more elegant idea than my previous patch even if it only give a speed
improvement of 5% in the best case. Now that render code and the callee only take 1.6%
of the time I am looking at in the benchmark, meaning nothing else to improve here.

This fix the bug spotted in Enlightenment dialog box.

10 years agoRevert "evas: improve textblock rendering by walking even less in all case."
Carsten Haitzler (Rasterman) [Thu, 26 Dec 2013 15:05:11 +0000 (00:05 +0900)]
Revert "evas: improve textblock rendering by walking even less in all case."

This reverts commit a69c5ba0aee81e84e2f03475faca21bb1c939843.

yes - this broke text rendering. revert it. several dialogs/uses in e
broke with shadow and glow text being heavily offset up/to the right
of the proper text.

10 years agoevas gl engine - ensure on texture delete we never leave a cur tex id dangling
Carsten Haitzler (Rasterman) [Thu, 26 Dec 2013 12:03:56 +0000 (21:03 +0900)]
evas gl engine - ensure on texture delete we never leave a cur tex id dangling

10 years agoCleanup ecore_x_window_permanent_create function:
Chris Michael [Thu, 26 Dec 2013 11:40:32 +0000 (11:40 +0000)]
Cleanup ecore_x_window_permanent_create function:

  - No need for a separate xcb_connection here as we already have a
connection at this point so let's use that.
  - Fix up formatting.

Signed-off-by: Chris Michael <devilhorns@comcast.net>
10 years agoevas: improve textblock rendering by walking even less in all case.
Cedric BAIL [Thu, 26 Dec 2013 10:17:46 +0000 (19:17 +0900)]
evas: improve textblock rendering by walking even less in all case.

We now build a list of item to walk on for each step to just avoid all necessary walking.
It is a slightly more elegant idea than my previous patch even if it only give a speed
improvement of 5% in the best case. Now that render code and the callee only take 1.6%
of the time I am looking at in the benchmark, meaning nothing else to improve here.

10 years agoevas - gl-x11 engine - don't re-init engine window on rotate
Vostokov Sergey [Thu, 26 Dec 2013 10:19:15 +0000 (19:19 +0900)]
evas - gl-x11 engine - don't re-init engine window on rotate

this puts rotationc hanges in the same class as resizes for evas gl
x11 engine info updates and doesnt re-create the engine window data on
rotate.

10 years agoecore-x - add call to create a permanent window that is not deleted on exit
Carsten Haitzler (Rasterman) [Thu, 26 Dec 2013 10:01:23 +0000 (19:01 +0900)]
ecore-x - add call to create a permanent window that is not deleted on exit

10 years agoevas - protect against table cache being null and then used
Carsten Haitzler (Rasterman) [Thu, 26 Dec 2013 03:46:26 +0000 (12:46 +0900)]
evas - protect against table cache being null and then used

10 years agoefl: Unified eina critical manro to CRI.
Daniel Juyung Seo [Thu, 26 Dec 2013 03:22:05 +0000 (12:22 +0900)]
efl: Unified eina critical manro to CRI.

Being annoyed by different types of eina critical macros - CRI, CRIT,
 CRITICAL -, I concluded to unify them to one. Discussed on IRC and
 finally, CRI was chosen to meet the consistency with other macros -
 ERR, WRN, INF, DBG - in terms of the number of characters.
If there is any missing bits, please let me know.

10 years agoedje_convert.c: fixed formatting before working on the file.
Daniel Juyung Seo [Tue, 24 Dec 2013 03:47:41 +0000 (12:47 +0900)]
edje_convert.c: fixed formatting before working on the file.

10 years agoevas: limit how many times we walk over items.
Cedric BAIL [Thu, 26 Dec 2013 02:27:09 +0000 (11:27 +0900)]
evas: limit how many times we walk over items.

This does help for some textblock benchmark with a speed increase of 12% and
the one that don't get better don't get slower either, so let's put that in.

10 years agoecore: allow out-of-source build of ecore_xcb_keysym_table.h.
Dennis Schridde [Thu, 26 Dec 2013 01:34:55 +0000 (10:34 +0900)]
ecore: allow out-of-source build of ecore_xcb_keysym_table.h.

Reviewers: zmike, cedric

CC: cedric, zmike
Differential Revision: https://phab.enlightenment.org/D405

Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
10 years agoevas: fix a segfault in _draw_thread_font_draw, caused by the missing initialisation...
Dennis Schridde [Thu, 26 Dec 2013 01:32:40 +0000 (10:32 +0900)]
evas: fix a segfault in _draw_thread_font_draw, caused by the missing initialisation of a struct field

CC: cedric
Differential Revision: https://phab.enlightenment.org/D407

Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
10 years agoAdding hungarian translation
maxerba [Wed, 25 Dec 2013 21:56:42 +0000 (22:56 +0100)]
Adding hungarian translation

10 years agoRevert "Quick and dirty fallback to gst 0.10 if 1.0 is not found"
Carsten Haitzler (Rasterman) [Tue, 24 Dec 2013 14:45:30 +0000 (23:45 +0900)]
Revert "Quick and dirty fallback to gst 0.10 if 1.0 is not found"

This reverts commit 5676eb4ef92f87b406a9a91112513d5368ba8df4.

10 years agoQuick and dirty fallback to gst 0.10 if 1.0 is not found
Iván Briano [Mon, 23 Dec 2013 16:00:14 +0000 (14:00 -0200)]
Quick and dirty fallback to gst 0.10 if 1.0 is not found

10 years agoecore: remove dead free
Sebastian Dransfeld [Mon, 23 Dec 2013 12:39:47 +0000 (13:39 +0100)]
ecore: remove dead free

Since we now free exe on goto restart, exe will always be NULL.

CID 1139955

10 years agopkgbuild - enable scim by default for input methods and sdl is pointless
Carsten Haitzler (Rasterman) [Mon, 23 Dec 2013 04:38:54 +0000 (13:38 +0900)]
pkgbuild - enable scim by default for input methods and sdl is pointless

10 years agopkgbuild - fix deps list for gst 1.0
Carsten Haitzler (Rasterman) [Mon, 23 Dec 2013 04:00:10 +0000 (13:00 +0900)]
pkgbuild - fix deps list for gst 1.0

10 years agoecore: fix shutdown when using system module.
Cedric BAIL [Mon, 23 Dec 2013 02:58:17 +0000 (11:58 +0900)]
ecore: fix shutdown when using system module.

This patch will detect how many more times ecore_init was called
during initialization and use that as a threshold to do a clean shutdown.
It is a necessary evil as we do have ecore module that will initialize
eldbus that will then reinit ecore_init from within ecore_init and without
a chance for the application to act on it.

I also reenable a test to make sure we will catch earlier this kind of issue.

10 years agoecore: fix tests to avoid failure on successful initialization.
Cedric BAIL [Mon, 23 Dec 2013 02:44:52 +0000 (11:44 +0900)]
ecore: fix tests to avoid failure on successful initialization.

This patch is necessary to work around the fact that if you have some
ecore system module installed, they will be initialized and may use another
library like eldbus that will call ecore_init again. So ecore_init will be
different from 1, but still be a success.

My patch does introduce a work around a problem in that situation. Calling
ecore_shutdown wont work at this stage, as we do have module that did initialize
ecore also. And the only way to make ecore_shutdown happen is to unload those
module and that wont happen as they where initialized from inside ecore... lala !

Yes, we never shutdown ecore properly when we have ecore module that use
something like eldbus.

10 years agoecore_audio: update test to not look at ecore_init return to much due to system module.
Cedric BAIL [Mon, 23 Dec 2013 02:44:26 +0000 (11:44 +0900)]
ecore_audio: update test to not look at ecore_init return to much due to system module.

10 years agoeldbus: fix tests to properly take into account the presence of ecore system module.
Cedric BAIL [Mon, 23 Dec 2013 02:42:12 +0000 (11:42 +0900)]
eldbus: fix tests to properly take into account the presence of ecore system module.

Ecore system module may use dbus, so when you init ecore, it may init eldbus a few
more time (depending on the module that are present on your system). This result in
eldbus_init returning a valid init, but different from 1. This patch update the test
to take that into account.

10 years agoeldbus: don't do a double initialization due to ecore module using eldbus now.
Cedric BAIL [Mon, 23 Dec 2013 02:24:49 +0000 (11:24 +0900)]
eldbus: don't do a double initialization due to ecore module using eldbus now.

10 years agoEvas test textblock: Added a test for a broken range_text_get case.
Youngbok Shin [Mon, 23 Dec 2013 02:01:57 +0000 (11:01 +0900)]
Evas test textblock: Added a test for a broken range_text_get case.

Summary: Added a test for range_text_get case on the text that include multi text node.

Reviewers: tasn, woohyun, seoz

CC: cedric
Differential Revision: https://phab.enlightenment.org/D398

10 years agoemotion: initial port of emotion to GStreamer 1.0
Sebastian Dröge [Mon, 23 Dec 2013 01:50:53 +0000 (10:50 +0900)]
emotion: initial port of emotion to GStreamer 1.0

Some commits to port emotion to GStreamer 1.0 and implement some missing features,
clean up code a bit and fix some bugs on the way.

This works as good as the 0.10 code for me now with the emotion examples,
just the Samsung hardware specific code is commented out. This should be
ported by someone who has such hardware, and also in a clean way now that
GStreamer since 1.0 has features to handle all this properly.

There's still a lot of potential to clean things up and fix many bugs, and also
to implement zerocopy rendering. But those are for later if there's actual
interest in this at all.

Commits:

- Update configure checks and ecore example to GStreamer 1.0
- Initial port of emotion to GStreamer 1.0
- Samsung specific code commented out, should be ported by someone
with the hardware.
- Return GST_FLOW_FLUSHING when the sink is unlocked
- Remove unused GSignal from the sink
- Use GstVideoInfo to store the format details inside the sink
- Add support for pixel-aspect-ratio
- Store video format information in GstVideoInfo for the different video streams
- Use GstAudioInfo to store the audio format information
- Remove some unused defines
- Header cleanup
- Implement initial support for GstNavigation interface
- Implement setting of audio/video channel

Reviewers: cedric

CC: cedric
Differential Revision: https://phab.enlightenment.org/D387

Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
10 years agoedje: edje_decc - added -output flag (save to specified dir)
Andrii Kroitor [Mon, 23 Dec 2013 01:48:08 +0000 (10:48 +0900)]
edje: edje_decc - added -output flag (save to specified dir)

Reviewers: cedric, seoz

Reviewed By: cedric

CC: reutskiy.v.v, cedric
Differential Revision: https://phab.enlightenment.org/D402

Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
10 years agoedje: edje_calc - update _edje_part_description_find
Vyacheslav Reutskiy [Mon, 23 Dec 2013 00:51:43 +0000 (09:51 +0900)]
edje: edje_calc - update _edje_part_description_find

Add to fuction prototype new param: Eina_Bool approximation.
If need exact matching state name and value set EINA_FALSE to
'approximate'. In other cases used EINA_TRUE.

Reviewers: cedric, raster, seoz

CC: cedric
Differential Revision: https://phab.enlightenment.org/D400

Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
10 years agoedje: edje_edit - fix .edc file generation
Andrii Kroitor [Mon, 23 Dec 2013 00:47:51 +0000 (09:47 +0900)]
edje: edje_edit - fix .edc file generation

Reviewers: cedric, seoz

Reviewed By: cedric

CC: reutskiy.v.v, cedric
Differential Revision: https://phab.enlightenment.org/D401

Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
10 years agoevas - redraw the map surface if one of the children has been still changed map.
ChunEon Park [Sun, 22 Dec 2013 09:19:40 +0000 (18:19 +0900)]
evas - redraw the map surface if one of the children has been still changed map.

10 years agoemotion_generic: fix permissions, resource leaks and error handling.
Gustavo Sverzut Barbieri [Sat, 21 Dec 2013 19:03:38 +0000 (17:03 -0200)]
emotion_generic: fix permissions, resource leaks and error handling.

 - create permissions as 0700, this should be private to the running user.

 - do shm_unlink() on error, prevents resource leaks;

 - apply close() on error, prevents resource leaks;

 - handle strerror() properly.

 - shm name uses process id, object name and ecore's time, should be
   cleaner and avoid possible clashes

 - ecore_exe do not need to read from slave stdout/err, this removing
   the flags allows messages to come visible at terminal.

10 years agofix doc typo, ernno usage and add missing close().
Gustavo Sverzut Barbieri [Sat, 21 Dec 2013 17:00:30 +0000 (15:00 -0200)]
fix doc typo, ernno usage and add missing close().

 - fix typo, it's slave not slayer... :-D

 - errno: you can't use errno to report error from failed mmap() if
   you do another call that sets errno after that, in that case
   fprintf(). So have a single print so we can use the errno value of
   the proper call.

 - although the slave generic player is not that important if it leaks
   its single shmfd, let's be pedantic and close it. Manpage says it
   is safe to close filedescriptor after mmap() worked.

10 years agobugfix: free the entire ecore_con dns struct on info clear to prevent crashes later on
discomfitor [Sat, 21 Dec 2013 03:16:59 +0000 (22:16 -0500)]
bugfix: free the entire ecore_con dns struct on info clear to prevent crashes later on

10 years agosplit ecore_con_dns free functions into one that removes from list and one that does...
discomfitor [Sat, 21 Dec 2013 03:16:29 +0000 (22:16 -0500)]
split ecore_con_dns free functions into one that removes from list and one that does the freeing

10 years agoRevert "workaround for a weird ecore-con crash"
discomfitor [Sat, 21 Dec 2013 03:04:58 +0000 (22:04 -0500)]
Revert "workaround for a weird ecore-con crash"

This reverts commit c751a220d6bbcb22b120c089e406f278e1891147.

10 years agoworkaround for a weird ecore-con crash
discomfitor [Sat, 21 Dec 2013 02:36:58 +0000 (21:36 -0500)]
workaround for a weird ecore-con crash

kuri ping in case I don't get to this soon it needs to be fixed somewhere else

10 years agofix non-avahi build
Mike Blumenkrantz [Fri, 20 Dec 2013 15:24:13 +0000 (10:24 -0500)]
fix non-avahi build

damn borkers!!!!

10 years agoextn: remove files.{w,h} that are not used.
Gustavo Sverzut Barbieri [Fri, 20 Dec 2013 15:10:38 +0000 (13:10 -0200)]
extn: remove files.{w,h} that are not used.

10 years agoextn: remove unused attribute am_server.
Gustavo Sverzut Barbieri [Fri, 20 Dec 2013 15:09:52 +0000 (13:09 -0200)]
extn: remove unused attribute am_server.

10 years agoextn: complete with NULL newly added functions.
Gustavo Sverzut Barbieri [Fri, 20 Dec 2013 15:08:51 +0000 (13:08 -0200)]
extn: complete with NULL newly added functions.

10 years agoextn: fix typo, alpha is SHM_REF2, not 1!
Gustavo Sverzut Barbieri [Fri, 20 Dec 2013 14:58:45 +0000 (12:58 -0200)]
extn: fix typo, alpha is SHM_REF2, not 1!

10 years agoevas - removed unnecessary doc info
ChunEon Park [Fri, 20 Dec 2013 11:26:57 +0000 (20:26 +0900)]
evas - removed unnecessary doc info

10 years agoevas render2 - more work on basics
Carsten Haitzler (Rasterman) [Fri, 20 Dec 2013 10:45:17 +0000 (19:45 +0900)]
evas render2 - more work on basics

10 years agoevas: fix compilation issue on Jenkins windows that make me wonder how it does build...
Cedric BAIL [Fri, 20 Dec 2013 07:09:10 +0000 (16:09 +0900)]
evas: fix compilation issue on Jenkins windows that make me wonder how it does build on Linux.

10 years agoevas: no loader should ever close an Eina_File anymore.
Cedric BAIL [Fri, 20 Dec 2013 05:39:57 +0000 (14:39 +0900)]
evas: no loader should ever close an Eina_File anymore.

This would lead to some crash in EFM if relying on Evas to find the file format by
trying all its loader.

This should fix T674 and T668.

10 years agoevas: patched evas_map_image.c to use NEON code
Yury Usishchev [Fri, 20 Dec 2013 05:02:48 +0000 (14:02 +0900)]
evas: patched evas_map_image.c to use NEON code

Reviewers: cedric, raster

CC: cedric
Differential Revision: https://phab.enlightenment.org/D397

Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
10 years agoedje: edje_cc - note for future image_id changes added
Andrii Kroitor [Thu, 19 Dec 2013 13:51:48 +0000 (22:51 +0900)]
edje: edje_cc - note for future image_id changes added

Reviewers: cedric

Reviewed By: cedric

CC: reutskiy.v.v, cedric
Differential Revision: https://phab.enlightenment.org/D396

Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
10 years agoedje: edc ref - update the information about fill type values
Vyacheslav Reutskiy [Thu, 19 Dec 2013 13:49:50 +0000 (22:49 +0900)]
edje: edc ref - update the information about fill type values

Reviewers: cedric, raster, seoz

Reviewed By: cedric

CC: cedric
Differential Revision: https://phab.enlightenment.org/D395

10 years agoedje: edje_edit - adding getter and setter for smooth parameter
Vyacheslav Reutskiy [Thu, 19 Dec 2013 13:48:03 +0000 (22:48 +0900)]
edje: edje_edit - adding getter and setter for smooth parameter

This commit will add API for working with smooth for image
and proxy part type.
There are two functions will be added:

1. edje_edit_state_fill_smooth_get
2. edje_edit_state_fill_smooth_set

Reviewers: cedric, raster, seoz

Reviewed By: cedric

CC: cedric
Differential Revision: https://phab.enlightenment.org/D394

Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
10 years agoevas - render - clear out pending object array more aggressively
Viacheslav Lvov [Thu, 19 Dec 2013 08:34:05 +0000 (17:34 +0900)]
evas - render - clear out pending object array more aggressively

There was detected that pending_objects array of Evas structure of
email application stores at least 550 objects that never are removed
from this array. These objects are not active and are not about to render.
We know that once the decision not to remove changed objects from this
array was accepted. But then the criterion of leaving object in this
array was weakened.
We propose to weaken this criterion more sufficiently – do not store
in this array objects that can not be cause of whole canvas
invalidation. Our exact proposal for this criterion you can see in the
patch attached to this issue.

NOTE: This patch is a try, there may be some side effect especially with
mapped object that we didn't find, so it could be reverted if before the
release of 1.9 we see anything wrong.

Reviewers: cedric

CC: cedric, seoz
Differential Revision: https://phab.enlightenment.org/D354

Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
10 years agoevas - jpg loader - speed up header check for pgoressive jpgs
Carsten Haitzler (Rasterman) [Fri, 20 Dec 2013 05:14:27 +0000 (14:14 +0900)]
evas - jpg loader - speed up header check for pgoressive jpgs

10 years agorender2 - work
Carsten Haitzler (Rasterman) [Thu, 19 Dec 2013 13:54:03 +0000 (22:54 +0900)]
render2 - work

10 years agoreformat ecore_con so I can read it...
discomfitor [Fri, 20 Dec 2013 05:07:50 +0000 (00:07 -0500)]
reformat ecore_con so I can read it...

10 years agoRemove ecore_imf_context_reset in focus-in event handler
Jihoon Kim [Fri, 20 Dec 2013 00:31:58 +0000 (09:31 +0900)]
Remove ecore_imf_context_reset in focus-in event handler

It's useless to call ecore_imf_context_reset in focus-in handler

10 years agomailmap myself
Mike Blumenkrantz [Thu, 19 Dec 2013 23:22:23 +0000 (18:22 -0500)]
mailmap myself

10 years agofirst steps to rewriting evas render... a long path.
Carsten Haitzler (Rasterman) [Thu, 19 Dec 2013 13:49:16 +0000 (22:49 +0900)]
first steps to rewriting evas render... a long path.

10 years agoFix coding style madness.
Guillaume Friloux [Thu, 19 Dec 2013 10:12:46 +0000 (11:12 +0100)]
Fix coding style madness.

10 years agoFix leak + possible segfault in edje_edit.
Guillaume Friloux [Thu, 19 Dec 2013 10:04:07 +0000 (11:04 +0100)]
Fix leak + possible segfault in edje_edit.

vaiable 'c' is allocated inside a loop, but only freed outside that loop...

10 years agoedje: edje_edit - adding API to move to the specified place in the parts stack
Vyacheslav Reutskiy [Thu, 19 Dec 2013 06:40:18 +0000 (15:40 +0900)]
edje: edje_edit - adding API to move to the specified place in the parts stack

This commit will add some API to restack part above/below target part.
There are two functions will be added:

1. edje_edit_part_restack_part_below
2. edje_edit_part_restack_part_above

Reviewers: cedric, seoz, raster

Reviewed By: cedric

CC: cedric
Differential Revision: https://phab.enlightenment.org/D390

Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
10 years agoedje: edje_edit - image api modification
Andrii Kroitor [Thu, 19 Dec 2013 06:47:25 +0000 (15:47 +0900)]
edje: edje_edit - image api modification

Changed edje_edit_image_del logic: image can't be deleted if it's in use,
after deletion last image in list is moved to freed position so there are no
"holes" in image list.

Following functions added to api:
   edje_edit_image_replace
   edje_edit_image_usage_list_get
   edje_edit_image_usage_list_free

Reviewers: cedric, seoz, raster

Reviewed By: cedric

CC: reutskiy.v.v, cedric
Differential Revision: https://phab.enlightenment.org/D392

Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
10 years agoedje: edje_edit - fix edje_edit_state_color_class_set to apply the colors to color_class.
Vyacheslav Reutskiy [Thu, 19 Dec 2013 06:42:23 +0000 (15:42 +0900)]
edje: edje_edit - fix edje_edit_state_color_class_set to apply the colors to color_class.

edje_edit_state_color_class_set apply the colors from color_class to the given part.

Reviewers: cedric, seoz, raster

Reviewed By: cedric

CC: cedric
Differential Revision: https://phab.enlightenment.org/D391

Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
10 years agoedje: edje_edit - adding getter and setter for text source
Vyacheslav Reutskiy [Thu, 19 Dec 2013 06:33:53 +0000 (15:33 +0900)]
edje: edje_edit - adding getter and setter for text source

This commit will add API for working with text source.
There are two functions will be added:

1. edje_edit_state_text_source_get
2. edje_edit_state_text_source_set

Reviewers: cedric, seoz, raster

CC: cedric
Differential Revision: https://phab.enlightenment.org/D389

Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
10 years agoedje: edje_edit - adding getter and setter for text style
Vyacheslav Reutskiy [Thu, 19 Dec 2013 06:29:51 +0000 (15:29 +0900)]
edje: edje_edit - adding getter and setter for text style

This commit will add API for working with text style.
There are two functions will be added:

1. edje_edit_state_text_style_get
2. edje_edit_state_text_style_set

Reviewers: cedric, seoz, raster

Reviewed By: cedric

CC: cedric
Differential Revision: https://phab.enlightenment.org/D388

Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
10 years agoedje: edje_edit - _edje_generate_source supporting alias
Vorobiov Vitalii [Thu, 19 Dec 2013 06:26:07 +0000 (15:26 +0900)]
edje: edje_edit - _edje_generate_source supporting alias

Support generating alias source code in functions:
1) _edje_generate_source_of_group
2) _edje_generate_source

Reviewers: cedric, seoz, raster

CC: reutskiy.v.v, cedric
Differential Revision: https://phab.enlightenment.org/D386

Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
10 years agoedje: edje_edit - adding edje_edit_group_copy.
Vorobiov Vitalii [Thu, 19 Dec 2013 06:15:34 +0000 (15:15 +0900)]
edje: edje_edit - adding edje_edit_group_copy.

This new function will copy the whole group into same file but with another group name/id.

Copying whole group data field by field require some huge code.
Alternatively we found another solution for copying whole group as you can see it in this commit.
This function will copy group and all it's data (like scripts etc) and it will be totally independent.

Reviewers: cedric, seoz, raster

CC: reutskiy.v.v, cedric
Differential Revision: https://phab.enlightenment.org/D385

Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
10 years agoevas/map - ensure map updation.
ChunEon Park [Thu, 19 Dec 2013 06:34:15 +0000 (15:34 +0900)]
evas/map - ensure map updation.

for more gurantee to update map properly,
we should reset the map changed flag after the map updation is performed.
this will fix a mapbuf bug that map is not updated.

when the map is changed without rendering but it's in the active object list,
the map updation couldn't be happened later that map is rendered. (if the map is not updated at this frame)

10 years agoRevert "evas/map - commeted out insane compare."
ChunEon Park [Thu, 19 Dec 2013 05:33:02 +0000 (14:33 +0900)]
Revert "evas/map - commeted out insane compare."

This reverts commit b259cfafe5a758b219f0e80256653358a6a6d62b.

my fault. the compare is reasonable.

10 years agoevas/map - commeted out insane compare.
ChunEon Park [Thu, 19 Dec 2013 05:12:23 +0000 (14:12 +0900)]
evas/map - commeted out insane compare.

cedric, is it just typo?

10 years agoautotools: Evil is actually needed on Windows add the correct line for Ecore_Avahi.
Cedric BAIL [Wed, 18 Dec 2013 09:03:01 +0000 (18:03 +0900)]
autotools: Evil is actually needed on Windows add the correct line for Ecore_Avahi.

10 years agoibusimmodule: fix dereference after null check issue
Jihoon Kim [Thu, 19 Dec 2013 01:20:42 +0000 (10:20 +0900)]
ibusimmodule: fix dereference after null check issue

The variable 'str' was used after checking NULL.

10 years agoecore_evas: removed author's name from source code as the author requested it.
Daniel Juyung Seo [Wed, 18 Dec 2013 14:47:29 +0000 (23:47 +0900)]
ecore_evas: removed author's name from source code as the author requested it.

Git log should be enough for the credit :)

This code was merged into efl upstream by devilhorn's aggressive synchronization between efl upstream and tizen.
But that commit didn't have the author's credit.
However We will never forget the contribution of Gwanglim Lee <gl77.lee@samsung.com>.

10 years agoecore gesture: removed unused variable.
Daniel Juyung Seo [Sat, 14 Dec 2013 08:44:53 +0000 (17:44 +0900)]
ecore gesture: removed unused variable.

10 years agoevas - tiler - fix missing clip of first rect to outbuf size
Carsten Haitzler (Rasterman) [Wed, 18 Dec 2013 11:38:15 +0000 (20:38 +0900)]
evas - tiler - fix missing clip of first rect to outbuf size

stable release - cherry-pick me!

10 years agopkgbuild: avahi is now a dependency of EFL.
Cedric BAIL [Wed, 18 Dec 2013 02:20:31 +0000 (11:20 +0900)]
pkgbuild: avahi is now a dependency of EFL.

10 years agogetopt: add positional argument handling.
Gustavo Sverzut Barbieri [Tue, 17 Dec 2013 23:06:53 +0000 (21:06 -0200)]
getopt: add positional argument handling.

positional arguments must appear at the end of the description array
(after the last option) and should have a metavar set and not have
shortname or longname. Simple, elegant and fit :-)

There is a new function to parse the positional arguments,
ecore_getopt_parse_positional() because we may want to not try to
parse them in the case of a quit-option such as --help, --license,
--copyright, --version or some user-defined action. This avoids us
producing errors of missing positional arguments when printing help
and adds some flexibility as well.

This should make Tasn happy :-)

10 years agoadd great ecore_getopt example.
Gustavo Sverzut Barbieri [Tue, 17 Dec 2013 20:08:27 +0000 (18:08 -0200)]
add great ecore_getopt example.

should cover and explain getopt usage and serve as base for
applications that want to use it (all efl should!)

10 years agogetopt: fix line wrapping issues in help strings.
Gustavo Sverzut Barbieri [Tue, 17 Dec 2013 19:51:48 +0000 (17:51 -0200)]
getopt: fix line wrapping issues in help strings.

10 years agoecore/ecore_x - show the window if the window should be visible.
ChunEon Park [Tue, 17 Dec 2013 11:37:17 +0000 (20:37 +0900)]
ecore/ecore_x - show the window if the window should be visible.

when the window alpha mode is changed, the x window is re-created.
but if the window is going on the show state(not visible yet but waiting for visible from xserver) this window never be visible.
so here it make the window visible also if the window is going on the visible state.

10 years agoEcore_Avahi: initial commit.
Cedric BAIL [Sun, 10 Nov 2013 07:51:42 +0000 (08:51 +0100)]
Ecore_Avahi: initial commit.

TODO:
- Add tests, how ?
- Integrate with Eo, needed ?

10 years agoOne ) too many.
Iván Briano [Mon, 16 Dec 2013 17:45:00 +0000 (15:45 -0200)]
One ) too many.

10 years agoEvas textblock: Fixed range_deletion bug with multiple visible formats.
Tom Hacohen [Mon, 16 Dec 2013 15:45:07 +0000 (15:45 +0000)]
Evas textblock: Fixed range_deletion bug with multiple visible formats.

This makes the tests added in 8bee8853ae1e38823ee0dbcac1643d23c3e34379
pass.

Thanks to Youngbok Shin for reporting.

10 years agoEvas test textblock: Added a test for a broken range_delete case.
Youngbok Shin [Mon, 16 Dec 2013 12:05:47 +0000 (12:05 +0000)]
Evas test textblock: Added a test for a broken range_delete case.

This fixes bad integration by me (Tom) of Youngbok's patch in
42a06f24d8de13953fdceea02c51ad534bccd626.

10 years agoemotion: fix Windows compilation.
Cedric BAIL [Mon, 16 Dec 2013 08:03:10 +0000 (17:03 +0900)]
emotion: fix Windows compilation.

10 years agoemotion: revert to fast sed to use the right eina log domain.
Cedric BAIL [Mon, 16 Dec 2013 06:25:36 +0000 (15:25 +0900)]
emotion: revert to fast sed to use the right eina log domain.

10 years agobugfix: eldbus code generator struct members named "proxy" should not be passed to...
discomfitor [Sun, 15 Dec 2013 05:07:22 +0000 (00:07 -0500)]
bugfix: eldbus code generator struct members named "proxy" should not be passed to eina_value_free.

come on.

10 years agoedje_edit - fix mem leak of src strbuf on print status
Carsten Haitzler (Rasterman) [Sun, 15 Dec 2013 02:40:16 +0000 (11:40 +0900)]
edje_edit - fix mem leak of src strbuf on print status

though utterly minor - it's still a leak. fix CID 1039263

10 years agoedje - edje_edit - don't access collection after it is freed
Carsten Haitzler (Rasterman) [Sun, 15 Dec 2013 02:34:43 +0000 (11:34 +0900)]
edje - edje_edit - don't access collection after it is freed

should fix CID 1137855

10 years agoemotion - webcam - don't access after free and ensure it is not in list
Carsten Haitzler (Rasterman) [Sun, 15 Dec 2013 02:29:07 +0000 (11:29 +0900)]
emotion - webcam - don't access after free and ensure it is not in list

this should fix CID 1137853 and CID 1137854

10 years agoevas - fb engine - fix mem leak if ioctl fails on fb mode
Carsten Haitzler (Rasterman) [Sun, 15 Dec 2013 02:25:56 +0000 (11:25 +0900)]
evas - fb engine - fix mem leak if ioctl fails on fb mode

this fixes CID 1137852

10 years agoecore-file - fix mem leak in ecore_file_app_exe_get() on restart
Carsten Haitzler (Rasterman) [Sun, 15 Dec 2013 02:18:38 +0000 (11:18 +0900)]
ecore-file - fix mem leak in ecore_file_app_exe_get() on restart

this actually fixes the issue. coverity did point it out but i fixed
it incorrectly. since it was still there in the scan i now fixed it
properly. fixes CID 1039279

10 years agoevas - software-x11 - fill in unused struct members to avoid uninitialized
Carsten Haitzler (Rasterman) [Sun, 15 Dec 2013 02:11:17 +0000 (11:11 +0900)]
evas - software-x11 - fill in unused struct members to avoid uninitialized

this shoudl fix CID 1039548 (missed other memmbers before) and if
valgrind ever sees this now it won't complain either.

10 years agobugfix: make eldbus generated code not crash on every single generated event
discomfitor [Sun, 15 Dec 2013 00:54:35 +0000 (19:54 -0500)]
bugfix: make eldbus generated code not crash on every single generated event

this is pretty depressing to find after it's been in git for over a year

10 years agoedje: adding Alias API into edje_edit module
Vorobiov Vitalii [Sat, 14 Dec 2013 09:40:26 +0000 (18:40 +0900)]
edje: adding Alias API into edje_edit module

Summary:
This commit will add some API for working with aliases.
There are four functions will be added:
1. edje_edit_group_aliases_get - this function will return the list of aliases of certain group.
2. edje_edit_group_is_alias - this function will check if the given group name is actually an alias.
3. edje_edit_group_aliased_get - return the main real group that is being aliased.
4. edje_edit_group_alias_add - add new alias name.

Also the function "edje_edit_group_del" was modified because of wrong behaviour.
Now if the given group is alias, it will successfully delete it,
but if the given group is main group, it will also delete all it's aliases.

This commit also modify EDJ file by adding new field for detecting if the group is alias or not.

Reviewers: cedric, seoz, raster

Reviewed By: raster

CC: reutskiy.v.v, cedric
Differential Revision: https://phab.enlightenment.org/D376

10 years agoevas common - uninitialized use warning remove
Carsten Haitzler (Rasterman) [Sat, 14 Dec 2013 09:28:56 +0000 (18:28 +0900)]
evas common - uninitialized use warning remove

10 years agoedje: Fixing little misbehavior of edje_edit_state_rel_to_set
Vorobiov Vitalii [Sat, 14 Dec 2013 09:26:30 +0000 (18:26 +0900)]
edje: Fixing little misbehavior of edje_edit_state_rel_to_set

Summary:
After making part relative to the whole interface (by giving NULL parameter)
it was returning EINA_FALSE (not successfull).

Reviewers: seoz, cedric, raster

Reviewed By: raster

CC: reutskiy.v.v, cedric
Differential Revision: https://phab.enlightenment.org/D379

10 years agoEvas textblock: Fixed deletion of ranges ending with visual formats.
Tom Hacohen [Fri, 13 Dec 2013 14:41:49 +0000 (14:41 +0000)]
Evas textblock: Fixed deletion of ranges ending with visual formats.

This is a regression introduced in:
3f3ad67616d491c40e4c7c34d3927896f80b8caa

10 years agoEvas textblock: Added more range_delete tests.
Youngbok Shin [Fri, 13 Dec 2013 14:37:21 +0000 (14:37 +0000)]
Evas textblock: Added more range_delete tests.

These tests check for a regression with deletion of ranges ending with
visual formats.
Thanks to Youngbok Shin for sending me the tests.

10 years agoecore_file - finding exe path - if HOME is not set a leak could happen
Carsten Haitzler (Rasterman) [Fri, 13 Dec 2013 12:23:07 +0000 (21:23 +0900)]
ecore_file - finding exe path - if HOME is not set a leak could happen

this fixes CID 1039279