Commit Graph

267 Commits

Author SHA1 Message Date
YeongJong Lee d9cbfba323 edc_navigator: Add dragable bar for edc_navigator
Summary:
edc_navigator can be resized. in order to prevent collision
between edc_navigator and file_browser, limit the size to half each other.

Test Plan:
1. Run enventor
2-1. Drag the bar between text editor and edc_navigator
2-2. Toggle edc_navigator using key F10
3. Check edc_navigator size is saved after restart envertor

Reviewers: Jaehyun_Cho, Hermet

Differential Revision: https://phab.enlightenment.org/D4439
2016-11-30 13:25:56 +09:00
YeongJong Lee c13134d609 file_browser: Add dragable bar for file_browser
Summary: file_browser can be resized.

Test Plan:
1. Run enventor
2-1. Drag the bar between file_browser and live view
2-2. Toggle file_browser using key F9
3. Check file_browser size is saved after restart envertor

Reviewers: Jaehyun_Cho, Hermet

Differential Revision: https://phab.enlightenment.org/D4431
2016-11-29 12:51:29 +09:00
Hermet Park c9ac1d8f50 fix make distcheck errors. 2016-08-27 15:45:58 +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
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 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 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
Jean-Philippe Andre 3af6ede5e5 clang: Fix warnings and compilation errors
enventor wouldn't compile with clang. Also, it would print
a lot of warnings.
2016-08-10 15:17:41 +09:00
Hermet Park 64b88b4147 file_mgr: avoid unnecessary item focus. 2016-08-09 01:10:27 +09:00
Hermet Park b3afcc4810 file_browser: stabilizing switching main edc file function. 2016-08-08 23:58:08 +09:00
Hermet Park 997b878fa8 file_browser: support to switch main EDC file.
F2 => set main edc
F3 => quick jump
F4 => revert quick jump (not done yet)
F5 => reference tooltip.
2016-08-08 20:25:05 +09:00
Hermet Park 534805a688 build_setting: add a main edc file path.
Support to change main edc file in build setting.
Also, Enventor will support a shortcut key to change main edc file.
2016-08-07 04:35:08 +09:00
Hermet Park c890ca73b6 file_browser, file_tab: change a default behavior.
Previously, they are disabled if the workspace is not specified.
We don't need this anymore.
Because we gonna support runtime changing for the workspace directory.
2016-08-07 01:41:47 +09:00
Hermet Park 4212c9fa98 Limit to an unique enventor instance.
Now, Enventor allows only one enventor instance.
This is sort of a limited way, but it would be better while enventor supports
multiple file editing.

Unless it perfectly covers scenarios that overwrite editor code from other
process, Enventor will limit its process count.
2016-08-06 05:03:40 +09:00
Hermet Park fd050aacf2 Support individual group view scale.
Now, groups keep their own view scale on their own contexts.
This will help user simultaneous group editing.
2016-08-03 19:35:04 +09:00
Bowon Ryu 09ea8541bb help: updated help
Test Plan:
1. enventor
2. press F1 Key

Reviewers: Jaehyun_Cho, Hermet

Differential Revision: https://phab.enlightenment.org/D4178
2016-07-25 16:02:08 +09:00
Hermet Park 0462d04c0d multi-file: support quick jump (F5)
if you press F5 on "#include xxxx" line,
Enventor will open that include file.

Conflicts:
	src/lib/edc_parser.c
2016-07-22 16:19:46 +09:00
Hermet Park 449fa28899 workspace: set workspace path current path in default.
If user don't specify the workspace path,
Enventor set the workspace path to current directory path
while turning off file browser and file tab function in default.
2016-07-20 19:29:39 +09:00
Bowon Ryu 8e0a3d8a98 console: apply syntax color for console error message
Summary:
current error message is hard to read.
if the message has a syntax color, then it will be better.

Reviewers: Hermet, herb, Jaehyun_Cho

Reviewed By: Jaehyun_Cho

Differential Revision: https://phab.enlightenment.org/D4124
2016-07-13 11:00:48 +09:00
Hermet Park 4b8f989090 multi-file: re-implemented item grouping infra.
Changed item concept that only one item can represent the enventor object.
I'd thought multiple editors of Enventor could be active at the same time,
but it brought Enventor Lib has over-concept feature,
because Enventor App doesn't support it so far.
2016-07-07 20:34:42 +09:00
Hermet Park 6780f25ad4 multi-file: redoundo implemtation.
Still a lots of changes required... >.<
2016-07-04 15:09:26 +09:00
Hermet Park 6303afd975 multi-file: ++implementation.
+ line deletion and file saving.
2016-07-03 08:50:47 +09:00
Hermet Park 36a2f9f917 Code refactoring.
Replace globals with utils.

Conceptually, this globals has more utility functionalities.
2016-07-02 17:39:47 +09:00
Hermet Park e4896f1090 multi-file: ++implementation.
Now it works on search/replace.

