Commit Graph

160 Commits

Author SHA1 Message Date
Michael BOUCHAUD 56f5ad6e4b edje: fix scale set on box and table
SVN revision: 78517
2012-10-26 10:15:35 +00:00
Daniel Zaoui fdd87314b2 Edje porting to Eo
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 78305
2012-10-21 10:46:58 +00:00
WooHyun Jung 311ea71f36 edje/edje_entry : Add more tags(preedit_sub1~4) for supporting a
variety of preediting states.


SVN revision: 77731
2012-10-10 09:15:16 +00:00
Flavio Vinicius Alvares Ceolin 5bb2df9101 edje_codegen: Adding support for drag
Adding the necessary api to work with draggable parts.



SVN revision: 77174
2012-09-27 21:09:53 +00:00
Michael BOUCHAUD f4d71a30e4 edje: fix scale_set in sub group
SVN revision: 77137
2012-09-27 09:11:21 +00:00
Flavio Vinicius Alvares Ceolin 8214538527 edje_codegen: Adding support for externals
Generating functions to manipulate the parameters of
an external part.



SVN revision: 76991
2012-09-21 17:32:34 +00:00
Cedric BAIL 77cc27d05a edje: damn top poster !
SVN revision: 76884
2012-09-20 06:27:34 +00:00
David Walter Seikel cb7027d7b1 Lua 5.2 support added, from a patch by Dennis Schridde (devurandom).
SVN revision: 76883
2012-09-20 05:48:05 +00:00
Michael BOUCHAUD 001bac6058 edje: Changelog
SVN revision: 76789
2012-09-18 09:00:27 +00:00
Cedric BAIL a6ab9bddd2 edje: don't generate annotate file when edje_cc fail.
SVN revision: 76746
2012-09-17 09:34:29 +00:00
Cedric BAIL 4791a710f2 edje: reduce memory used per callback.
SVN revision: 76517
2012-09-12 11:16:57 +00:00
Carsten Haitzler a00b9084ea use less memory at runtime with real part structs. actual savings are
about 25%.



SVN revision: 76460
2012-09-11 13:14:51 +00:00
Cedric BAIL 979f7879ba edje: recycle and use less memory during load time.
SVN revision: 76445
2012-09-11 07:30:22 +00:00
Cedric BAIL 9d6ec11e24 edje: O(1) access time for edje_cc_handler parameter.
This give another 10% speed improvements (and also reduce massively
memory allocation as we do it once for one array instead of thousand
of time per list of parameters).


SVN revision: 76433
2012-09-11 04:38:50 +00:00
Cedric BAIL b3739ac5d6 edje: another O(1) lookup, but for alias of group.
This give a small 10% benefit on Tizen theme.


SVN revision: 76428
2012-09-11 04:10:13 +00:00
Cedric BAIL 2127cab57d edje: O(1) lookup for all access to Part_Lookup structure in edje_cc.
This will give a major boost of performance for all insanely huge theme
you try to compile. Get down from 13s to 4s. Still some room for improvement.


SVN revision: 76427
2012-09-11 03:39:27 +00:00
ChunEon Park cdc044c321 edje/map - if user change image size of the image object which is swallwoed and it's map is enabled by the edje then edje needs to update it's uv mapping info
SVN revision: 76184
2012-09-05 09:46:09 +00:00
Flavio Ceolin d626583b92 edje_codegen: generating source code from edj
Parsing the parts and programs of the specified group and generating
the header/source. Usage:
edje_codegen --prefix myapp_myobj input.edj a_group source.c header.h

Patch by: Flavio Ceolin <flavio.ceolin@profusion.mobi>



SVN revision: 76147
2012-09-04 21:43:20 +00:00
Cedric BAIL 1e25d7b701 edje: add nested part support to edc.
Blame Tasn and not the people he enslaved to get it out.
First patch by Aharon Hillel with some modification by myself.


SVN revision: 76127
2012-09-04 11:27:43 +00:00
Jihoon Kim 7f9ec8f928 edje: Add EDJE_INPUT_PANEL_RETURN_KEY_TYPE_SIGNIN
SVN revision: 76097
2012-09-04 02:20:45 +00:00
Cedric BAIL 8ad4e0c02e edje: report type of file when listing files used by an edc.
SVN revision: 76095
2012-09-04 02:13:05 +00:00
Cedric BAIL 3da32a51aa edje: check the number of parameter for edc.
SVN revision: 75876
2012-08-30 11:28:07 +00:00
Cedric BAIL 0008f2362f ChangeLog: back in time.
SVN revision: 75875
2012-08-30 11:26:00 +00:00
Cedric BAIL 5e33eaa6c4 ChangeLog: state we did a release.
SVN revision: 75873
2012-08-30 10:55:40 +00:00
Cedric BAIL a1ae5b21ce edje: don't leak memory on edje block error during signal emit.
SVN revision: 75815
2012-08-29 07:18:52 +00:00
Tom Hacohen b0a19e7d4a Edje textblock: Fixed an issue with textblock fit.
Thanks to Brian Wang for reporting this.

