Commit Graph

17443 Commits

Author SHA1 Message Date
Daniel Juyung Seo 1174b27e52 edje edje_cc_handlers.c: Fixed formatting while reading the code.
SVN revision: 71285
2012-05-21 13:23:11 +00:00
Tom Hacohen 665904fa6d Eo: Improve tests of magic values (NULL pointers).
SVN revision: 71283
2012-05-21 11:45:37 +00:00
Tom Hacohen aa6048286f Eo: Fix wrong usage of EO_OP_TYPE in eo_do/query*.
Thanks to Yakov for letting me know about it.

SVN revision: 71282
2012-05-21 11:45:34 +00:00
Tom Hacohen bff3911c08 Eo: Added eo_manual_free* funcs.
Patch by Daniel Zaoui.

SVN revision: 71281
2012-05-21 11:45:32 +00:00
SHILPA ONKAR SINGH 510cada94b From: SHILPA ONKAR SINGH <shilpa.singh@samsung.com>
Subject: [E-devel] [Edje]: Bug Fix: Edje draggable jumps when external
events is used.

Please find attached bug fix patch for edje draggable jump issue when
external event area is used.

Bug: When an external event area is used for edje draggable and when
after mouse move if immediate mouse down
is done then the draggable jumps back to its original position. 

Analysis: In  _edje_mouse_down_signal_cb  When an external event area
is set  i.e., when rp->events_to is set.  
tmp.x value is set to 0, need_reset is set to 1 and also
_edje_recalc_do is called including emitting "drag" signal. this code
is 
unnecessary/buggy  and instead it causes the jump.
1. In mouse down only drag->down.x and drag->down.y needs to be set
which is being set below and tmp value need not be reset to 
0 as tmp value is calculated in mouse move based on drag->down.x and
drag->down.y values.
2. need_reset is already set in mouse up hence need not be set in
mouse down again.
3. edje_recalc_do is the function which actually causes the movement
of draggable based on tmp value hence need not be called in mouse down.
because of the above code race condition happens and as tmp value is
being set to 0 and need reset is also enabled the draggable jumps back
to where it
started.
4. "drag": is sent even before "drag,start" [ should not /need not be
sent in mouse down ]
All the above code is added only when external event area is set and
the above code is not even related to whether external event is set or
not.

Solution: When an external event area is set directly equating rp =
rp->events_to and sending mouse,down would be enough, as down.x and
down.y is set below
including sending drag,start. Recalc_do should be called only in mouse
move as its responsible for movement including setting tmp value.
need_reset is already set in mouse up. drag should not be sent from
mouse down.


Change Description:
Bug Fix: Edje Draggable jumps when mouse down is done immediately
after mouse move when an external 
event area is used.

demo edc pasted below to reproduce the issue.
Please find attached bug fix patch for edje draggable jump issue when external event area is used.

Bug: When an external event area is used for edje draggable and when after mouse move if immediate mouse down
is done then the draggable jumps back to its original position. 

Analysis: In  _edje_mouse_down_signal_cb  When an external event area is set  i.e., when rp->events_to is set.  
tmp.x value is set to 0, need_reset is set to 1 and also _edje_recalc_do is called including emitting "drag" signal. this code is 
unnecessary/buggy  and instead it causes the jump.
1. In mouse down only drag->down.x and drag->down.y needs to be set which is being set below and tmp value need not be reset to 
0 as tmp value is calculated in mouse move based on drag->down.x and drag->down.y values.
2. need_reset is already set in mouse up hence need not be set in mouse down again.
3. edje_recalc_do is the function which actually causes the movement of draggable based on tmp value hence need not be called in mouse down.
because of the above code race condition happens and as tmp value is being set to 0 and need reset is also enabled the draggable jumps back to where it
started.
4. "drag": is sent even before "drag,start" [ should not /need not be sent in mouse down ]
All the above code is added only when external event area is set and the above code is not even related to whether external event is set or not.

Solution: When an external event area is set directly equating rp = rp->events_to and sending mouse,down would be enough, as down.x and down.y is set below
including sending drag,start. Recalc_do should be called only in mouse move as its responsible for movement including setting tmp value. need_reset is already set in mouse up. drag should not be sent from mouse down.


Change Description:
Bug Fix: Edje Draggable jumps when mouse down is done immediately after mouse move when an external 
event area is used.

demo edc pasted below to reproduce the issue.
Please find attached bug fix patch for edje draggable jump issue when
external event area is used.

