summaryrefslogtreecommitdiff
path: root/src/bin/edje (follow)
AgeCommit message (Collapse)Author
2015-06-25edje: add "mask_flags" instruction for "part" blockJee-Yong Um
Summary: Elementary widgets dealing with Evas Events usually mask event_flags with EVAS_EVENT_FLAG_ON_HOLD, to show that this event is already handled. However, widget like Elm_Button, it does not handle EVAS_CALLBACK_MOUSE_DOWN directly, but it handles Edje_Signal instead, so there's no chance to mask event_flags. Developers can block event propagation by putting rectangle the very last part of EDC, but this instruction can help the case making elementary widget with only Edje_Signal handling. This is not required essentially, so please check the necessity of this function. Reviewers: Hermet, cedric Reviewed By: cedric Subscribers: cedric, Hermet Differential Revision: https://phab.enlightenment.org/D2764 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-06-25Edje & evas filters: Add extra data from EDC to Lua programJean-Philippe Andre
This also supports color classes (really rough implementation for now, but the API should remain stable). @feature
2015-06-25Edje: Move filter desc to common descJean-Philippe Andre
This will be shared between IMAGE and TEXT. In the future it can also be shared with PROXY and TEXTBLOCK.
2015-06-25Edje/evas filters: Use EDJ data sections to store filters codeJean-Philippe Andre
Use the file data {item, file} block to embed filters code. It can become especially useful to keep the filters as separated Lua files, that will be embedded in the final edj file. @feature
2015-06-25Edje/evas filters: Add filter.source supportJean-Philippe Andre
This should preserve ABI stability with earlier versions of edje_cc while still providing more advanced control over proxy bindings for evas filters from EDC. Also fix proxy binding for filters. @feature
2015-06-25Edje/evas filters: Quick renaming of evas filters related stuffJean-Philippe Andre
2015-06-22edje: add support to control the transition time of edje animation globally.jiin.moon
Summary: Add the transition scale flag and the transtion scale value. This flag can be change using "transition_scale_enable" in edje program. If flag is true, the transition scale value affect the transition speed of edje The transition scale value can be change by elm_config. @feature Test Plan: elementary_config Reviewers: Hermet, cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2287 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-06-17evas: change interface evas_3d to evas_canvas3dOleksandr Shcherbina
Summary: Regard to https://phab.enlightenment.org/T2479 it is need for right generation Eolian files Reviewers: cedric Subscribers: cedric, tasn Differential Revision: https://phab.enlightenment.org/D2711 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-06-16Edje: Add doc in edcref for description.clip_toJean-Philippe Andre
Thanks Dave for pointing this out.
2015-06-15Evas: Add "no-render" flag for proxy sources & clippersJean-Philippe Andre
Those objects should never be rendered on the canvas, even if they are visible. On the other hand, they need to be rendered in mask or proxy surfaces. note: this patch includes some extra whitespaces changes :( @feature
2015-06-15Edje: Add clip as a property of a part descriptionJean-Philippe Andre
Since masking, for performance and themeing reasons, it becomes interesting to be able to switch clippers on the fly. In particular, switching from an IMAGE mask to a standard RECT clipper can save a lot of power when masking is not required. This new flag "description.clip_to" will behave a bit like a mix of rel.to and visible: - It points to a part by name, just like part.clip_to. This will override the clipper set by the part, or override the default clipper. - Like "visible", it can not be interpolated between two values, so it will switch only at the end of a transition. - By default there is no clip override, which means Edje will fallback to the part's clipper, if any, or the base (group's) clipper. NOTE: - Since a clipper that does not clip anything becomes a standard object, it is visible and rendered. This will in 99.999% cases not be the intended behaviour. Currently we can simply use a transparent RECT in order to always have something clipped by the clipper, but this is a hack and this will trigger rendering of masks in their surfaces even when they are not actually used. Ideally, there should be a flag indicating to Edje & Evas that an object should be considered a clipper in all situations, and never be rendered on screen. TODO: - Support Edje Edit - Add Embryo & Lua functions - Add support in edje_convert - Add Edje/Evas flag to mark objects as "no_render" @feature
2015-06-11edje: Remove unused variableChris Michael
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-06-11edje: add po file support in edc translation.katpavalli
Summary: Implementation to support .po files in edc for translation Test Plan: Test Code to test this implementation is done as part of efl/src/examples/edje/edje-text.c and efl/src/examples/edje/text.edc edje_cc -md . text.edc && gcc -o edje-text edje-text.c `pkg-config --libs --cflags ecore-evas edje evas ecore eo` ./edje-text 1) Click On the text "Click here" The language gets changed. Reviewers: shilpasingh, cedric Reviewed By: shilpasingh, cedric Subscribers: cedric, rajeshps, govi, poornima.srinivasan Differential Revision: https://phab.enlightenment.org/D2573 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-05-29edje: edje_cc_parse should check pair of parens.Nak-Gyeong Kim
Summary: Fix parens bug. ((x + y)-z) is OK. ((x + y) - z) is NOT OK. This patch can cover this case. @fix Signed-off-by: Nak-Gyeong Kim <nakkyong.kim@samsung.com> Test Plan: Test in edc. ((x + y)-z) is OK. ((x + y) - z) is NOT OK. This patch can cover this case. If parens are not paired, it will notify. Reviewers: raster, Hermet, cedric Subscribers: kimcinoo, jaehwan Differential Revision: https://phab.enlightenment.org/D2554 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-05-27edje: fix memory leak detected by prevent static analyser.jiin.moon
Summary: Modified codes according to prevent result The im will be freed by data_image_preload_done api. But if image load error happen, never call that api @fix Test Plan: prevent tool Reviewers: Jaehyun, Hermet, cedric Reviewed By: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2565 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-05-19edje: switch Evas_3D color to use Edje_Color.perepelits.m
Summary: Changes float on uchar as we do in other place for color component Reviewers: raster, Hermet, cedric Reviewed By: cedric Subscribers: cedric, artem.popov Differential Revision: https://phab.enlightenment.org/D2528 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-05-14edje: fix back edje_watch.Cedric BAIL
@fix Thanks Thanatermesis for reporting the issue.
2015-05-14edje: support translation on static strings in edc.katpavalli
Summary: Internationalisation of the static text specified as part of the edc is implemented. Problem: Static text when specified in the edc, remains unchanged when the system language is changed. Solution: Language support is provided even for the static strings in the edc. Test Plan: Test code to test this implementation is done as part of efl/src/examples/edje/edje-text.c and efl/src/examples/edje/text.edc Compile the code with the below command edje_cc -md <dir path>/efl/src/examples/edje/ text.edc && gcc -o edje-text edje-text.c `pkg-config --libs --cflags ecore-evas edje evas ecore` ./edje-text 1) change the language of the system using the command export LANGUAGE=hi ./edje.text Not the text Loading gets displayed in hindi language 2) change the language of the system using the command export LANGUAGE=ta ./edje.text Not the text Loading gets displayed in tamil language 3) change the language of the system using the command export LANGUAGE=en ./edje.text Not the text Loading gets displayed in english language As the number of .mo files in the /edje folder can be increased, those many languages can be supported Reviewers: cedric, shilpasingh Reviewed By: shilpasingh Subscribers: cedric, rajeshps, govi, poornima.srinivasan Differential Revision: https://phab.enlightenment.org/D2336 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-05-13edje: fix parsing issue in edje_cc with bezier program transition.kumar navneet
Summary: Issue: "CURRENT" param not considered while parsing cubic bezier transition in edje cc Soln: parse 5,6 parameter if Curr is set else parse 4,5 parameter Reviewers: cedric, shilpasingh Reviewed By: shilpasingh Subscribers: poornima.srinivasan, rajeshps, cedric, govi Differential Revision: https://phab.enlightenment.org/D2488 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-05-07edje: add align 3d support.perepelits.m
Summary: Adding of Z axis to be aligned Reviewers: cedric, raster, Hermet Subscribers: cedric, artem.popov Differential Revision: https://phab.enlightenment.org/D2368 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-21Edje pick: Fix use after freeJean-Philippe Andre
Fixes CID 1267458
2015-04-21Edje: Remove non-sensical NULL checkJean-Philippe Andre
Fixes CID 1261450
2015-04-16epp: fix annotate.Cedric BAIL
2015-04-16edje: fix misspelling of annotate.Yomi
Summary: Anotate to Annotate Test Plan: test it to make sure I didn't break it... Reviewers: raster, cedric Differential Revision: https://phab.enlightenment.org/D2356 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-09edje_cc - handle image sets that are empty by skipping themCarsten Haitzler (Rasterman)
this fixes an edje_cc crash on compile for "invalid" edc that has empty image sets.
2015-04-06edje: allow empty part.desc.inherit; statements to autoinherit default descMike Blumenkrantz
typing inherit: "default"; constantly is annoying and unnecessary. @feature
2015-04-06edje: add part.desc.rel.{to,to_x,to_y} keywordsMike Blumenkrantz
it was annoying to have to type two lines for setting parts relative to each other, so now only one is needed @feature
2015-04-06edje: add color_class.desc lazedc synonymMike Blumenkrantz
I hate typing.
2015-04-06Added non-edc resource dependencies on .edc while dumping dependenciesCedric BAIL
Summary: Added code to include non-edc resource (image, sound, video etc) path in dep file while dumping include dependencies for edc files. Reviewers: raster, cedric, Sergeant_Whitespace Reviewed By: cedric, Sergeant_Whitespace Subscribers: Sergeant_Whitespace Projects: #efl Maniphest Tasks: T2252 Differential Revision: https://phab.enlightenment.org/D2270
2015-04-06edje: add of textures to edje_cc (part 2).perepelits.m
Summary: Adding of wrap mode and filter of the given texture Reviewers: raster, Hermet, Sergeant_Whitespace, cedric Reviewed By: Sergeant_Whitespace, cedric Subscribers: Sergeant_Whitespace, cedric, artem.popov Differential Revision: https://phab.enlightenment.org/D2256 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-02edje_cc: Add options -V/--version to show edje_cc version.Stefan Schmidt
Requested to ease debugging on deployments. Fixes T2213
2015-03-31edje: add option to dump gnu style include dependencies in edje_cc.Dinesh Dwivedi
Summary: We were facing one problem in tizen sdk's build system as it does not trigger build for edc file if only sub-edc files are changed. During analysis, we found that there is no option in edje_cc for dumping include dependencies which other compiler (clang/ gcc etc) does have. We can do other hack to solve this problem but it will be great if edje_cc can emit gnu style include dependency target. This patch will add support to generate gnu format include dependency file while compiling edc file. similar to what gcc generates with option '-MMD -MF=<dep_file> -MT<dep_file>' https://gcc.gnu.org/onlinedocs/gcc-4.9.2/gcc/Preprocessor-Options.html Test Plan: no failure in existing test Reviewers: raster, cedric Reviewed By: cedric Projects: #efl Differential Revision: https://phab.enlightenment.org/D2263 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-25edje: add of textures to Edje 3D node.perepelits.m
Summary: Adding textures to edje_cc and some topblock keywords that I have forgotten to add in previous commits. Reviewers: Hermet, raster, cedric Reviewed By: cedric Subscribers: cedric, artem.popov Differential Revision: https://phab.enlightenment.org/D2129 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-07edje color classes can now have text descriptionsMike Blumenkrantz
@feature
2015-03-06edje: add orientation properties in edje_ccperepelits.m
Summary: Adding of two modes of node orientation, by setting of the angle and by setting of the quaternion. Reviewers: Hermet, raster, cedric Reviewed By: cedric Subscribers: artem.popov, cedric Differential Revision: https://phab.enlightenment.org/D2087 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-03-06Edje epp: Fix FSF mailing address in the copyright notice.Tom Hacohen
Fixes T2157. Thanks to spotrh for suggesting the fix.
2015-03-02edje: Adding the zoom effect of map to edjejiin.moon
Summary: Support zoom effect of map in edje @feature Reviewers: Hermet Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2068
2015-02-24edje: fix windows buildAndrii Kroitor
Summary: "far" and "near" are keywords on windows and can't be used as names of variables. @fix Reviewers: cedric, Hermet, raster, perepelits.m Subscribers: reutskiy.v.v, cedric Differential Revision: https://phab.enlightenment.org/D2037 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-23edje: add orientation properties for Evas_3D node.perepelits.m
Summary: Adding of two modes of node orientation: by setting of the target name and by setting of the point to look on. Reviewers: Hermet, raster, cedric Subscribers: cedric, artem.popov Differential Revision: https://phab.enlightenment.org/D2014 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-21Edcref: fix a mispelled propertyDave Andreoli
2015-02-20edje: add of material properties.perepelits.m
Summary: Filling of fields: "ambient", "diffuse", "specular", "material", "normal", "shininess" and "shade". Reviewers: Hermet, raster, cedric Reviewed By: cedric Subscribers: cedric, artem.popov Differential Revision: https://phab.enlightenment.org/D2011 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-20edje: add camera properties to edje_cc.perepelits.m
Summary: Filling of "fovy", "aspect", "near" and "far". @feature Reviewers: raster, Hermet, cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1988 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-17edje: add a block "position" for Evas_3D part (camera, light and node).perepelits.m
Summary: add a block "position" to fill the position field for nodes. Reviewers: raster, Hermet, cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1977 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-13edje, eeze: compiler portability (use full ternary operator)Daniel Kolesa
2015-02-12edje_cc: Avoid segfault when strcmp NULL itemsStefan Schmidt
Martin reported a porblem with one of the SHR project edc files after an upgrade to 1.13. The segfault itself is easy enough to fix here but I think there might be other problems with the edc after this segfault is gone. We will see. Fixes T2106
2015-02-11edje: add 3D models to edje_cc.perepelits.m
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-09edje: add of model lookups.perepelits.m
Summary: I have added some methods to edje_cc_out.c to organize model lookups. The same methods already exists for images. Also, I have removed source_type because now we don't need it in efl_file_set. @feature Reviewers: raster, Hermet, cedric Reviewed By: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1886 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-05edje: epp - fix build of edje file in cas of recursive includes.Nicolas Aguirre
Amitesh Singh fixed this issue with Commit e66e132d9dabecb8273fe3962099d4523fef1055, but this commit has been reverted recently, by a commit freeing ressources (6d0b834a76c3301bf4c4b29752f902dbe8a8525e). It's clear that we are leaking here if we remove the free, but there is also a valgrind error when this memory is freed. After trying to debug and understand the code of epp, i can only propose to remove this free, we will need to include a lot of files before this memory leak could be visible. It is also not a real problem, the memory leak only concern the file name passed in the include directive and epp is started per file anyway. It is unlikely to create any real life problem and we better spend our time on more pressing matter. Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-01-29Edje: edje_cc - abort recursive Reference that is made by GROUP partsVitalii Vorobiov
Summary: It is easy to create edj collections that aren't working at all and edje_cc easily allows user to do that. For example: > Having group A with GROUP part that has group B as source. > Having group B with GROUP part that has group A as source. In this case edje_cc compile source code perfectly, but if user try to load this edje as layout or use together with edje_edit it will cause unexpacted and wrong behaviour. @fix Reviewers: seoz, Hermet, reutskiy.v.v, cedric Reviewed By: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1908 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-01-28Set the name for table, box itemsVyacheslav Reutskiy
If box or table items haven't name in the edc we generate a new name by mask "item_0xFFFFFFFFFFFFFFFF". Item name important for Edje_Edit. @fix