SVN revision: 75730
2012-08-27 08:59:11 +00:00
Cedric BAIL c5fe5abff2 edje: properly destroy color_class and text_class on an Edje_Object.
SVN revision: 75647
2012-08-24 09:22:21 +00:00
Cedric BAIL ecc8b76db5 edje: add Guilherme Silveira to AUTHORS and ChangeLog.
SVN revision: 75485
2012-08-21 03:11:33 +00:00
ChunEon Park b11b7c3ac4 edje - fixe the uv mapping correctly in case of image swallowed case
SVN revision: 75241
2012-08-14 08:04:06 +00:00
Cedric BAIL 40bfd3933f edje: improve speed of color class lookup by using an Eina_Hash.
SVN revision: 75034
2012-08-09 08:27:04 +00:00
Cedric BAIL 07742ef737 edje: fix memory leak when alias are present.
SVN revision: 74960
2012-08-07 06:20:35 +00:00
Cedric BAIL f31da4c907 edje: call edje_object_message_signal_process also on GROUP part Edje object.
SVN revision: 74916
2012-08-06 09:22:42 +00:00
Cedric BAIL 6f73a22a03 edje: Reduce potential reentrant issue when using edje_object_signal_emit.
SVN revision: 74539
2012-07-28 16:33:37 +00:00
Carsten Haitzler 29452cf797 fix entry shift selection extend with mouse.
SVN revision: 74338
2012-07-24 03:52:14 +00:00
Jerome Pinot 365d29d02f edje: Fix multisense shutdown and shut up ecore thread shutdown.
Patch from cedric during the korean e17 meeting. Thanks!


SVN revision: 73841
2012-07-14 06:58:42 +00:00
Cedric BAIL 379566ece7 edje: stop compilation when clipping to a non RECT part.
SVN revision: 73801
2012-07-13 09:15:17 +00:00
Cedric BAIL 8f75f66c44 edje: warn at compile time about forgotten image.
NOTE: You need to enable at least Eina_Log warning level
to see them.


SVN revision: 73784
2012-07-13 02:50:58 +00:00
Tom Hacohen c62f3a2bb5 Edje text classes: Fixed issues with textblock and some inconsistency.
SVN revision: 73601
2012-07-12 07:08:05 +00:00
Tom Hacohen a367917778 Edje textblock: Fixed bug with applying text class size.
Happens when text size is updated, but font is not.

SVN revision: 73600
2012-07-12 07:08:00 +00:00
Leandro Pereira 7ee848bc33 edje: Make state index optional
This shouldn't break stuff, just make things easier.  Think of all that lost
time " 0.0".  Not anymore.  Not even in Embryo scripts.  Indexes should only
be provided when you need them (which is quite rare).

Note that if you use ``set_state("new state")'' in your Embryo scripts, the
produced .edj files will be incompatible with older versions of Edje.  This
backwards incompatibility only applies to Embryo scripts; edje_cc will
generate a ``0.0'' value if the index is omitted from state declarations and
programs.

Sachiel said this patch was OK; our benevolent release manager acked as
well. Blame them if this breaks stuff.

SVN revision: 73424
2012-07-06 18:34:50 +00:00
Tom Hacohen 162c54fc88 Edje entry: Fixed anchor update with user insert.
SVN revision: 73211
2012-07-03 08:52:17 +00:00
Cedric BAIL b5c65a71d2 edje: implement per part limit.
SVN revision: 72767
2012-06-24 13:23:37 +00:00
Michael BOUCHAUD 1f2939fef0 edje: improve use of aliases
SVN revision: 72732
2012-06-23 18:39:08 +00:00
Carsten Haitzler 4ec9749ead use bin prefix for embryo_cc in edje_cc.
SVN revision: 72580
2012-06-21 08:55:38 +00:00
Cedric BAIL 5c7cfbacb5 edje: add accessibility flags and API.
Patch by Kim Shinwoo <kimcinoo.efl@gmail.com>


SVN revision: 72521
2012-06-20 07:29:47 +00:00
Jihoon Kim cb2c9a94a1 write NEWS, Changelog about r71761
SVN revision: 72153
2012-06-15 00:43:52 +00:00
PRINCE KUMAR DUBEY e3c44bee13 From: PRINCE KUMAR DUBEY <prince.dubey@samsung.com>
Subject: [E-devel] [Patch] [Edje] Fix for seg fault during edje
decompilation

Fix decompile of sound samples to use sound source file, not name
Fix decompile of sound samples not double-free
Fix alsa configure option to be alsa, not flac.



SVN revision: 72117
2012-06-14 09:45:48 +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 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
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