path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-03-11evas: Replace EINA_LIST_FOREACH_SAFE to while statement.WooHyun Jung1-3/+8
Clipees can be cleared before the loop is finished because evas_object_clip_unset calls smart function of clip_unset. So, if we use EINA_LIST_FOREACH_SAFE, invalid next list pointer can be kept and read after obj->clip.clipees is freed. Thanks to Davide Andreoli for reporting. @fix
2014-03-10Eina Log: Fixed ABI break introduce by the addition of 'color'.Tom Hacohen1-1/+3
ABI break was introduced here 5913ce7ec87beb267d2d02846e5267eae08ef860 Always add new members at the end of public structures.
2014-03-10Evas font: Don't add canvas specific path to the global fontconfig path list.Tom Hacohen1-13/+0
This will come back when D621 gets in (which implements it correctly).
2014-03-10edje - allow lager clipper space.ChunEon Park1-2/+2
In acutal case, some application encounted that a proxy object is larger than a source clipper size. So the proxy is clipped by the edje clipper. We don't have to limit the clipper size to 10000x10000 @fix
2014-02-26eina_log: Update domain colouring when color_disable_set is calledAndy Williams2-0/+19
After color_disable is set we should update the domain_str for each domain as this cached the setting from when the domain was registered. This required storing the colour within the domain for later use. Fixes T1029
2014-03-07edje/entry: fix to not emit "changed" signal in unnecessary cases of ↵Youngbok Shin1-1/+1
password mode. Summary: When text is hidden by password character, "changed" signal should be emitted. But, even if there is no visible text, the signal was emitted. @fix Reviewers: woohyun, tasn, cedric Reviewed By: cedric CC: cedric Differential Revision: https://phab.enlightenment.org/D604 Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
2014-03-06Edje entry: fix bug preedit text is committed in the next entry when Tab key ↵Jihoon Kim1-26/+5
is pressed. Key events which ecore_imf_context_filter_event function returns EINA_TRUE should be not propagated. @fix
2014-03-04Evas filters: Avoid CRI message when using the GL engineJean-Philippe ANDRE3-1/+4
A CRItical message was always displayed when setting a filter on a text object, saying that proxy rendering is not supported on GL. Reduce CRI to ERR and skip proxy rendering altogether if there are no proxy sources. This @fix needs to be backported. Thanks zmike for reporting this. Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
2014-03-04Evas filters: fix clip to target calculationJean-Philippe Andre1-0/+6
It was possible to keep negative values for dx,dy which would then draw pixels out of bounds (= crash). Make check crashed after the previous commit. @fix
2014-03-04Evas filters: fix random cases of 'dancing text'Jean-Philippe ANDRE2-31/+48
In some situations, text with filters would be rendered in an invalid position (somewhere too high). I am not entirely sure of the reason why the original code with BLEND doesn't work, but this new version is simpler as GL and SW have more similar behaviours: - render text to our 'output' buffer - draw this buffer as an image onto the set target Thanks zmike for reporting the issue. And thanks A LOT for using the filters :D @fix Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
2014-03-04Evas filters: fix black squares with the GL engineJean-Philippe ANDRE3-2/+14
If a text object changes regularily, there might be cases where the object will be rendered as a simple black rectangle for just one frame. It seems that the previous output buffer is deleted before being actually rendered on screen. This patch will delay the deletion of the previous buffer until the current one has been rendered to the target surface. And again, thanks zmike for reporting. @fix Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
2014-02-28ecore_avahi: @fix timeout to avoid pitfall of forever frozen timer.Cedric Bail1-16/+11
2014-02-28examples/evas: Set a proper format string for fprintfStefan Schmidt1-2/+2
Instead of abusing the format string we should set it. Was made aware of this problme by chinmaya061 in https://phab.enlightenment.org/D585 @fix
2014-02-27ecore_avahi: fix timeout to be relative from now.Cedric Bail1-4/+13
2014-02-27ecore: @fix race condition when using ecore_main_loop_thread_safe_call_sync.Cedric Bail1-2/+3
2014-02-27edje: Fix CURRENT option works.Jaehwan Kim1-10/+0
By this code the CURRENT option didn't work. Don't remove rp->current before the animation is excuted. The memory leak issue is resolved by commit(d636c0f801dd56671a970076acdfdf78dd3115f6).
2014-02-27evas: replace EINA_LIST_FREE to EINA_LIST_FOREACH_SAFE.WooHyun Jung1-1/+1
EINA_LIST_FREE does eina_list_remove_list, and clip_unset does the same thing to the same list pointer. So, EINA_LIST_FOREACH_SAFE is proper for this case.
2014-02-26bugfix: Fix Wayland Shm engine destination calculation typoChris Michael1-1/+1
When rotation is 0, we need to advance the destination pointer in the X direction by a Multiple of Bits-Per-Pixel...not an addition. Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-02-24ecore_evas_object_example: Added cursor unset example.Daniel Juyung Seo1-0/+19
2014-02-24Doc: Fix filters documentationJean-Philippe Andre1-5/+4
Since the doc mentions colors in the examples, fix it to match the new dox theme :)
2014-02-24Doc: Fix colors in the filter examplesJean-Philippe Andre5-8/+8
Since the bg color changed from dark grey to white, the colors don't match so much anymore... This is just like theme work.
2014-02-23Emotion generic: change the log domain name to be consistent with others ↵davemds1-2/+2
2014-02-23textgrid - with new fallback fonts we cant depend on glyph extents anymoreCarsten Haitzler (Rasterman)1-13/+10
now that glyphs can exceed the bounds of the original query for the font, there is no pointusing max ascent/descent bounds. back to plain ascent and decent then so you may get fewer gaps in some fonts. this fixes font gaps consiering trying to wrk otherwise now is pointless.
2014-02-23textgrid - out-of-bounds chars cause update artifacts - fix.Carsten Haitzler (Rasterman)1-7/+23
over-redner by 1 char cell in each direction of an update region to clean up overflow artifacts.
2014-02-22Emotion test: fix calculation of the displayed time.davemds1-2/+6
2014-02-22Emotion test: added --loop and --position args.davemds1-7/+16
* New --loop: restart the playback when end reached * New --position: start the playback from the last know position * Fixed double -R option. now -r is --reflex and -R is --copyright Loop and last-position was implemented yet, this commit just made them optionally, so the default behaviour of the test reflect the default behaviour of emotion.
2014-02-22Emotion generic: remove the player restart hack.davemds2-17/+2
The player restart (when reached the end) is a specific VLC issue, it need to be managed inside the player, not here.
2014-02-22eina: reduce log to warning when not found.Cedric Bail1-1/+1
2014-02-21Revert "Evas font: Change font fallback to not depend on fontconfig >= 2.11."Tom Hacohen1-0/+2
It seems that before 2.10, this was not stable, and was causing issues to some people. I guess we'll have to bring the dependency back, at least until we can find a better solution. This reverts commit ec41f67be466ca2dea83ce787f74bd4b4d6c71cb. This fixes T1006.
2014-02-21Evas filters: Fix blending with fillmode "stretch"Jean-Philippe Andre1-2/+2
When using stretch, all buffers were actually drawn 4 times on top of each other. This was not visible because in most cases these buffers were all opaque (alpha = 255 everywhere).
2014-02-21eina: add more debug information when failing to open a file.Cedric BAIL2-1/+4
2014-02-21evil: don't depend on the toolchain defined macro.Cedric BAIL2-2/+2
2014-02-21emotion: lower severity of a simple warning.Cedric BAIL1-1/+3
2014-02-21Evil: Fix parallel build for WindowsJean-Philippe Andre1-3/+4
Add some internal dependencies when building Evil stuff: The two binaries test_evil and evil_suite need libdl and libevil. This should fix "make -j8" Tested with using mingw64 cross compilation
2014-02-20ecore_evas_fb: allow to force tslib even if mouse was handled.Gustavo Sverzut Barbieri1-2/+7
sometimes a device may have a mouse connected but the primary use is via touchscreen, then we force ecore_fb_ts_init() with ECORE_EVAS_FB_TS_ALWAYS=1
2014-02-20Emotion Generic: receiving the size on opening is correct.davemds2-19/+16
Also: more comments to simplify command debugging.
2014-02-20image: remove EINA_ARG_NONNULL check for parameterYakov Goldberg1-1/+1
in evas_object_image_file_get(const Evas_Object *obj, const char **file, const char **key) remove check for second parameter "file", because it contradicts comment's statement, that NULL can be passed, if parameter not needed. All needed NULL checks of parameter are present inside func.
2014-02-20Evas filters: Add a note to the transform docJean-Philippe Andre2-0/+8
This is a special operation, with a simplistic implementation.
2014-02-20Evas filters: Fix documentation for color with rgba buffersJean-Philippe Andre1-5/+7
The documentation said color was used as a multiplier, but in reality the image drawing functions don't use the context's color when drawing. So the color is only defined for Alpha -> RGBA operations.
2014-02-20Evas filters: Improve test coverage of the filtersJean-Philippe Andre1-30/+95
LCOV reports > 80% of coverage in evas/filters.
2014-02-20Evas filters: Add render test cases with pixel verificationJean-Philippe Andre2-51/+166
Force render into an Ecore_Evas, and check that the pixels are valid: - Not all transparent (can't really happen) - Not all black (since there's a black rect behind the text) - All valid premultiplied values (A >= R,G,B) Yes, it's a bit slow. But at least it really checks something :)
2014-02-20Evas filters: Add more test casesJean-Philippe Andre1-0/+63
Set filter on a text object and check the object's geometry. Get the padding and the geometry so we're sure they match. Also, pad_get would return 0 if the filter did not compile, so this checks that these filters are valid.
2014-02-20Evas filters: Add test cases for the script parserJean-Philippe Andre4-0/+214
Basic syntax checks and instructions coverage.
2014-02-20Evas filters: Grow filter should gracefully blendJean-Philippe Andre2-3/+33
If grow() was used on top of another effect, it was simply erasing all pixels. We need to use a temporary buffer and blend it to the output.
2014-02-20Evas filters: Fix padding in blur with offsetJean-Philippe Andre2-4/+5
Test case was: blur(ox=40, rx=40); This would crop the blurred text instead of having proper padding.
2014-02-20Evas filters: Fix curve filter with RGBAJean-Philippe Andre1-8/+12
The curve filter did not respect premultiplied values in RGBA images. Unfortunately, the fastest solution is to unpremul and re-premul everytime...
2014-02-20Evas filters: Fix options parsingJean-Philippe Andre1-1/+2
Test case "blend() blend();" did not fail when it should have. Also, return an error if the program was empty (all whitespaces).
2014-02-20Evas filters: Fix padding in blur filterJean-Philippe Andre1-33/+19
The wrong value was used for the command's padding. Also, remove mention of "motion" blur which is not implemented.
2014-02-20Evas filters: Mark parser functions as EAPI for testsJean-Philippe Andre2-11/+10
The filter unit test case will directly call the parser functions.
2014-02-20edje: Edje_Edit - make sure we don't use an not initialized value.Cedric BAIL1-1/+2
Should close CID 1181885 and CID 1181888.