Commit Graph

1030 Commits

Author SHA1 Message Date
Hermet Park a5ecd83696 live_edit: fix typo? 2016-07-20 13:48:49 +09:00
Hermet Park d883a8c715 live_edit: don't displayed over the scroller.
Set a smart parent to actual view object so the control point
and texts to be clipped properly.
2016-07-20 13:46:51 +09:00
Hermet Park 50b32ef8f4 live_edit: code refactoring.
remove hackish code.
you can write code prettier!
2016-07-19 19:47:43 +09:00
Hermet Park 2d9fd3588f multi-file: close live_view properly if the file is closed.
this commit is about stablizing mult-file functionalities.
2016-07-19 19:28:22 +09:00
Jaehyun Cho 5179e31f39 file_browser: Display sorted file list based on file type. 2016-07-19 17:00:48 +09:00
Hermet Park d85f045099 preference_setting: update tooltip message. 2016-07-15 21:12:21 +09:00
Hermet Park a70270a9d9 arrange shortcut key
removed line number toggle.
f5 -> quick jump.
f6 -> reference tooltip.
2016-07-15 19:50:39 +09:00
Hermet Park cb46ee7d14 tools: use lower-case name for consistency. 2016-07-14 20:14:12 +09:00
Hermet Park 7ebc3e8c3c live_edit: updated tooltip msg. 2016-07-14 20:04:40 +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
Jaehyun Cho b570f792ff file_browser: Code refactoring to fix file search crash.
Previously, searching files in file browser causes crash.
Now, each file browser data contains genlist item and the genlist item
is also deleted when the file browser data is deallocated.
2016-07-11 21:29:58 +09:00
Jaehyun Cho 710621cc9b Support keyword reference function.
Display keyword reference if F5 is pressed while cursor is on the
keyword.
2016-07-09 00:21:50 +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 ace06a6d8b multi-file: itemize redo/undo functions. 2016-07-07 19:13:25 +09:00
Hermet Park d6f61c9963 multi-file: consolidate bodies. 2016-07-07 18:42:13 +09:00
Hermet Park c59be9cf1b multi-file: ++implementation.
1. make it work with template insert feature.
2. dissmiss inactivated item's view sync callbacks.
2016-07-07 16:21:03 +09:00
Taehyub Kim 18030c6532 tempalate: change the description
Summary: change the description

Test Plan:
1. open new file
2. see the template name

Reviewers: Jaehyun_Cho, NikaWhite, bowonryu, Hermet

Differential Revision: https://phab.enlightenment.org/D4091

Conflicts:
	data/templates/Makefile.am
2016-07-07 11:09:46 +09:00
Hermet Park e2506983ad file_tab: free item memory properly.
when file tab is terminated, free used memory.
2016-07-06 15:04:47 +09:00
Hermet Park 0176bda440 file_tab: fix invalid memory access.
list item selected callback passed file tab item, not file data!
2016-07-06 14:49:41 +09:00
Hermet Park 932174c629 text_setting: allow null argument.
text_setting_reset() allows null value by demand.
2016-07-06 14:30:12 +09:00
Taehyub Kim 381afdd7b1 live_edit: align line should be shown always on live edit item
Summary: align line should be shown always on live edit item

Test Plan:
1. launch enventor
2. click an live edit item on tools
3. move and align the item
4. see the align line on other parts

Reviewers: Jaehyun_Cho, NikaWhite, bowonryu, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D4121
2016-07-06 14:18:39 +09:00
Hermet Park 5b00b70fc2 file_tab: ++implementation.
allow remove item from the tab.
2016-07-04 22:17:38 +09:00
Hermet Park 37770335ff file_browser: display main edc file marker.
it helps people notice the main edc file among the edcs.
2016-07-04 18:33:30 +09:00
Hermet Park 193ec29fa0 multi-file: support live editor.
Additional implementation.
Now it works for live editing.
2016-07-04 17:53:54 +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 25c1bccd66 file_tab: disable it, if a workspace were not given.
Like the file browser, file_tab will be forcely disabled if the workspace were
not given by user. In that case, file tab would have false always.
So, it needs restore mechanism for original file tab value.
2016-07-04 11:33:27 +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 b71d9d2f26 fixed missing short-cut key changes.
Introduced from 4d6e98d0f0.
2016-07-02 14:32:27 +09:00
Hermet Park fe4919db46 status: Fix a view size issue.
It wont set the view size if the statusbar were disabled.

This time, statusbar is almost mandatory function.
So, regardless of statusbar activation,
Enventor updates the view size and mouse cursor info.