API changes.
Below object APIs replaced with item APIs.

enventor_object_text_get()
enventor_object_text_insert()
enventor_object_selection_get()
enventor_object_cursor_pos_get()
enventor_object_cursor_pos_set()
enventor_object_select_none()
enventor_object_select_region_set()
enventor_object_syntax_color_partial_apply()
enventor_object_syntax_color_full_apply()
2016-07-02 17:32:11 +09:00
Hermet Park 68548afdde multi-file: support the function, go to line.
removed enventor_object_max_line_get()
removed enventor_object_goto_line()
added enventor_item_max_line_get()
added enventor_item_goto_line()
2016-07-02 15:39:10 +09:00
Hermet Park 5e8d2e518d fixed all compile warning stuff. 2016-07-02 14:09:42 +09:00
Hermet Park bbc8ee13ea code refactoring.
renamed from outline to wireframe.

Conceptually, here feature is close to "wireframe".
2016-07-02 13:58:27 +09:00
Hermet Park 8c13d63a8e ++ multi file support. 2016-07-01 18:24:14 +09:00
Hermet Park f0623301d9 file_browser/file_tab: ++ multi file support implementaion 2016-06-30 16:50:20 +09:00
Hermet Park c8749390d8 file_tab: ++implementation. 2016-06-30 00:52:13 +09:00
Hermet Park 247c1e67ae file_tab: use customed list for file tab. 2016-06-29 23:29:37 +09:00
Hermet Park 5140ab5c64 code refactoring.
add a common memory fail message routine to reduce string usage.
2016-06-29 20:41:39 +09:00
Hermet Park e61cfb6124 file_tab: add a partial implmentation. 2016-06-29 20:28:11 +09:00
Taehyub Kim 4100cc9131 edj_viewer: add parts outline highlight feature
Summary:
When we add a live edit item, it is convenient to be support part outline.
so I added part outline feature. It can be toggling.

@T3626

Test Plan:
1. launch enventor
2. activate parts outline item on tools
3. see the parts outline in live edit view

Reviewers: Hermet, NikaWhite, bowonryu, Jaehyun_Cho

Reviewed By: Jaehyun_Cho

Differential Revision: https://phab.enlightenment.org/D4071
2016-06-28 14:20:57 +09:00
Hermet Park 37fa2ee7e6 live_edit: dismiss relative to ctxpopup only when esc key is pressed. 2016-06-06 12:33:17 +09:00
Hermet Park 4276c9479e config: set error-message-red-alert-effect configurable.
that effect is up to user's preference.
let user choose it enabled or not.
2016-06-01 23:19:21 +09:00
Hermet Park ad16037c4d renamed about to help.
Come to think of it, About func is more than About.

Help is better name for it.
2016-06-01 22:52:13 +09:00
Hermet Park fe4cc81da1 updated about 2016-05-25 02:34:00 +09:00
Hermet Park 3f317692cb about: redesign about page. 2016-05-25 02:20:51 +09:00
Hermet Park 9e8dce3db8 live_edit: revise previous patch 6fb471d8d4.
redesign ui and clear code.
2016-05-23 22:12:43 +09:00
Taehyub Kim 6fb471d8d4 live_edit: add fixed width and height interface in live edit view
Summary: update fixed width and height interface to choose easier

Test Plan:
1. launch enventor
2. make live edit item by clicking live edit toolbar
3. click fixed width or fixed height check item on setting interface in live edit view
4. set relative_to property by dragging the edge of the part
5. insert the live edit item
6. check the result in text view

Reviewers: Jaehyun_Cho, NikaWhite, Hermet

Differential Revision: https://phab.enlightenment.org/D3962
2016-05-23 21:25:30 +09:00
Jaehyun Cho cf4c9ffb94 tools: Add template insert button.
Add template insert button in tools to let users know how to use
template insert function.
2016-05-22 23:34:42 +09:00
Hermet Park d74f4afed0 updated about 2016-05-22 11:08:20 +09:00
Hermet Park 329d4ba1ff update help for workspace. 2016-05-22 11:00:04 +09:00
Hermet Park e16ff998b1 implementing multi editor support.
this feature will be come gradually...
2016-05-19 00:28:58 +09:00
Jaehyun Cho 2854c5ce9e tools: Fix warnings. 2016-05-16 23:38:34 +09:00
Jaehyun Cho 29686022e0 setting: Fix warnings. 2016-05-16 23:32:55 +09:00
Jaehyun Cho 5dbfbd64f3 tools: Divide tools into live view tools and text editor tools.
Now tools are divided into live view tools and text editor tools based
on their functions.
Region for file browser tools and edc navigator tools is also reserved.
2016-05-10 23:19:36 +09:00
Jaehyun Cho 7a85d0bc3b live_edit: Remove unused code.
live_edit does not need trigger any more. Therefore, code related to
trigger is removed.
2016-05-10 23:19:04 +09:00