Commit Graph

146 Commits

Author SHA1 Message Date
Daniel Juyung Seo 58c131d25d transit: Clean up internal variables and function names. 2015-02-17 09:09:33 +09:00
Jee-Yong Um f4bf91f7c7 elm_transit: Add elm_transit_go_in() API
Summary:
elm_transit_go() is executed immediately after it is called.
elm_transit_go_in() starts transit in given seconds.

@feature

Reviewers: Hermet, seoz

Reviewed By: seoz

Subscribers: seoz, Hermet

Differential Revision: https://phab.enlightenment.org/D1954
2015-02-17 08:34:46 +09:00
Daniel Juyung Seo 16fc6785a9 transit: Fix read from pointer after free.
This fixes coverity CID 1265738.
2015-01-23 14:32:37 +09:00
ChunEon Park 831efcf101 transit: fix crash issue.
This fixes the side effect that introduced from 1e06309be42fd2b5d0900b16da0178215c111681

Since transit has supported adding a map effect on the previous map status,
transit tried to access object-state map pointer.

but theses map pointer won't be valid if the transit keeps the last state
because it doesn't back up any object-state data.
2015-01-22 17:44:09 +09:00
Jaehyun Cho 1d4da291bf elm_transit: Fix crash issue caused by multiple transit effects.
Summary:
Fix crach issue caused by multiple transit effects on a single object.
         This patch prevents deleting obj_data while the obj_data is still used by other transit objects.
         This fix is related to commits "Support zoom keeping current map effect."(60214e6a172e42303fdfc69ef3d1996b25132242)
         and "Support rotation keeping current map effect."(1e06309be42fd2b5d0900b16da0178215c111681).
         @fix

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D1878
2015-01-19 15:35:17 +09:00
Jaehyun Cho 9df0e7202d elm_transit: Fix to support zoom rate zero.
Summary:
Fix to support zoom rate zero by using evas_map_util_zoom() instead of evas_map_util_3d_perspective().
@fix

Reviewers: Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D1877
2015-01-19 15:30:27 +09:00
Jaehyun Cho ce0e47c917 elm_transit: Support rotation keeping current map effect.
Summary:
Support rotation keeping current map effect.

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D1806
2014-12-23 09:39:38 +09:00
Jaehyun Cho 6632c7cb30 elm_transit: Support zoom keeping current map effect.
Summary:
Support zoom keeping current map effect.

Reviewers: Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D1805
2014-12-23 09:37:11 +09:00
ChunEon Park a26b6fcfc0 transit: fix warning (different types comparing)
added in 8a46bf160273ecda8eac5b60c8c445b5e5a046e3
2014-12-17 19:47:17 +09:00
jiin.moon a40fa2528b Transit: Support BEZIER CURVE
Summary:
Support BEZIER CURVE in elm transit
         @feature

Reviewers: seoz, raster, Hermet

Subscribers: raster, seoz

Differential Revision: https://phab.enlightenment.org/D1759
2014-12-17 19:35:13 +09:00
Jaehyun Cho f689b5e05f elm_transit: Apply evas_map_util_object_move_sync_set() to transit
Summary:
Apply evas_map_util_object_move_sync_set() to transit to keep map transformation after object move

please update efl library because evas_map_util_object_move_sync_set()'s been newly added.

Reviewers: Hermet, cedric

Differential Revision: https://phab.enlightenment.org/D1685
2014-11-28 13:36:20 +09:00
ChunEon Park d2e026db57 transit: free the map resource.
@fix

Submitted-By-Off: Seung-Wan Woo <s-w.woo@samsung.com>
2014-11-20 09:16:55 +09:00
ChunEon Park cf4f298d5a transit - fix to adopt the tween_mode factor.
ACCELERATE, DECELLERATE, SINUSOIDAL modes didn't work with the tween mode factor before.
now it works.

@fix
2014-07-16 11:20:52 +09:00
ChunEon Park 7931337952 transit - elm_transit_del() allows null pass. 2014-03-07 13:35:06 +09:00
ChunEon Park 577d29a484 transit - fix the double free obj_data case.
if the object is added twice to the one transit,
the obj_remove_cb would be called twice.

in this case it will try to access the freed obj_data and crashed up.