@fix T3974
2016-07-02 14:21:34 +09:00
Hermet Park e3c03b38ba settings: allow null arguments on build/text setting. 2016-07-02 14:16:30 +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 12f516939c tools: update wireframes message. 2016-07-02 13:35:34 +09:00
Hermet Park 4d6e98d0f0 reorganize shortcut keys.
-- auto indentation.
-- auto completion.
++ wireframes (ctrl + w).
2016-07-02 13:32:34 +09:00
Hermet Park 896da7f386 tools: update part outline tooltip msg. 2016-07-02 13:19:31 +09:00
Hermet Park e93ab43319 ++ multi file editing feature implementation. 2016-07-01 23:59:17 +09:00
Hermet Park 731d0bed5b ++secure code. 2016-07-01 18:58:26 +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 bd0aa1a81e file_browser: code refactoring.
use enventor coding convention.
2016-06-30 16:12:55 +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
Taehyub Kim dafc19ce3f live_edit: change the description of fixed mode
Summary: change the description of fixed mode

Test Plan:
1. click a live edit item on tools
2. see the description of fixed mode in live view

Reviewers: Jaehyun_Cho, NikaWhite, bowonryu, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D4106
2016-06-28 14:01:00 +09:00
Taehyub Kim 4ba5c36f91 build_setting: change the description of build setting
Summary: change the description of build setting

Test Plan:
1. show the build setting
2. see the path title

Reviewers: Hermet, Jaehyun_Cho, NikaWhite, bowonryu

Differential Revision: https://phab.enlightenment.org/D4105
2016-06-28 13:59:05 +09:00
Taehyub Kim 964a57936f tools: change the description for the tools of live edit mode
Summary: change the descrtipion for the tools for live edit mode

Test Plan:
1. move the mouse cursor on part highlighting, dummy parts and mirror mode tools
2. see the tooltip messages

Reviewers: Jaehyun_Cho, NikaWhite, bowonryu, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D4103
2016-06-28 13:53:12 +09:00
Taehyub Kim 9ed825cdb7 edc_navigator: change the EDC Navigator description
Summary: change the description

Test Plan:
1. Open basic.edc template
2. remove the annotation of program part
3. Show EDC Navigator
4. move the mouse cursor on the button of Program which have rectangle icon.
5. move the mouse cursor on the button of program which have triangle icon.
6. see the each tooltip messages.

Reviewers: Jaehyun_Cho, NikaWhite, bowonryu, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D4102
2016-06-28 13:52:21 +09:00
Taehyub Kim 3690f6d012 preference_setting: change the description
Summary: change the description

Test Plan:
1. open setting menue
2. move the mouse cursor on View Size, Auto Hiding Console, Smart Undo/Redo and Error Message Alert
3. see the tooltip messages

Reviewers: Jaehyun_Cho, NikaWhite, bowonryu, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D4099
2016-06-28 13:51:42 +09:00
Taehyub Kim 2391268f5b tools: change the description of window layout
Summary: change the description of window layout

Test Plan:
1. move the mouse cursor on EDC Navigator and Status item of tools
2. see the tooltip messages

Reviewers: Hermet, Jaehyun_Cho, NikaWhite, bowonryu

Differential Revision: https://phab.enlightenment.org/D4098
2016-06-28 13:49:56 +09:00
Taehyub Kim f1d5e5605d statusbar: change the description
Summary: change the description

Test Plan:
1. move the mouse cursor on each statusbar item
   (Resize, Swap and Group)
2. see the tooltip messages

Reviewers: Hermet, Jaehyun_Cho, NikaWhite, bowonryu

Differential Revision: https://phab.enlightenment.org/D4097
2016-06-28 13:48:37 +09:00
Taehyub Kim 8a6b7163cb tools: change the editing tools description
Summary: change the Find/Replace description

Test Plan:
1. move the mouse cursor on Find/Replace tools
2. see the tooltip message

Reviewers: Jaehyun_Cho, NikaWhite, bowonryu, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D4096
2016-06-28 13:47:35 +09:00
Taehyub Kim ea0ba27ada live_edit: change the description
Summary: change the description

Test Plan:
1. move the mouse cursor on each live edit item
2. see the tooltip messages

Reviewers: Hermet, NikaWhite, Jaehyun_Cho, bowonryu

Differential Revision: https://phab.enlightenment.org/D4095
2016-06-28 13:44:40 +09:00
Taehyub Kim 0e925d231b tools: change the description
Summary: change the description

Test Plan:
1. toggle dummy parts, mirror mode and parth highlighting
2. see the result