Bug: When an external event area is used for edje draggable and when
after mouse move if immediate mouse down
is done then the draggable jumps back to its original position. 

Analysis: In  _edje_mouse_down_signal_cb  When an external event area
is set  i.e., when rp->events_to is set.  
tmp.x value is set to 0, need_reset is set to 1 and also
_edje_recalc_do is called including emitting "drag" signal. this code
is 
unnecessary/buggy  and instead it causes the jump.
1. In mouse down only drag->down.x and drag->down.y needs to be set
which is being set below and tmp value need not be reset to 
0 as tmp value is calculated in mouse move based on drag->down.x and
drag->down.y values.
2. need_reset is already set in mouse up hence need not be set in
mouse down again.
3. edje_recalc_do is the function which actually causes the movement
of draggable based on tmp value hence need not be called in mouse down.
because of the above code race condition happens and as tmp value is
being set to 0 and need reset is also enabled the draggable jumps back
to where it
started.
4. "drag": is sent even before "drag,start" [ should not /need not be
sent in mouse down ]
All the above code is added only when external event area is set and
the above code is not even related to whether external event is set or
not.

Solution: When an external event area is set directly equating rp =
rp->events_to and sending mouse,down would be enough, as down.x and
down.y is set below
including sending drag,start. Recalc_do should be called only in mouse
move as its responsible for movement including setting tmp value.
need_reset is already set in mouse up. drag should not be sent from
mouse down.


Change Description:
Bug Fix: Edje Draggable jumps when mouse down is done immediately
after mouse move when an external 
event area is used.

demo edc pasted below to reproduce the issue.

Please find attached bug fix patch for edje draggable jump issue when external event area is used.
  
  Bug: When an external event area is used for edje draggable and when after mouse move if immediate mouse down
is done then the draggable jumps back to its original position. 
  
  Analysis: In  _edje_mouse_down_signal_cb  When an external event area is set  i.e., when rp->events_to is set.  
  tmp.x value is set to 0, need_reset is set to 1 and also _edje_recalc_do is called including emitting "drag" signal. this code is 
unnecessary/buggy  and instead it causes the jump.
  1. In mouse down only drag->down.x and drag->down.y needs to be set which is being set below and tmp value need not be reset to 
0 as tmp value is calculated in mouse move based on drag->down.x and drag->down.y values.
  2. need_reset is already set in mouse up hence need not be set in mouse down again.
  3. edje_recalc_do is the function which actually causes the movement of draggable based on tmp value hence need not be called in mouse down.
  because of the above code race condition happens and as tmp value is being set to 0 and need reset is also enabled the draggable jumps back to where it
started.
  4. "drag": is sent even before "drag,start" [ should not /need not be sent in mouse down ]
All the above code is added only when external event area is set and the above code is not even related to whether external event is set or not.
  
  Solution: When an external event area is set directly equating rp = rp->events_to and sending mouse,down would be enough, as down.x and down.y is set below
including sending drag,start. Recalc_do should be called only in mouse move as its responsible for movement including setting tmp value. need_reset is already set in mouse up. drag should not be sent from mouse down.
  
  
  Change Description:
Bug Fix: Edje Draggable jumps when mouse down is done immediately after mouse move when an external 
event area is used.



SVN revision: 71277
2012-05-21 10:08:18 +00:00
Tom Hacohen a028e6d566 Eo: Fix pkg-config cflags.
SVN revision: 71275
2012-05-21 08:58:18 +00:00
Carsten Haitzler 69bd9ce72e let's make server work out of the box if u set:
export EVAS_CSERVE2=1

(and run cserve2)



SVN revision: 71274
2012-05-21 08:44:55 +00:00
Sung Park 8250180aec Separated checks for gl2.h defines and gl2ext.h defines in Evas_GL.h.
SVN revision: 71270
2012-05-21 08:01:28 +00:00
Hyoyoung Chang 29504633fc edje/multisense: add checking sample,tone name at playing. and some indent fixes
SVN revision: 71264
2012-05-21 04:47:45 +00:00
Carsten Haitzler 962b912d75 sorry - got to revert the gettext stuff.
SVN revision: 71250
2012-05-20 13:05:07 +00:00
Vincent Torri 3dd4654cc7 do not hard code gettext version
Let's see if someone complains. If not, i'll commit that in e too