now it's fixed.
2014-02-20 23:51:38 +09:00
Daniel Juyung Seo 5353aa863c elm: Removed unnecessary null check for free. 2014-01-22 11:13:11 +09:00
Daniel Juyung Seo fd5c046dfe elm: Changed __UNUSED__ to EINA_UNUSED. 2014-01-06 23:33:57 +09:00
Daniel Juyung Seo e63dd3110a elm: 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.
2013-12-26 13:03:55 +09:00
Daniel Juyung Seo 6d71a23c3a elm lib: removed all the unnecessary empty lines.
being pedantic.
2013-12-15 06:18:35 +09:00
ChunEon Park 8a09a69acf elementary/transit - fix the T511 "_transit_auto_reverse_get() Elm_Transit transit has already been deleted" 2013-11-20 08:53:20 +09:00
Daniel Juyung Seo 72879a226f elm_transit.c: ELM_SAFE_FREE adoption.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 21:09:21 +09:00
Daniel Juyung Seo ef8701a173 elm: more ELM_FREE_FUNC cleanups. 2013-05-24 00:58:38 +09:00
Cedric Bail c929b33052 elementary: properly sanitize headers order. 2013-05-03 16:07:06 +09:00
ChunEon Park 79fd0192d9 elementary/transit - added elm_transit_smooth_set(), elm_transit_smooth_get() 2013-02-28 17:21:07 +09:00
ChunEon Park 6c669fcc04 elementary/transit - fix a transit crash issue when user tries to kill all target objects in the effect end callback
SVN revision: 83413
2013-01-29 07:37:57 +00:00
ChunEon Park 741fde0abb elementary/transit - make simpler code and don't overflow the image index
SVN revision: 83346
2013-01-26 04:52:02 +00:00
ChunEon Park 52f8ae6834 elementary/transit - do it as possible as in the last.
SVN revision: 83345
2013-01-26 04:46:39 +00:00
ChunEon Park 704f70ba81 elementary/transit - [Patch] elm_transit feature extenstion
Hi all,
All tween modes are added and you can set the interp.

   ELM_TRANSIT_TWEEN_MODE_ACCELERATE_FACTOR

   ELM_TRANSIT_TWEEN_MODE_DECELERATE_FACTOR

   ELM_TRANSIT_TWEEN_MODE_SINUSOIDAL_FACTOR

   ELM_TRANSIT_TWEEN_MODE_DIVISOR_INTERP

   ELM_TRANSIT_TWEEN_MODE_BOUNCE                     

   ELM_TRANSIT_TWEEN_MODE_SPRING



   EAPI void elm_transit_tween_mode_factor_set(Elm_Transit *transit, double v1, double v2);

   EAPI Elm_Transit_Interp *elm_transit_tween_mode_factor_get(const Elm_Transit *transit);

Thanks,
Joey

Singed-Off-By: ChanWook Jeong<jchanwook@gmail.com>



SVN revision: 83344
2013-01-26 04:35:58 +00:00
Jaehwan Kim ecd584e094 Fix missing break
SVN revision: 82449
2013-01-09 10:14:18 +00:00
ChunEon Park 578ed94eb0 elementary/transit - only update image file if the file idx is changed.
SVN revision: 81208
2012-12-18 07:09:48 +00:00
ChunEon Park 2402d4aad9 elementary/transit - dont' elm_transit image animation use the image preloading
SVN revision: 81206
2012-12-18 07:04:13 +00:00
ChunEon Park 88b939541b elementary/transit - now elm_transit image animation supports elm_image object type
SVN revision: 81202
2012-12-18 05:23:47 +00:00
Stefan Schmidt ca79393500 elm/transit: Avoid pedantic check for use of uninitialized var.
SVN revision: 80878
2012-12-13 15:19:48 +00:00
Cedric BAIL 7e45660338 elementary: safely manipulate inlist and destroy part of it.
SVN revision: 80579
2012-12-10 08:18:25 +00:00
ChunEon Park 43b883a15b elementary/transit - fix the transit to accept proxy obj
SVN revision: 78669
2012-10-30 14:44:34 +00:00
ChunEon Park d8c7c7ec15 elementary/transit - fix elm_transit image animation that last few frame are skipped
SVN revision: 78233
2012-10-19 07:46:33 +00:00
ChunEon Park 73931a889c elementary/transit - fix the transit to launch the effect right away when elm_transit_go is called
SVN revision: 77949
2012-10-13 06:43:01 +00:00
ChunEon Park b62163cd47 elementary/transit - removed unnecessary line
SVN revision: 77077
2012-09-26 09:15:34 +00:00
Carsten Haitzler ba2410ffd2 fix transit to expect elm_icon not icon due to internal type name changes.
SVN revision: 74216
2012-07-20 08:10:44 +00:00
ChunEon Park a9b4b5cd4a elementary/transit - fixed wipe effect flickering.
evas_map_point_coord APIs have the int values but evas_map_point_image_uv_set have the double parameters on the other hand.
This inconsistency causes the inexact result(flickering). 

It's not good APIs for users.



SVN revision: 71979
2012-06-12 06:39:25 +00:00
Gustavo Lima Chaves bbf0a4345e [elm] And now remove deprecated calls usage (WRT
icon/image thing).



SVN revision: 71473
2012-05-28 21:50:11 +00:00
Daniel Juyung Seo 8c17d99712 elm: Fixed formatting. Added a space after 'if/while/for'
SVN revision: 69744
2012-03-29 11:09:45 +00:00
Daniel Juyung Seo 7908a77ad8 elm: Fixed formatting.
SVN revision: 69700
2012-03-28 09:02:22 +00:00
ChunEon Park ef68d86554 elementary/transit - more simple code.
SVN revision: 69650
2012-03-27 03:16:42 +00:00
ChunEon Park 5d4a35e117 elementary/transit - covered flipped image object
SVN revision: 69630
2012-03-26 09:22:15 +00:00
ChunEon Park 6d950d603f elementary/transit - support image object type
But later, evas map should be changed to be transparent for all object types



SVN revision: 69325
2012-03-14 08:44:14 +00:00
Carsten Haitzler 2b79cf256c teansit - done. used ecore-pos-mapper for interpolation. should be
extended eventually. :)



SVN revision: 68025
2012-02-16 12:09:32 +00:00
ChunEon Park 0740d6e962 elementary/transit - updated according to ecore_animator changes.
because the animator would not call the new animator in it's animator callback anymore,
the user should call the callback function explicitly now.



SVN revision: 67672
2012-02-01 10:30:12 +00:00
ChunEon Park 9da574d348 elementary/transit - applied to use freeze_events.
SVN revision: 64566
2011-10-31 14:59:13 +00:00
Mike Blumenkrantz c705290b44 make ELM_CHECK_WIDTYPE & co macros useful. would you believe this macro came from my first ever code patch :D
SVN revision: 63334
2011-09-12 02:06:27 +00:00