Reviewers: Jaehyun_Cho, NikaWhite, bowonryu, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D4094
2016-06-28 13:43:02 +09:00
Hermet Park b11d41d6c2 Remove redundant tools updation call in config change,
instead Update statusbar only here.
2016-06-27 11:48:34 +09:00
Hermet Park 879e56b438 preference_setting: fix a wrong shortcut key info. 2016-06-27 11:38:29 +09:00
Hermet Park 2fef095d4e preference_setting: update tools tooltip msg. 2016-06-27 11:37:31 +09:00
Hermet Park edda0396fa GUI: change the status usability.
Added a toggle option in setting.
and replaced the status shortcut key to F8 from F11.
Now, tools shortcut key is moved to F7.

This change is such a pre-requisition for a file tab feature.
2016-06-27 11:27:39 +09:00
Taehyub Kim 3163a95f82 menu: change the description
Summary: change the description

Test Plan:
1. input some text into text view
2. click x button of enventor window
3. see the popup message

Reviewers: Jaehyun_Cho, NikaWhite, bowonryu, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D4092
2016-06-25 12:32:47 +09:00
Taehyub Kim b8a1b8865f search: change the description
Summary: change the description

Test Plan:
1. open search window
2. see the text

Reviewers: Jaehyun_Cho, NikaWhite, bowonryu, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D4090
2016-06-25 12:27:57 +09:00
Taehyub Kim 6a55ec38b8 menu: apply coding convention
Summary:
apply coding convention
@fix

Reviewers: Jaehyun_Cho, NikaWhite, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D4084
2016-06-25 12:26:20 +09:00
Taehyub Kim b8b65b0d3e live_edit: apply coding convention
Summary:
the line is over than 80 character.
@fix

Reviewers: Hermet, Jaehyun_Cho, NikaWhite

Differential Revision: https://phab.enlightenment.org/D4083
2016-06-25 12:25:14 +09:00
Hermet Park 74855861ca edc_navigator: part exception code still required. my mistake.
now, it this logic coveres the part searching properly.
2016-06-23 20:23:53 +09:00
Hermet Park d627d761ec Revert "edc_navigator: remove redundant compatibility code."
This reverts commit e2f00759de.
2016-06-23 20:15:54 +09:00
Hermet Park e2f00759de edc_navigator: remove redundant compatibility code.
because of this, it occured a corruption for the part searching.
basically, this is unnecessary because it's been covered by part_type.
2016-06-23 20:10:15 +09:00
Bowon Ryu b69a210b00 text_setting: remove dec & inc button on font_size slider
Summary:
ux update for text setting.
remove dec & inc button because uncomfortable.
and adjust slider step.

Reviewers: Hermet, Jaehyun_Cho

Reviewed By: Jaehyun_Cho

Differential Revision: https://phab.enlightenment.org/D4065
2016-06-21 16:24:34 +09:00
Bowon Ryu 8235fa8404 text_setting: add button & spinner for font_size slider
Summary:
ux update for text setting.
add dec & inc buttons and spinner for font_size slider.

Test Plan: esc > settings > text editor

Reviewers: Hermet, Jaehyun_Cho

Reviewed By: Jaehyun_Cho

Differential Revision: https://phab.enlightenment.org/D4057
2016-06-21 14:03:04 +09:00
Taehyub Kim 04edb800e2 live_edit: refactoring setting relative features
Summary:
There are some hole cases.
For example, if we want to input fixed part
then we had to check fixed option first.
but now, we can input fixed part in any order.
In addition, Unnecessary codes are removed
and added more comments.

Test Plan:
1. launch envnetor.
2. make a live edit item by clicking live edit item on tools.
3. set relatives for the live edit item.
4. double click and insert the item.
5. see the result.

Reviewers: Jaehyun_Cho, NikaWhite, bowonryu, Hermet

Differential Revision: https://phab.enlightenment.org/D4047
2016-06-20 12:12:10 +09:00
Jaehyun Cho 86c531cad8 main: Fix workspace path option not to print "TYPE: STR".
ECORE_GETOPT_STORE_METAVAR_STR() prints additional information such as
"TYPE: STR".
Not to print "TYPE: STR", ECORE_GETOPT_APPEND_METAVAR() is used for
workspace path option.
2016-06-14 15:25:17 +09:00
Jaehyun Cho f889d61140 main: Remove redundant code that free ecore getopt list.
Since lists of image paths, font paths, sound paths, and data paths are
free manually, ecore_getopt_list_free() does not need to be called.
2016-06-14 15:14:13 +09:00
Jaehyun Cho 0e54be9d8e main: Fix help contents for workspace path option.
Synchronize help contents for workspace path option with other path
options.
2016-06-13 21:46:59 +09:00
Jaehyun Cho 52695c9a56 main: Fix workspace path option to work.
Workspace path option did not work because option type was changed
incorrectly.
Now the option type has been changed from list strings to one string
correctly.
2016-06-13 13:26:38 +09:00
Hermet Park 1f0df70689 build_setting: update tooltip messages. 2016-06-10 14:28:38 +09:00
Hermet Park e1cde9ffca tools: update tooltip. 2016-06-10 13:59:38 +09:00
Taehyub Kim 29d91c48b3 build_setting: add build setting tooltip messeges
Summary: add build setting tooltip messeges

