Commit Graph

138 Commits

Author SHA1 Message Date
Mike Blumenkrantz ae16cb648a edje_cc must error when first provided state description is not "default" 0.0
correctly @fix T1926 without breaking existing apps/syntax
2015-01-26 15:04:19 -05:00
Mike Blumenkrantz a5217c7c53 Revert "edje - edje_cc - fix wrong state lists where default is not the first"
This reverts commit 0cb33a4675.

broke existing edc syntax. SPANK SPANK SPANK!!
2015-01-26 15:04:01 -05:00
Mike Blumenkrantz 0b99f4ee05 Revert "efl - edje_cc - fix default state checks in previous commit"
This reverts commit 82014cad2c.
2015-01-26 15:03:39 -05:00
Carsten Haitzler 82014cad2c efl - edje_cc - fix default state checks in previous commit
this fixes 0cb33a4675
@fix
2015-01-12 18:01:34 +09:00
Carsten Haitzler 0cb33a4675 edje - edje_cc - fix wrong state lists where default is not the first
this fixes T1926
@fix
2015-01-12 15:55:17 +09:00
Vyacheslav Reutskiy ec1afd74fd edje: update the edc reference
Add a list of global signals that edje provide.
2015-01-09 07:51:54 +00:00
ChunEon Park 382c41e42d edje: support anti_alias option
set anti_alias in part section.
default is enabled.

part { name: "test";
   type: XXX;
   anti_alias: 0;
   ...
}

@feature
2014-12-24 16:29:49 +09:00
Srivardhan Hebbar 3c55dccb25 edge: fix memory leak and removed redundant return statement.
Summary:
The name was freed after exit, so freeing it before and also freeing in a error case. There was a return statement after exit, thought it was redundant and removed.
@fix

Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>

Reviewers: devilhorns, cedric

Reviewed By: cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1758

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2014-12-10 11:20:06 +01:00
ChunEon Park 959c4cec3e edje/edje_cc: don't limit the bezier cubic minium value to 0.
No need to limit the minimum value to 0.
let user have a choice.
2014-12-09 16:59:58 +09:00
ChunEon Park 0889fde94b edje/edje_cc_handler - updated internal doc. 2014-12-03 21:09:56 +09:00
Daniel Juyung Seo 2b952597c1 edje: Add more description about edc group_name. 2014-11-25 19:30:16 +09:00
Carsten Haitzler ee0eb1336b edje - remove old script_only code that used embryo (not lua)
thjis was deprecated even before efl 1.0 by never removed. lua
replaced it for script_only objects and you havent been able to
compile an edje file with script_only enabled since 1.0, so no point
having the code here.

this cleans up that code and cruft.
2014-11-25 15:09:00 +09:00
Cedric BAIL 7c92d4fa7b edje: correctly destroy reference to removed part.
NOTE: I do believe their is still the possibility that a wrong program
or part may reference a dead part. Would require to check that scenario
better later.
2014-10-20 10:47:41 +02:00
Cedric BAIL 955fd1d712 edje: destroy left over reference when removing a part.
NOTE: This patch is still not complete, their is more reference, but I couldn't
find all of them yet.
2014-10-20 01:28:12 +02:00
Amitesh Singh cbb42957b7 edje_cc: fix memory leak.
Summary: Free cp->original before freeing cp.

@fix

Reviewers: cedric, seoz

Subscribers: cedric, seoz

Differential Revision: https://phab.enlightenment.org/D1496

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2014-09-30 17:36:41 +02:00
Cedric BAIL 0a6f26a106 edje: fix borked edje_external.
Someone fixed a CID without looking of the full use path a data, resulting
in a value being used after free and stored in edje file. Leading to a garbage
string with no meaning for those poor externals.
2014-09-23 18:05:29 +02:00
Mike Blumenkrantz 3f468537fd edje_cc now throws an error during link combination when the current part has no name
@fix
2014-09-02 15:17:07 -04:00
Stefan Schmidt 2fa2c11910 edje_cc_handler: Fix build break from recent Edcref changes
Having correct syntax is needed here. ;)
2014-08-08 16:25:51 +02:00
Davide Andreoli 62af2b9bd1 Edcref: final doc improvements.
* Be consistent with the way we specify parameters
* A last css refinement
2014-08-08 15:54:38 +02:00
Davide Andreoli 1eca781d1d Edcref: fixed (I hope) the doc for parts aliases 2014-08-08 15:54:38 +02:00
Davide Andreoli cb84a5f994 Edcref: try to give sections titles more context
Also fixed some incorrect @context
Changed the @edcsubsection tags so they live in first line of the doccomment, this way you can read them when the file is folded-closed, improving the code readability.
2014-08-08 15:54:38 +02:00
Davide Andreoli c00875818b Edcref: tab-- , they tend to break the html render 2014-08-08 15:54:38 +02:00
Davide Andreoli 5fd1e27dce edcref: move the Links functions so they dont break descriptions docs
Plus some other small doc adjustment
2014-08-08 15:54:38 +02:00
Davide Andreoli b2b4e62dd3 edcref: move 3 params to be in the correct section 2014-08-08 10:37:03 +02:00
Davide Andreoli 6653ce2306 edcref: be consistent wrt params 2014-08-08 10:27:26 +02:00
Davide Andreoli 34c75a29f6 Edcref: and finally apply a cool style
Now the edc ref is decently readable
2014-08-08 02:30:33 +02:00
Davide Andreoli a8a7158801 edcref: fix the base_scale property docs
base_scale is a property, so document it propertly
Also added missing @since
2014-08-08 02:30:33 +02:00
Davide Andreoli ba7ea64d97 edcref: review all the @since usage
* put them inside the @property block they belongs
* do not show micro version (1.7 instead of 1.7.0)
2014-08-07 14:41:25 +02:00
Davide Andreoli 25ce050920 edcref: quick access list: fix a link and make it more compact 2014-08-07 13:21:31 +02:00
Davide Andreoli 657d973858 edcref: unbreak formatting of the page
Every @block need a @context, or the table will broken up and formatting will be bad.

