Commit Graph

34 Commits

Author SHA1 Message Date
Bryce Harrington 27920d31c1 Spelling fixes
Summary:
emmited  ==> emitted
resistence  ==> resistance
occured  ==> occurred

Reviewers: cedric, zmike, devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2192
2015-03-18 21:38:33 -04:00
Sohyun Kim 78ddad3daf edje: Add edje to text_class_member_hash properly.
Summary:
When textblock styles have text_classes, all edjes in the files were added
to text_class_member_hash even if the edjes didn't use the textblock styles. It
makes time long to update text_class.
This will add the edje using the textblock style which has a text_class to
text_class_member_hash.

Reviewers: cedric, raster

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2035
2015-02-24 18:26:18 +01:00
Tom Hacohen fe374084ed Efl interfaces: Add text interface and start using it. 2014-08-21 11:02:11 +01:00
Tom Hacohen ceada9523f Efl interfaces: Drop interface namespace from the used interfaces.
We don't need this namespace, it just makes the names long and complicated.
2014-08-21 11:02:11 +01:00
Tom Hacohen bf55348a92 Efl interfaces: Start using the text_properties interface. 2014-08-21 11:02:11 +01:00
zmike 0ece308bb1 edje text should actually call ellipsis functions instead of attempting to call -1(obj) 2014-08-14 14:19:04 -04:00
Carsten Haitzler 0823a2159f edje - and make logic right for no elipsis with min.x too 2014-08-15 01:36:14 +09:00
Carsten Haitzler 0a457c3f8b elipsis fix - use -1 not 0 to turn off - unusual value for off 2014-08-15 01:26:38 +09:00
Carsten Haitzler 47f22cc997 edje - fix elipsis complaints/bugs with "old" themes
this fixes the elipsis changes xmike made by assuming elipsis of 0
whenn text min x is set (which is what we want anyway). this is a
complaint that is all through phab and other places where people
complain about "x..." or something now replacing formerly perfectly
find labels
2014-08-15 00:45:14 +09:00
Jaehwan Kim 7e5d2606cc edje: Add dpi feature.
Summary:
This dpi is used to get the scale for each collection.
If each collection has a described dpi, it calculates a proper scale
based on the dpi and dpi which is described in the collection.

@feature

Test Plan:
If add dpi to collection of edc, the edje will save the value as the dpi of the collection.
For example, if the dpi of your device is 100, you just set dpi: 100 in the collection of edc.
If the edj is loaded in another device(dpi is 200), it will scaled 2 times.
It is possible that the described dpi of application and theme are different.
In that case, application and theme have a different scale.
It makes the edj that made in different environment works in one device.

Reviewers: seoz, zmike, JackDanielZ, Hermet, woohyun, cedric, raster

Reviewed By: raster

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1190
2014-07-24 14:50:25 +09:00
Cedric BAIL b95165201c edje: factorize call to eo_do to reduce eo_do_start cost. 2014-07-07 13:44:11 +02:00
Daniel Kolesa 43e2349203 eolian/generator: public api func name deduplication, spank tasn if it breaks 2014-06-20 17:09:03 +01:00
Jean-Philippe Andre 855c196ae8 edje_text: Remove no-op pad_get
This call to pad_get is useless.
2014-05-14 14:44:47 +09:00
Mike Blumenkrantz 894c36ff11 de-elipsis edje
the word is "ellipsis". it's bad enough that we have released misspelled api, but we can at least spell things correctly internally.
2014-05-13 16:20:41 -04:00
Mike Blumenkrantz e6f0deca27 edje should only apply "calculated" text size if that size exists
fixes text.source sizing when size is not specified in child part
2014-04-25 10:52:15 -04:00
Mike Blumenkrantz 5f376fde36 edje now correctly supports text.source and text.text_source for swallowed parts
fix T1186
2014-04-25 10:52:15 -04:00
Mike Blumenkrantz 7355f67c1f revert edje ellipsis doc changes
if we're reverting functional changes, then it's probably a good idea to revert the accompanying documentation
2014-04-23 09:28:23 -04:00
Mike Blumenkrantz adcc323291 edje: the ellipsis fuckup preservation commit.
what a huge, colossal cock-up of a clusterfuck. it's a good thing nobody ever uses ellipses or edje. otherwise we'd probably get complaints about this kind of thing.
2014-04-22 20:21:46 -04:00
Mike Blumenkrantz c2ced46d2d edje now correctly forces ellipsis setting on text parts
this should always be applied, not just when min_x isn't set; failure to do so causes erroneous ellipsizing in some cases where it should be explicitly prohibited

@fix
2014-04-22 19:18:45 -04:00
Cedric BAIL 2b84495168 edje: check font change in edje text part cache infra.
@fix
2014-03-17 19:10:22 +09:00
Jean-Philippe Andre a25b212bac Evas filters: Add support for proxies in Edje
They will be defined with the following syntax:
buffer:buf(src=part);
2014-02-07 17:33:18 +09:00
Jean-Philippe Andre 08f2624e6a Evas filters: Implement basic Edje support
Does not support proxies yet.
Implemented as "filter" field in a part.description.text (next
to a "font").
2014-02-07 17:33:18 +09:00
Cedric Bail 1927bcea91 edje: do not move object until all positionning information is known. 2013-08-05 17:46:37 +09:00
Jaehyun Cho 05b2029719 edje: use eval coordinate to show TEXT part correctly. 2013-07-25 13:00:37 +09:00
Cedric Bail 397e0b90a2 edje: improve accuracy of math logic in part positioning. 2013-07-18 16:20:32 +09:00
Daniel Juyung Seo e3e35bfcaf edje_text.c: proper formatting.
inspired by Daniel Willmann's commit b6aaef651b
2013-07-02 17:07:05 +09:00
Daniel Willmann b6aaef651b edje_text: Clarify that the block and else are independent
Sometimes whitespace helps

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-07-01 16:04:27 +01:00
Sebastian Dransfeld 336f6ec328 efl: formatting 2013-06-20 13:28:18 +02:00
Ederson Desouza b52a380a5f Support for -1.0 @ text ellipsis fields -- for not ellipsizing it at all. 2013-06-03 12:02:16 -03:00
ChunEon Park e83accf1ee edje/textblock - keep the styles if the new font by the text class is applied.
text is already did. for the consistency textblock should be kept the same way.
2013-05-22 18:04:34 +09:00
ChunEon Park f45f2ef0ae edje/text - trivial change (typo, indent) 2013-05-22 16:49:43 +09:00
Carsten Haitzler 9b559ec173 CEDRIC! REVERT! this breaks text labels in e17 default theme when
eselected - they all jump up to the top! :)



SVN revision: 82635
2013-01-11 13:31:40 +00:00
Cedric BAIL 23709b48e5 efl: update edje text part geometry after setting the text.
SVN revision: 82615
2013-01-11 06:58:25 +00:00
Gustavo Sverzut Barbieri 9ea2ce1041 efl: merge edje.
this is still in progress, mostly the multisense stuff is pending.

it seems that when we merge ecore_audio in edje the libremix and
similar are gone, at least from Edje, and will be in ecore_audio
itself (or pulseaudio).

Changes:
 * __UNUSED__ to EINA_UNUSED
 * binaries (epp, embryo_cc, edje_cc) now consider EFL_RUN_IN_TREE and
   will assume the binaries are still not installed, running from
   build tree location (needs more testing, maybe doesn't work with
   srcdir != builddir, still doesn't solve cross compile builds)



SVN revision: 82139
2013-01-04 02:08:14 +00:00