Test Plan:
1. launch enventor
2. go settign menu
3. click EDC build tab
4. move mouse cursor on each item
5. see the tooltip messeges

Reviewers: Hermet, Jaehyun_Cho, NikaWhite

Differential Revision: https://phab.enlightenment.org/D4034
2016-06-10 13:47:53 +09:00
Hermet Park 87a67d4237 tools: improve tooltip messages for live edit buttons. 2016-06-10 13:27:56 +09:00
Hermet Park bee36c5f6c preference_setting: improve tooltip messages. 2016-06-10 11:44:07 +09:00
Taehyub Kim dae6778bb8 preference_setting: improve tooltips messages
Summary: add more comments for preference

Test Plan:
1. launch enventor
2. move mouse cursor on preference of setting
3. see the tooltip messeges

Reviewers: Hermet, Jaehyun_Cho, NikaWhite

Differential Revision: https://phab.enlightenment.org/D4033
2016-06-10 11:11:59 +09:00
Hermet Park d3bf7d155c status: update tooltip message. 2016-06-10 11:10:42 +09:00
Taehyub Kim cc877931ca statusbar: improve tooltip messages
Summary: add more comments for statusbar tooltip

Test Plan:
1. launch enventor
2. move mouse cursor on statusar tooltips
3. see the message of tooltips

Reviewers: Hermet, Jaehyun_Cho, NikaWhite

Differential Revision: https://phab.enlightenment.org/D4032
2016-06-10 10:45:44 +09:00
Hermet Park 7a9c30c3f1 tools: improve tooltip message. 2016-06-10 10:42:56 +09:00
Taehyub Kim 58fe5e78af tools: improve browser tooltips
Summary: add more comment for broswer tooltips

Test Plan:
1. launch enventor
2. move mouse curor on broswer tooltips
3. see the message of tooltips

Reviewers: Hermet, Jaehyun_Cho, NikaWhite

Differential Revision: https://phab.enlightenment.org/D4031
2016-06-10 10:22:21 +09:00
Hermet Park d1e2b38444 tools: improve tooltip message. 2016-06-10 10:21:41 +09:00
Taehyub Kim 75c20f5ca1 tools: improve tooltips messages of script
Summary: add more comment of script tooltips

Test Plan:
1. launch enventor
2. move mouse cursor on script tooltip
3. see the message of tooltips

Reviewers: Hermet, Jaehyun_Cho, NikaWhite

Reviewed By: NikaWhite

Differential Revision: https://phab.enlightenment.org/D4030
2016-06-10 09:51:32 +09:00
Hermet Park 1ad226474c tools: improve tooltip msg. 2016-06-09 11:36:32 +09:00
Hermet Park 50f0ab8602 live_edit: work fixed size correctly.
rewrite previous logic to fix potential errors.
2016-06-06 16:21:52 +09:00
Hermet Park a9bfa26c17 live_edit: improve relative to popup gui. 2016-06-06 13:26:42 +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 96ecc2cde9 live_edit: determine current relative to axis.
relative_x shouldn't be available on top,bottom dragging.
relative_y shouldn't be available on left,right dragging.
2016-06-06 03:47:36 +09:00
Hermet Park 50f663adc2 live_edit: re-implement the relative to function.
still there are plenty of wrong behaviors...
2016-06-06 03:23:56 +09:00
Hermet Park d353764908 live_edit: code refactoring.
just cleane up code.
no logic changes.
2016-06-06 00:58:42 +09:00
Hermet Park a10c2a63dc adjust tooltip delay time. 2016-06-06 00:40:33 +09:00
Hermet Park e0368a9a37 live_edit: code refactoring.
renamed internal variables for readibility.
no logic changes.
2016-06-06 00:36:56 +09:00
Hermet Park 0502123d50 live_edit: code refactoring.
remove duplicated code.
2016-06-06 00:29:07 +09:00
Hermet Park e6fac7b975 live_edit: code refactoring.
remove unnecessary code.
2016-06-06 00:27:38 +09:00
Hermet Park 4da3778f80 removed redundant code 2016-06-05 13:09:52 +09:00