Also be a bit less redundant
2014-08-07 12:28:46 +02:00
Davide Andreoli 4e5d70511a edcref: small typo in doc 2014-08-07 11:01:36 +02:00
Gwanglim Lee 52fab4e55d edje: fix coverity defects
Summary:
CID 1214113: logically dead code
CID 1230295: dereference null return value
CID 1230296: use after free
@fix

Test Plan: N/A

Reviewers: raster, cedric, jpeg, q66

Reviewed By: q66

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1275
2014-08-06 10:55:32 +01:00
Daniel Kolesa 23761ed627 edje_cc_handlers: fix coverity defects
Fixes CID 1193224, 1193225, 1193226, 1193227, 1193230 (resource leak)
2014-08-04 10:26:06 +01: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
Vorobiov Vitalii 49344287ac Documentation: adding missed documentation to edcref (map.color param)
Summary:
There is param (of the map block in part's description) that allows user to
set a color for specified vertex/point of that part.
That param was undocumented so actually no one know that this param is exist and can be used in edj file.

Two main fixes:
- adding documentation for map.color param in edc reference.
- adding .edc source code example for seeing how map.color param works.

@fix

Reviewers: cedric, Hermet, raster, seoz

Reviewed By: cedric

CC: cedric, reutskiy.v.v

Differential Revision: https://phab.enlightenment.org/D1083
2014-06-24 17:11:09 +03:00
Jean-Philippe Andre e8d7c46253 Edje: Add support for ETC2 through LOSSY_ETC2 images
Declare your images as LOSSY_ETC2 to encode them as ETC2.
Add options to edje_cc to disable etc2.
Use ETC2 support from Eet.

@feature
2014-06-13 17:58:08 +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 03edef876f edje_cc now prints helpful warning messages when it compiles broken text parts 2014-05-13 16:05:39 -04:00
Mike Blumenkrantz 800bcde9d7 edje_cc should throw errors when inheriting a part from the same part 2014-05-13 11:15:02 -04:00
Mike Blumenkrantz a84f19beb7 redo lazEDC parsing a bit to fix desc.state omission 2014-05-09 15:58:25 -04:00
Mike Blumenkrantz 6a7b0af847 lazEDC missing keywords for scale/noscale 2014-05-09 12:33:47 -04:00
Mike Blumenkrantz 14fc7d2a36 lazEDC syntax update: imprecise -> noprecise 2014-05-09 12:21:45 -04:00
Mike Blumenkrantz c911ac2fb9 call edje_cc link combining when popping the group so the last group doesn't not get linked 2014-05-08 21:04:28 -04:00
Mike Blumenkrantz f482aeb43f fix edje_cc multiple link usage on same description 2014-04-26 02:16:55 -04:00
Mike Blumenkrantz b35dfc5f05 edje_cc now (more) correctly handles text filter inheriting/resetting 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 bce864b8dd edc parts.alias documentation is now comprehensible and useful 2014-04-25 10:52:15 -04:00
Mike Blumenkrantz 939f2eea7f edje now has the group.script_recursion flag for permitting unsafe embryo recursion
this is enabled for all scripts within a group, and it should only be used if you:

1) know what you are doing

2) know why this is unsafe (T905)

@feature
2014-04-25 10:52:15 -04:00
Mike Blumenkrantz c5b1598e6e edje_cc now supports part.description.link for single line state changes
@feature
2014-04-25 10:52:15 -04:00
Mike Blumenkrantz 83832d6b1d edje_cc now supports group.program_source for specifying a default source in programs
this allows for program.source to be omitted 99% of the time since most sources in an application/library will be the same within a single group

@feature
2014-04-25 10:52:15 -04:00