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)
I found some crash issues that enventor couldn't catch the event.
Have no idea what kinds of the crashes but probably it'd out of the signal
handling.
So re-implement the way of supporting the locking file mechanism
to use the win32 basic File functionality that gurantee removing file
when Enventor is closed in normal or abnormal, either cases.
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.
The focused_item could be invalid if the enventor item is removed before seting it null.
Also, the previous warning is no more invalid because
it was introduced by unsafe threads workers that was already fixed before.
Summary:
when the item of file tab which is in out of file tab view needs to be shown,
It should be moved into the file tab view
Test Plan:
1. launch enventor with multi-file supports
2. add item fully to the file tab
3. click next arrow in file tab and move the selection item
4. when selection item reached end of file tab
5. check the next item which is out of file tab view comes into the file tab view
Reviewers: Hermet, Jaehyun_Cho, NikaWhite, bowonryu
Differential Revision: https://phab.enlightenment.org/D4242
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
Summary:
fix the selection function of console error message,
it was behavior broken since there is markup text in console message.
so I fixed it work well.
Test Plan:
1. launch enventor
2. make some error in text view
3. save
4. check the selection region in text view
Reviewers: Hermet, Jaehyun_Cho, NikaWhite, bowonryu
Differential Revision: https://phab.enlightenment.org/D4239
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: disable focus for resize slider bar
Test Plan:
1. launch enventor
2. show resize ctxpopup using status bar
3. check the focus is disable
Reviewers: Hermet, Jaehyun_Cho, NikaWhite, bowonryu
Differential Revision: https://phab.enlightenment.org/D4232
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