Commit Graph

2108 Commits

Author SHA1 Message Date
Hermet Park 6c5edd4e34 theme: fix the wrong layout.
Tools should be overlaid on the content.
Previously, console was over the tools layer but it's wrong.
2016-08-23 01:07:50 +09:00
Hermet Park 0ffbb836c7 file_tab: bring in selected item properly.
When an item is newly added or selected, it should be brought in the view.
2016-08-22 22:52:37 +09:00
Hermet Park ddb4a44147 autocomp: add snapshot part. 2016-08-22 22:37:18 +09:00
Hermet Park 0633ff5ec9 syntax keyword: add "snapshot" keyword. 2016-08-22 22:35:28 +09:00
Jaehyun Cho 0f4b53b57a live_edit: Apply base scale in live edit.
When a part is added in live edit, base scale is applied to the minimum
size of the part.
2016-08-22 18:44:46 +09:00
Jaehyun Cho c4a02f9d05 Revert "live_edit: Apply base scale in live edit."
This reverts commit 05d92ed1c3.
2016-08-22 17:56:36 +09:00
Jaehyun Cho 1bc328d6de reference: Add keyword "base_scale". 2016-08-22 17:52:20 +09:00
Jaehyun Cho 9138b6be75 autocomp: Add keyword "base_scale". 2016-08-22 17:52:19 +09:00
Jaehyun Cho 05d92ed1c3 live_edit: Apply base scale in live edit.
When a part is added in live edit, base scale is applied to the part.
2016-08-22 01:34:22 +09:00
Jaehyun Cho 231ffaa7e1 lib: Add enventor_object_base_scale_get(). 2016-08-19 18:28:48 +09:00
Jaehyun Cho 675990ad3f live_edit: Apply round-off to view size and min size calculation.
To compute accurate view size and min size, apply round-off to view size
and min size calculation.
2016-08-19 18:28:47 +09:00
Jaehyun Cho 5126538a87 live_edit: Fix to reduce round-off error.
Round off values in the end to reduce round-off error.
2016-08-19 18:28:45 +09:00
Hermet Park 265626a86b fix a invalid memoray access.
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.
2016-08-19 16:24:16 +09:00
Bowon Ryu c5a606e090 file_tab: update themes.
Summary:
update icon,
close button re-location.

Test Plan:
1. launch enventor with multi-file supports.
2. add items to file_tab
3. observe file_tab items.

Reviewers: Hermet, Jaehyun_Cho, herb

Differential Revision: https://phab.enlightenment.org/D4243
2016-08-19 13:05:34 +09:00
Taehyub Kim 6d109cf27a file_tab: add 'bring in' feature for the item out of file tab
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
2016-08-19 12:59:06 +09:00
Hermet Park ec0d43a307 console: return function as soon as possible. 2016-08-19 12:57:39 +09:00
Taehyub Kim f0ab0ec9a9 edc_parser: move the functions in utils which are find_part and find_group to the edc_parser
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
2016-08-19 12:56:21 +09:00
Taehyub Kim 644d004f93 console: fix the selection function of console error message
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
2016-08-19 12:52:31 +09:00
Taehyub Kim 74938a0f66 syntax_color: add NULL checking in macro_apply
Summary:
add NULL checking in macro_apply
@fix

Reviewers: Jaehyun_Cho, NikaWhite, bowonryu, Hermet

Differential Revision: https://phab.enlightenment.org/D4237
2016-08-18 17:06:23 +09:00
Hermet Park b5b39617f2 edj_viewer: don't update views if they were deactivated.
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.
2016-08-18 00:27:56 +09:00
Hermet Park fa929055a2 edj_mgr: reduce the edj view caching time to 5 min. 2016-08-17 23:44:58 +09:00
Hermet Park 3d610f1898 theme: just modify the file permission.
keep the file permission consistency.
2016-08-17 23:30:17 +09:00
Hermet Park 026728b042 enable file browser, file tab in default.
set initalize base window size.
2016-08-17 22:53:14 +09:00
Taehyub Kim 6dbe2bc4e6 statusbar: disable focus for resize slider bar
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
2016-08-17 22:30:39 +09:00
Taehyub Kim 7e1a4c00a7 edc_editor: add NULL checking in edit_cursor_double_clicked_cb
Summary:
add NULL checking in edit_cursor_double_clicked_cb
@fix

Reviewers: Jaehyun_Cho, NikaWhite, bowonryu, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D4234
2016-08-17 22:29:31 +09:00
Taehyub Kim 950734d000 auto_comp: apply strncpy in context_lexem_thread_cb
Summary:
apply strncpy in context_lexem_thread_cb
@fix

