path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* evas: Replace EINA_LIST_FOREACH_SAFE to while statement.WooHyun Jung2014-03-111-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
* Eina Log: Fixed ABI break introduce by the addition of 'color'.Tom Hacohen2014-03-101-1/+3
| | | | | | ABI break was introduced here 5913ce7ec87beb267d2d02846e5267eae08ef860 Always add new members at the end of public structures.
* Evas font: Don't add canvas specific path to the global fontconfig path list.Tom Hacohen2014-03-101-13/+0
| | | | This will come back when D621 gets in (which implements it correctly).
* edje - allow lager clipper space.ChunEon Park2014-03-101-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
* eina_log: Update domain colouring when color_disable_set is calledAndy Williams2014-02-262-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
* edje/entry: fix to not emit "changed" signal in unnecessary cases of ↵Youngbok Shin2014-03-071-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>
* Edje entry: fix bug preedit text is committed in the next entry when Tab key ↵Jihoon Kim2014-03-061-26/+5
| | | | | | | | is pressed. Key events which ecore_imf_context_filter_event function returns EINA_TRUE should be not propagated. @fix
* Evas filters: Avoid CRI message when using the GL engineJean-Philippe ANDRE2014-03-043-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>
* Evas filters: fix clip to target calculationJean-Philippe Andre2014-03-041-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
* Evas filters: fix random cases of 'dancing text'Jean-Philippe ANDRE2014-03-042-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>
* Evas filters: fix black squares with the GL engineJean-Philippe ANDRE2014-03-043-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>
* ecore_avahi: @fix timeout to avoid pitfall of forever frozen timer.Cedric Bail2014-02-281-16/+11
| | | | @backport.
* examples/evas: Set a proper format string for fprintfStefan Schmidt2014-02-281-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
* ecore_avahi: fix timeout to be relative from now.Cedric Bail2014-02-271-4/+13
* ecore: @fix race condition when using ecore_main_loop_thread_safe_call_sync.Cedric Bail2014-02-271-2/+3
* edje: Fix CURRENT option works.Jaehwan Kim2014-02-271-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).
* evas: replace EINA_LIST_FREE to EINA_LIST_FOREACH_SAFE.WooHyun Jung2014-02-271-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.
* bugfix: Fix Wayland Shm engine destination calculation typoChris Michael2014-02-261-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>
* ecore_evas_object_example: Added cursor unset example.Daniel Juyung Seo2014-02-241-0/+19
* Doc: Fix filters documentationJean-Philippe Andre2014-02-241-5/+4
| | | | | Since the doc mentions colors in the examples, fix it to match the new dox theme :)
* Doc: Fix colors in the filter examplesJean-Philippe Andre2014-02-245-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.
* Emotion generic: change the log domain name to be consistent with others ↵davemds2014-02-231-2/+2
| | | | domains.
* textgrid - with new fallback fonts we cant depend on glyph extents anymoreCarsten Haitzler (Rasterman)2014-02-231-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.
* textgrid - out-of-bounds chars cause update artifacts - fix.Carsten Haitzler (Rasterman)2014-02-231-7/+23
| | | | | over-redner by 1 char cell in each direction of an update region to clean up overflow artifacts.
* Emotion test: fix calculation of the displayed time.davemds2014-02-221-2/+6
* Emotion test: added --loop and --position args.davemds2014-02-221-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.
* Emotion generic: remove the player restart hack.davemds2014-02-222-17/+2
| | | | | The player restart (when reached the end) is a specific VLC issue, it need to be managed inside the player, not here.
* eina: reduce log to warning when not found.Cedric Bail2014-02-221-1/+1
* Revert "Evas font: Change font fallback to not depend on fontconfig >= 2.11."Tom Hacohen2014-02-211-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.
* Evas filters: Fix blending with fillmode "stretch"Jean-Philippe Andre2014-02-211-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).
* eina: add more debug information when failing to open a file.Cedric BAIL2014-02-212-1/+4
* evil: don't depend on the toolchain defined macro.Cedric BAIL2014-02-212-2/+2
* emotion: lower severity of a simple warning.Cedric BAIL2014-02-211-1/+3
* Evil: Fix parallel build for WindowsJean-Philippe Andre2014-02-211-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
* ecore_evas_fb: allow to force tslib even if mouse was handled.Gustavo Sverzut Barbieri2014-02-201-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
* Emotion Generic: receiving the size on opening is correct.davemds2014-02-202-19/+16
| | | | Also: more comments to simplify command debugging.
* image: remove EINA_ARG_NONNULL check for parameterYakov Goldberg2014-02-201-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.
* Evas filters: Add a note to the transform docJean-Philippe Andre2014-02-202-0/+8
| | | | This is a special operation, with a simplistic implementation.
* Evas filters: Fix documentation for color with rgba buffersJean-Philippe Andre2014-02-201-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.
* Evas filters: Improve test coverage of the filtersJean-Philippe Andre2014-02-201-30/+95
| | | | LCOV reports > 80% of coverage in evas/filters.
* Evas filters: Add render test cases with pixel verificationJean-Philippe Andre2014-02-202-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 :)
* Evas filters: Add more test casesJean-Philippe Andre2014-02-201-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.
* Evas filters: Add test cases for the script parserJean-Philippe Andre2014-02-204-0/+214
| | | | Basic syntax checks and instructions coverage.
* Evas filters: Grow filter should gracefully blendJean-Philippe Andre2014-02-202-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.
* Evas filters: Fix padding in blur with offsetJean-Philippe Andre2014-02-202-4/+5
| | | | | Test case was: blur(ox=40, rx=40); This would crop the blurred text instead of having proper padding.
* Evas filters: Fix curve filter with RGBAJean-Philippe Andre2014-02-201-8/+12
| | | | | | The curve filter did not respect premultiplied values in RGBA images. Unfortunately, the fastest solution is to unpremul and re-premul everytime...
* Evas filters: Fix options parsingJean-Philippe Andre2014-02-201-1/+2
| | | | | Test case "blend() blend();" did not fail when it should have. Also, return an error if the program was empty (all whitespaces).
* Evas filters: Fix padding in blur filterJean-Philippe Andre2014-02-201-33/+19
| | | | | | The wrong value was used for the command's padding. Also, remove mention of "motion" blur which is not implemented.
* Evas filters: Mark parser functions as EAPI for testsJean-Philippe Andre2014-02-202-11/+10
| | | | The filter unit test case will directly call the parser functions.
* edje: Edje_Edit - make sure we don't use an not initialized value.Cedric BAIL2014-02-201-1/+2
| | | | Should close CID 1181885 and CID 1181888.