Commit Graph

1632 Commits

Author SHA1 Message Date
Carsten Haitzler 4745ddac37 tone down memprool size chunks.
SVN revision: 72251
2012-06-17 01:44:00 +00:00
Cedric BAIL ee68f2795f edje: once the swallowed object is cleared out do not let it there.
SVN revision: 72155
2012-06-15 01:06:50 +00:00
Cedric BAIL 1442bc1e74 edje: fix big oopsie.
NOTE: this should unbreak your use of E17 clock widget
and elm_list should still be fine.


SVN revision: 72097
2012-06-14 01:20:26 +00:00
Carsten Haitzler 4804a53214 cedric -> REVERT 2. LOTs of valgrind probelsm from this patch and
crashes too in real life. try with valgrind again some tiome. rp's
(parts) freed before callbacks called thus cb data is invalid by the
time its called.



SVN revision: 72090
2012-06-13 15:39:10 +00:00
Carsten Haitzler 40d678403e cedric -> REVERT! breaks elm list!
SVN revision: 72087
2012-06-13 15:00:16 +00:00
Cedric BAIL d228509e48 edje: cleanup the right callback.
SVN revision: 72074
2012-06-13 08:51:02 +00:00
Cedric BAIL d13e6c5ee0 edje: remove warning.
SVN revision: 72062
2012-06-13 06:50:48 +00:00
Cedric BAIL 73ba558ac8 edje: correctly unswallow things on object destruction.
SVN revision: 72061
2012-06-13 06:48:41 +00:00
Cedric BAIL 0fe4412879 edje: rename VIRTUAL into SPACER and also fix Edje_Edit and inspector.
SVN revision: 72058
2012-06-13 03:21:31 +00:00
Cedric BAIL a317c36990 edje: properly clean up callbacks when destroying edje object.
SVN revision: 72057
2012-06-13 03:10:18 +00:00
Carsten Haitzler 0d33c5eb19 bitch--
SVN revision: 72043
2012-06-12 16:29:11 +00:00
Carsten Haitzler 3ee05133da never should have used this api - it never did squat diddly. bug in
api set.



SVN revision: 71989
2012-06-12 08:01:12 +00:00
Cedric BAIL c712e0fc29 edje: fix leak introduced by VIRTUAL.
SVN revision: 71898
2012-06-10 12:15:02 +00:00
Tom Hacohen cee70e9e33 Edje load: Although we don't use them that much, we have refcounts in evas.
Don't assume an evas_object_del has to delete the object.

SVN revision: 71895
2012-06-10 11:14:42 +00:00
Jihoon Kim e9784a1c83 edje_entry: display preedit string even though there is no attribute
SVN revision: 71761
2012-06-06 15:06:31 +00:00
Jihoon Kim bb56b0b09c fix @version in each EFL header doxygen
SVN revision: 71691
2012-06-04 23:27:02 +00:00
Cedric BAIL 7d2831e6a2 edje: forgotten since.
SVN revision: 71678
2012-06-04 06:09:37 +00:00
Cedric BAIL b0e087b6bf edje: morning speed of edje. Theme can now be a little bit lighter and faster.
NOTE: VIRTUAL part are almost like rectangle except they don't create any object
on the canvas. This part can't be visible, nor have any color, nor be used as a
clip, nor receive any event.


SVN revision: 71674
2012-06-04 02:57:15 +00:00
Cedric BAIL d7e9d661f0 edje: remove object from the tracked list when they are deleted.
SVN revision: 71672
2012-06-04 01:24:07 +00:00
Gustavo Lima Chaves 04f00945fa [edje] Better doc for edje_object_part_swallow.
SVN revision: 71630
2012-06-01 20:51:17 +00:00
Carsten Haitzler 318bd30043 This is a small change, so I won't changelog it (or backport), but
make _shutdown() funcs across efl complain and be unhappy if you
shutdown to < 0 shutdowns and not pull init count below 0.



SVN revision: 71548
2012-05-30 10:08:41 +00:00
Christopher Michael d92f6f316c Edje: Fix compiler warnings for edje_entry_input_panel functions when
Ecore is built without IMF support.



