Some cases, the edc editor can't apply syntax color
when it opens a new edc file.
we can cover this scanerio by trying syntax color logic again
until it's succeed.
@T4275
Relative resource paths in sub edc files are based on the current working
directory.
To support relative resource paths in sub edc files, set main edc file's
directory as the working directory when edje_cc is executed.
Test Plan:
1. Create "main.edc" in "./edc/" directory.
2. Create "sub.edc" in "./edc/sub/" directory.
3. Create "icon.png" in "./edc/image/" directory.
4. "main.edc" includes "sub.edc". (i.e. #include "./sub/sub.edc")
5. "sub.edc" uses "icon.png".
(i.e. images.image: "./image/icon.png" COMP;)
6. Open "main.edc" in the current working directory.
(i.e. enventor -w ./edc ./edc/main.edc -i ./edc/image)
Previously, generated views were to terminated if the edj path is changed,
but it's not quite useful at any scenarios.
User may want to change just the edj output path without any input resources
changes.
Summary:
move hte functions in utils which are find_part and find_group to the edc_parser
since it is right way
Test Plan:
1. launch enventor
2. move cursor on part name in text view
3. press F3 key
4. check it works well
Reviewers: Jaehyun_Cho, NikaWhite, bowonryu, Hermet
Reviewed By: Hermet
Differential Revision: https://phab.enlightenment.org/D4240
This fixes the wireframe issue that deactivated views' wireframes are appeared
when the file is updated.
This is only happened if edc collections is consisted with multiple edc files.
If edj file is updated, all generated views will be updated.
and wireframes will be also updated and appeared.
but we don't need to update the deactivated views even if the edj is
updated. we could this with an activated boolean and this will be much
optimized way for many generated views.
Summary: add the new feature to jump to the part define
Test Plan:
1. launch enventor
2. click mouse right button on "relative to" part name in text view
3. check selection is on the part define
Reviewers: Hermet, NikaWhite, bowonryu, Jaehyun_Cho
Reviewed By: Jaehyun_Cho
Tags: #enventor
Differential Revision: https://phab.enlightenment.org/D4167
change the geometry of highlight to its common geometry,
not actual text area.
This change is for consistency for wireframes,
and I expect user want it.
Summary: restore resize and move callabck for layout
Test Plan:
1. launch enventor
2. open a basic edc
3. add spacer part
4. turn on wireframe
5. resize the view
6. see the result of wireframe
Reviewers: Jaehyun_Cho, NikaWhite, bowonryu, Hermet
Differential Revision: https://phab.enlightenment.org/D4216
Conflicts:
src/lib/wireframes_obj.c
Previously, indentation logic produced a duplicated string if the copied
string ends with spaces.
Test Plan:
1. Open basic template.
2. Cut string right before "}" in the text view.
(e.g. Copy from 5th line to 7th line right before "}" in basic edc.)
3. Paste the cut string.
4. See that 6th line's string is pasted redundantly.
Summary:
when animation is working, wire frame is not updated.
so I fixed it.
Test Plan:
1. launch enventor.
2. run animation template
3. see the result about update of wireframe
Reviewers: Jaehyun_Cho, NikaWhite, Hermet
Differential Revision: https://phab.enlightenment.org/D4214
there is a quite complex case that non-thread safe code
that may occur crash or wrong behavior of enventor.
just improve the thread safe code to avoid the situation.