SVN revision: 71244
2012-05-20 07:32:06 +00:00
Cedric BAIL d83b283941 edje: fix little oopsie on theme change.
SVN revision: 71243
2012-05-20 07:16:23 +00:00
Cedric BAIL 2aab151919 edje: reduce memcpy in edje_cc by using Eina_File.
SVN revision: 71242
2012-05-20 07:06:57 +00:00
Cedric BAIL 68d5592136 edje: remove useless printf.
SVN revision: 71241
2012-05-20 07:06:31 +00:00
Cedric BAIL d30a9bf8be evas: this should fix the last remaining bug with my lockless font rendering.
SVN revision: 71236
2012-05-19 07:43:37 +00:00
Cedric BAIL 19cff8be60 edje: fix double opening of edje file.
NOTE: know issue, in elementary_config the size of the icon
change after a theme reload. I don't know what information is
lost between to reload. If someone can point at them, thanks.


SVN revision: 71235
2012-05-18 14:37:21 +00:00
Hyoyoung Chang a8bd686bfb edje: add sample and tone of multisense to edje inheritance
SVN revision: 71229
2012-05-18 08:33:40 +00:00
ChunEon Park 36bbac26ca evas - updated changelog
SVN revision: 71228
2012-05-18 08:28:55 +00:00
ChunEon Park 2a9f42c47e evas/evas_render - and should update the mapped objects when their color is changed since color should be multiplied again.
SVN revision: 71226
2012-05-18 07:17:34 +00:00
ChunEon Park 03995b4e98 evas/evas_render - should call the render_post since the object color can be changed without changing map
SVN revision: 71224
2012-05-18 06:51:30 +00:00
Cedric BAIL e3575cb505 evas: remove librsvg svg loader.
NOTE: as librsvg is a massive source of bugs in e17, it is now
removed from evas. You can still use librsvg by using the
evas_generic_loader. Please not that you need to properly delete
it from your disk if you don't use a package manager. The file to
remove :
/*/lib/evas/modules/loaders/svg/linux-gnu-i686-1.2.*/module.so



SVN revision: 71223
2012-05-18 05:02:44 +00:00
Cedric BAIL 495addd041 evas: don't try to walk if we don't have anything to walk on.
SVN revision: 71221
2012-05-18 03:16:22 +00:00
Cedric BAIL b0d3526d89 evas: another improvement part of the previous lock less font rendering patch.
Now evas will in all case do the layout during the prepare stage. It will do that
once and as long as the text didn't change. This does improve by a factor of at
least 2.3 in all expedite test case except the text change that only get a 30%
increase (I expect a drop in performance on non pipe rendering for text change
expedite test only, but this case is not common in real life).

This also fix the issue that show random size glyph when using pipe rendering.


SVN revision: 71220
2012-05-18 02:16:54 +00:00
Jonas M. Gastal b2c9b6552a Disabling eina_model examples, so that we can build examples and documentation.
SVN revision: 71218
2012-05-17 22:00:46 +00:00
Christopher Michael 732cf1db22 Ecore_Evas (wayland_shm): Quiet down output and set alpha & rotation
on initial ee setup.



SVN revision: 71202
2012-05-17 13:56:37 +00:00
Christopher Michael 6c4fd25e58 Ecore_Wayland: Quiet down output for robster ;)
SVN revision: 71201
2012-05-17 13:55:14 +00:00
ChunEon Park c21bfb49c2 evas - removed unnecessary fields, changed_nomove and changed_move_only.
These are actually not necessary right now.



SVN revision: 71199
2012-05-17 10:51:54 +00:00
ChunEon Park df0296e0b7 evas/evas_render - removed dead code
SVN revision: 71198
2012-05-17 10:34:53 +00:00
Cedric BAIL fa1569eb9b eina: avoid wrong implicit conversion from unsigned to unsigned long in Eina_Value tests
There is no automatic promotion of unsigned to unsigned long when using va_arg,
which means it is illegal to pass an 'unsigned' value and then use it as an
unsigned long in eina_arg_vset. Doing so yields incorrect results on some
architectures like itanium

Patch by  Albin 'Lutin' Tonnerre <albin.tonnerre@gmail.com>



SVN revision: 71196
2012-05-17 09:59:46 +00:00
Cedric BAIL b19de09bae eina: don't assume that 'char' is a signed type in Eina_Value
The eina_value code TYPE_CHAR conversion code assumes that 'char' is a signed
type, which is not true on some platforms like ARM and PPC. We need to
explicitely use signed chars to make sure the value is correct.