Reviewers: Jaehyun_Cho, NikaWhite, bowonryu, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D4236
2016-08-17 22:28:16 +09:00
Taehyub Kim a47b12bd53 syntax_color: add NULL checking in macro_key_push function
Summary: add NULL checking in macro_key_push function

Reviewers: Jaehyun_Cho, bowonryu, NikaWhite, Hermet

Reviewed By: NikaWhite, Hermet

Differential Revision: https://phab.enlightenment.org/D4235
2016-08-17 22:22:53 +09:00
Taehyub Kim 1665ac9ba6 enventor_smart: add NULL checking
Summary:
add NULL checking in syntax_color_set and syntax_color_get API
@fix

Reviewers: Jaehyun_Cho, NikaWhite, bowonryu, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D4233
2016-08-17 22:21:16 +09:00
Jaehyun Cho e646da1ee0 search: Move "Next" button to the right of "Previous" button. 2016-08-17 15:39:37 +09:00
Taehyub Kim bc5a7b3c36 edc_editor: support to jump to the part define
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
2016-08-16 22:00:01 +09:00
Hermet Park 4b22c006b1 edj_viewer: ++safety.
add a null check.
2016-08-16 17:28:54 +09:00
Hermet Park 693baf4398 fix window os build.
SignalHandlerPointer is not defined.
We can't use it here.
2016-08-16 14:53:00 +09:00
Hermet Park a1cabe509f updated eo syntax usage.
it's still under the beta.
2016-08-16 11:48:17 +09:00
Hermet Park 8fec9ff3c9 edc_parser: fix spinlock infinte loop issue.
nullout pointer properly to not access an invalid memory thread.
2016-08-16 11:32:34 +09:00
Hermet Park 7b23d7964a removed redundant code. 2016-08-16 10:39:06 +09:00
Hermet Park b28c487980 ported crash handling for Windows OS. 2016-08-15 17:08:10 +09:00
Hermet Park eca29287ab file_mgr: support file back tracking feature.
Now, press F4 opens the previous file back.
2016-08-15 16:49:35 +09:00
Hermet Park 5836cc702a edc_edit: code refactoring.
just internal function name change.
2016-08-15 15:00:37 +09:00
Hermet Park 27db1e3245 edj_viewer: set highlight geometry precisely.
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.
2016-08-15 14:57:00 +09:00
Hermet Park 7656155bf3 live_edit: dismiss ctxpopup when view position is changed.
ctxpopup position won't be valid anymore if the live edit object's
 position is updated. so dismiss it.
2016-08-15 14:20:53 +09:00
Hermet Park 7f34f53864 wireframes: fix merge conflict. 2016-08-15 14:16:16 +09:00
Taehyub Kim cb47271ff6 wireframes_obj: restore resize and move callback for layout
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
2016-08-15 14:09:45 +09:00
Hermet Park e40122daab file_browser: unset main tag at new file.
If user select a new file, then the main file will be this new one.
And then, the previous main file should lose the main tag.
2016-08-12 15:39:25 +09:00
Hermet Park b4655c371c text_setting: reset font style properly. 2016-08-12 15:09:07 +09:00
Hermet Park 8f7c61df8b live_edit: adjust text ui. 2016-08-12 12:28:41 +09:00
Bowon Ryu 498782167f live_edit: update font style and bg.
Test Plan:
1. enventor
2. add live_edit content.
3. observe content.

Reviewers: Hermet, Jaehyun_Cho, herb

Differential Revision: https://phab.enlightenment.org/D4221
2016-08-12 11:32:39 +09:00
Hermet Park a2db164533 file_tab: avoid unnecessary selection behavior.
When list item's close button is clicked, this selection is triggered
prior to the close button clicked callback.
It's useless to perform this selected callback anyway this file tab
item is gonna removed soon. But, due to the list's behavior,
it's unavoidable so we need this tricky animator.
2016-08-12 10:29:53 +09:00
Hermet Park 9d188e601e wooo.. one more eo change. 2016-08-12 10:07:10 +09:00
Hermet Park 65267ba2fd file tab: stablizing file switching behavior.
There are still corner case bugs.

one is issued by unsafe thread working
and the other one is group switching.

fixed all in all.
2016-08-12 04:00:17 +09:00
Jaehyun Cho ea4a177dcf reference: Change reference data name from md to rd.
Change reference data name to rd since rd stands for reference data.
2016-08-11 23:35:18 +09:00