SVN revision: 71435
2012-05-26 08:34:25 +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
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
Cedric BAIL d83b283941 edje: fix little oopsie on theme change.
SVN revision: 71243
2012-05-20 07:16:23 +00:00
Cedric BAIL 68d5592136 edje: remove useless printf.
SVN revision: 71241
2012-05-20 07:06:31 +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
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 72061a67c7 edje: remove some printf.
SVN revision: 71088
2012-05-15 03:24:31 +00:00
Cedric BAIL 75172d209d edje: preserve drag information to.
SVN revision: 70997
2012-05-14 11:18:45 +00:00
ChunEon Park dec07d0754 edje - more detailed documentation
SVN revision: 70981
2012-05-14 01:12:02 +00:00
Cedric BAIL ba073b67f9 edje: preserve user box and table items during call of edje_object_file_set.
NOTE: now you can change theme dynamically in elementary apps more reliably.
This doesn't handle the case where the swallow was done in a parent object and
the reswallow should happen in a another group. I don't how to fix that use
case.
don't see yet how to handle that


SVN revision: 70901
2012-05-10 05:37:38 +00:00
Cedric BAIL 35d8d1fef8 edje: add more protection during edje_emit.
SVN revision: 70894
2012-05-09 10:44:02 +00:00
Cedric BAIL 58f626e3ea edje: this was supposed to get in this time. grr.
SVN revision: 70892
2012-05-09 10:10:51 +00:00
Cedric BAIL b786fe1ced edje: automatically emit ['edje,change,file', 'edje'] when the file change on disk.
For the moment only edje_player use it. This means that when used with
edje_watch, you don't need any more to type any kind of command line
when you are testing value in your theme. As a side effect, this means
that their is a real use case to make edje_cc faster !



SVN revision: 70890
2012-05-09 09:16:52 +00:00
Cedric BAIL baffed6e81 edje: oops this shouldn't get in at this point.
SVN revision: 70886
2012-05-09 07:53:29 +00:00
Cedric BAIL 8f61823f67 edje: check that the file on disk didn't change when we try to reopen it.
SVN revision: 70883
2012-05-09 07:30:59 +00:00
Cedric BAIL cc3caf6172 edje: prevent segv when edje_object_signal_emit get nested and edje_object_signal_callback_{add,del} are called.
SVN revision: 70880
2012-05-09 07:09:59 +00:00
Cedric BAIL e4dbe385bb edje: doing less is actually better.
SVN revision: 70608
2012-05-02 06:55:15 +00:00
Cedric BAIL 09dba3e746 edje: handle case when & is not escaped.
SVN revision: 70401
2012-04-23 00:34:17 +00:00
Carsten Haitzler ed04f818c1 + @since
SVN revision: 70361
2012-04-20 12:49:27 +00:00
Carsten Haitzler 644855da4f sucky - but have to add this api to fix bug in elm.
SVN revision: 70360
2012-04-20 12:37:42 +00:00
Guilherme Iscaro 923d8ca03f Adding a new animation tutorial
Patch by: Guilherme Iscaro <iscaro@profusion.mobi>

SVN revision: 69974
2012-04-09 13:50:16 +00:00
Guilherme Iscaro 1772917ed5 Adding a new signal example
Patch by: Guilherme Iscaro <iscaro@profusion.mobi>

SVN revision: 69973
2012-04-09 13:50:11 +00:00
Guilherme Iscaro f344b5a56e Fixing doxygen warnings
Patch by: Guilherme Iscaro <iscaro@profusion.mobi>

SVN revision: 69938
2012-04-05 22:24:29 +00:00
Tom Hacohen a3cbdde4c0 Edje entry: Fixed edje_entry_user_insert.
SVN revision: 69917
2012-04-04 08:29:31 +00:00
Guilherme Iscaro 3c4e093d73 Adding a new swallow example
Patch by: Guilherme Iscaro <iscaro@profusion.mobi>

SVN revision: 69913
2012-04-03 18:27:09 +00:00
Guilherme Iscaro e93b120f65 Adding a new edje basic example
Patch by: Guilherme Iscaro <iscaro@profusion.mobi>

SVN revision: 69912
2012-04-03 18:27:05 +00:00
Vincent Torri 1ee506ccf7 Edje : Small fixes for edje doxygen doc
Patch by Jérôme Pinot


SVN revision: 69815
2012-03-31 07:53:47 +00:00
Cedric BAIL 4eac10ecdc edje: better debugging message when triggering infinite program loop.
NOTE: one day we should really go over all edje error message and
make them all meaningfull...



SVN revision: 69787
2012-03-30 09:22:12 +00:00