Patch by Albin 'Lutin' Tonnerre <albin.tonnerre@gmail.com>


SVN revision: 71195
2012-05-17 09:56:28 +00:00
Vincent Torri d5752f6530 Ecore_evas: add tranparency support for the GDI engine
SVN revision: 71193
2012-05-17 08:40:13 +00:00
Vincent Torri 2f8a239437 fix a couple of warnings
SVN revision: 71192
2012-05-17 08:31:51 +00:00
Sung Park 38f87ea80b Updating documentation and NEWS for EvasGL Multisample Surface
bits along with general doc update. 



SVN revision: 71191
2012-05-17 06:54:06 +00:00
Tom Hacohen f9d41588b8 Eo: Added extern "C" for the C++ fellows.
Oops, forgot, thanks to Yakov for letting me know.

SVN revision: 71189
2012-05-17 06:22:50 +00:00
Vincent Torri 2ce55a9f86 Missing entries
SVN revision: 71181
2012-05-16 21:46:56 +00:00
Vincent Torri 61656c2ecc Evas: use Esvg for svg rendering.
If Esvg is not found, librsvg is used (if found)

See README to see how to installe Esvg


SVN revision: 71180
2012-05-16 21:28:36 +00:00
Jonas M. Gastal 2dc0014f4a Adding an Ecore_exe example to documentation.
Author:    Guilherme Iscaro <iscaro@profusion.mobi>

SVN revision: 71174
2012-05-16 17:23:51 +00:00
Vincent Torri 5f389075b7 FreeBSD 4.x was released more than a decade ago (the project itself only
supports FreeBSD >= 7 these days), so the check for __FreeBSD_version >=
420001 is not necessary anymore (plus it probably never worked, as that
macro is defined in sys/param.h, which is not included prior to the
check).

Patch by Raphael Kubo da Costa



SVN revision: 71172
2012-05-16 14:16:37 +00:00
ChunEon Park a2c7fa2dcc evas/evas_render - trivial changes
changed from integers to Eina_Bool
removed white spaces and fixed indentations



SVN revision: 71170
2012-05-16 13:21:37 +00:00
ChunEon Park 14e43d84fd evas/evas_render - added evas_object_change_reset internal function to remove much duplicated code
SVN revision: 71169
2012-05-16 12:59:33 +00:00
Carsten Haitzler f243db26ac fix video overlay suport in emotion.
SVN revision: 71161
2012-05-16 11:18:57 +00:00
Carsten Haitzler cf46d0d388 work around the workaround so it works until ecore thread goop fixed.
SVN revision: 71155
2012-05-16 11:04:40 +00:00
Cedric BAIL 0f490ba1dc edje: fix text and table with fixed point and clamp image tween.
SVN revision: 71152
2012-05-16 10:37:44 +00:00
Cedric BAIL 671b3bad30 eina: cleanup and merge code for sin and cos.
NOTE: this patch is part of the previous attempt to fix
rounding error. Hopefully things are better now.


SVN revision: 71150
2012-05-16 10:12:06 +00:00
Christopher Michael 81e987e363 Evas (gl_x11): Unbreak build for gles_sgx & s3c6410. Someone removed a
variable that was actually being used :(



SVN revision: 71146
2012-05-16 08:03:31 +00:00
Christopher Michael f579ef7a35 Ecore_Evas (wayland_shm): Apply patch from Robert Bradford
<robert.bradford@intel.com> to refactor shm pool allocation function,
and adjust pool calculation.



SVN revision: 71145
2012-05-16 07:44:43 +00:00
Carsten Haitzler 047104fa55 work around race condition bug in ecore for now so edje_cc is reliable
again. CEDRIIIIIIIIIIIIIIIIIIIC!



SVN revision: 71144
2012-05-16 07:43:14 +00:00
Carsten Haitzler cbfa14edfb and clean up some of the work on parallelized edje_cc. code less ugly
now.



SVN revision: 71138
2012-05-16 02:15:45 +00:00
Gustavo Lima Chaves a79ac2aba1 [evas] Just some tweaks on Evas_Smart_Class' docs.
SVN revision: 71137
2012-05-16 01:39:53 +00:00
Jihoon Kim 8ddbce000a ecore: fix typoe in README
SVN revision: 71135
2012-05-16 01:03:17 +00:00