Commit Graph

1597 Commits

Author SHA1 Message Date
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
Bowon Ryu f4cf6703bb redoundo: fix Undo's indiscriminate red alert.
Summary:
if grammatically incorrect EDC file is opened, then
Undo causes error caution (with red alert) even though
there is no Undo action.

Test Plan:
1. Make incorrect EDC file. (e.g. Write "aaaa" in EDC file incorrectly)
2. Save the wrong EDC file.
3. Newly open the wrong EDC file.
4. press Undo button and it causes error caution.

Reviewers: Hermet, Jaehyun_Cho

Reviewed By: Jaehyun_Cho

Differential Revision: https://phab.enlightenment.org/D4118
2016-06-30 21:50:42 +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 a9c1c62cbe ctxpopup: apply coding convention
Summary:
apply codinf convention
@fix

Reviewers: Hermet, Jaehyun_Cho, NikaWhite

Differential Revision: https://phab.enlightenment.org/D4085
2016-06-25 12:27:08 +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 d519670f65 update eo usage.
fix build break.
2016-06-25 00:07:01 +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
Hermet Park b959417fdc build: support edje_cc beta feature. 2016-06-23 17:04:22 +09:00
Jaehyun Cho 9d5bf61003 Rename Evas.Object to Efl.Canvas.Object.
This commit applies the following efl commit.

evas: Rename Evas.Object to Efl.Canvas.Object
2016-06-21 17:14:37 +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
Hermet Park 53f4b3c28c support the new type vector. 2016-06-20 13:42:36 +09:00
Taehyub Kim 4f4da34c9b edc_editor: rearrange selected part to be placed in center
Summary:
When we search the word or click part in live edit view and edc navigator,
The corresponding name in text view is selected, but it is not center align.
So I make it center align when the word is selected.

@T3326

Test Plan:
1. launch enventor
2. open search window
3. input any word in script
4. click ok forward button
5. check selection part if it is placed in center
6. click a part in live edit view
7. check selection part if it is placed in center
8. click a part name in edc navigator
9. check selection part if it is placed in center

Reviewers: Hermet, Jaehyun_Cho, NikaWhite, bowonryu

Differential Revision: https://phab.enlightenment.org/D4059
2016-06-20 13:10:36 +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 9e98077d30 Fix eo compilation.
This commit applies the following efl commits.

Evas: Move smart_callbacks_descriptions to legacy
Evas: Rename smart object into Efl.Canvas.Group
2016-06-19 12:44:09 +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 234b1926fc Revert "temporary change for release v0.9.0"
This reverts commit 847e84b12d.

enventor v0.9.0 was released.
2016-06-06 17:32:37 +09:00
Hermet Park 847e84b12d temporary change for release v0.9.0 2016-06-06 17:26:42 +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
Jaehyun Cho 4e688f87b5 auto_comp: Fix that autocomp list moves to selected part name position.
Previously, autocomp list moved to selected part name position because
autocomp list did not disappear when mouse down event occurred.
Now, an event rectangle is added to catch mouse down event and autocomp
list disappears when mouse down event occurs.

@fix T3738
2016-06-02 22:21:25 +09:00
Bowon Ryu 6371a5d930 edc_navigator: fix evaluation order
Summary: fix static analyzer warning

Reviewers: Hermet, Jaehyun_Cho

Reviewed By: Jaehyun_Cho

Differential Revision: https://phab.enlightenment.org/D4008
2016-06-02 20:17:18 +09:00
Bowon Ryu 8ceeb8b113 live_edit: fix data type for calculate part relative
Summary: fix static analyzer warning.

Reviewers: Hermet, Jaehyun_Cho

Reviewed By: Jaehyun_Cho

Differential Revision: https://phab.enlightenment.org/D4006
2016-06-02 20:15:24 +09:00
Jaehyun Cho 90ad03aa2e enventor: Do not highlight part during live edit mode.
Previously, part highlighting worked if part highlighting button is
clicked or enventor window moves during live edit mode.
Now, part highlighting does not work during live edit mode.

@fix T3653
2016-06-02 19:33:47 +09:00
Jaehyun Cho cd13b0f169 Revert "enventor: Do not highlight part during live edit mode."
This reverts commit 567a38d5e5.

Disable state should not control part highlight state.
2016-06-02 19:21:42 +09:00
Hermet Park 37ba55657b edc_editor: turn off focus highlight effect for code editor.
Editor has its cursor blinking so it doesn't need an additional highlight effect.
2016-06-02 19:15:00 +09:00
Jaehyun Cho 567a38d5e5 enventor: Do not highlight part during live edit mode.
Previously, part highlighting worked if part highlighting button is
clicked or enventor window moves during live edit mode.
Now, part highlighting does not work during live edit mode.

@fix T3653
2016-06-02 19:05:31 +09:00
Bowon Ryu 79ee03693c goto: add NULL check
Summary: fix static analyzer warning

Reviewers: Hermet, Jaehyun_Cho

Reviewed By: Jaehyun_Cho

Differential Revision: https://phab.enlightenment.org/D4005
2016-06-02 16:01:13 +09:00
Bowon Ryu 2889bf140f live_edit: remove same code
Summary: fix static analyzer warning

Reviewers: Hermet, Jaehyun_Cho

Reviewed By: Jaehyun_Cho

Differential Revision: https://phab.enlightenment.org/D4004
2016-06-02 15:32:25 +09:00
Bowon Ryu 7990e68b8e syntax_indent: add NULL check
Summary: fix static analyzer warning

Reviewers: Hermet, Jaehyun_Cho

Reviewed By: Jaehyun_Cho

Differential Revision: https://phab.enlightenment.org/D4003
2016-06-02 15:28:56 +09:00
Bowon Ryu 722d245929 live_edit: add return value
Summary: fix static analyzer warning

Reviewers: Hermet, Jaehyun_Cho

Reviewed By: Jaehyun_Cho

Differential Revision: https://phab.enlightenment.org/D4000
2016-06-02 15:19:23 +09:00
Jaehyun Cho 5f6dd2eb39 edc_parser: Fix memory leak. 2016-06-02 13:23:06 +09:00
Hermet Park 80e637ec89 image_preview: fix the broken image relay function.
this was introduced by e5ffff6872

i didn't catch the case which the string contains a single text.
2016-06-02 12:52:45 +09:00
Bowon Ryu d4a4a4da6c syntax_color: fix wrong indentation
Summary: fix static analyzer warning

Reviewers: Hermet, Jaehyun_Cho

Reviewed By: Jaehyun_Cho

Differential Revision: https://phab.enlightenment.org/D4002
2016-06-02 11:59:54 +09:00
Bowon Ryu 2698280453 template: set uninitialized value
Summary: fix static analyzer warning

Reviewers: Hermet, Jaehyun_Cho

Reviewed By: Jaehyun_Cho

Differential Revision: https://phab.enlightenment.org/D4001
2016-06-02 11:57:30 +09:00
Hermet Park e5ffff6872 ctxpopup: don't display image preview if image string is in comments.
if image string is in comments, image shouldn't be appeared.
but edc parser didn't compares texts elaborately and it came out error.

now fixed it.

@fix T3740
2016-06-02 00:41:08 +09:00
Hermet Park 925eb77c79 edc_editor: compare name elaboratley to search the part correctly.
when user press a part on the live view, the part name compareing is triggered.
in that sequence, cursor is jump onto the part wrt clicked part.

since, however, the string compare is not enough
the cursor could go on other part which has a similar name.

now compare them in detail to correct this

@fix T3736
2016-06-02 00:26:38 +09:00
Hermet Park 0882acfe93 edc_navigator: compare name elaborately to search the part correctly.
previous string compare is not enough find the string if there are similar ones.

now compare them in detail to correct this.

@fix T3736
2016-06-02 00:08:04 +09:00
Hermet Park 6635a98393 ctxpopup: block whole area if the editor ctxpopup is activated.
Since enventor allowed user to touch outer of editor while its ctxpopup is activated,
the context could be broken.

Block whole area and prevent the context break.

@fix T3752
2016-06-01 23:40:40 +09:00
Hermet Park 73ceae42b5 live_edit: don't highlight lines when ctrl key is pressed.
When user press the ctrl key, then part magnetic effect is always enabled.
it was introduced from missing return function value...

@fix T3741
2016-06-01 23:30:06 +09:00
Hermet Park 47fb10341c main: print warning message correctly.
that message is not about a programmers error but user's mis-usage.
That shouldn't be eina_log_error.
2016-06-01 23:22:03 +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
Jaehyun Cho c3709b5435 main: Do not overwrite existing EDC with template code.
If existing EDC is opened with -t option, then it is not allowed.

@fix T3745
2016-06-01 22:55:04 +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 c410db3b92 main: print help usage with standand output. 2016-06-01 22:44:14 +09:00
Hermet Park 69c85269ce tools: free used eina_list. 2016-05-31 20:12:26 +09:00
Jaehyun Cho b769398911 template: Fix to insert template code to the correct place.
Previously, template code was inserted before the closing bracket.
Now, template code is inserted after the closing bracket.

Test Plan
1. Open basic.edc.
2. Put mouse cursor the end of the line 18.
3. Press Ctrl + t to insert template code of image part.
2016-05-31 14:25:33 +09:00
Jaehyun Cho 1dd3d5c465 template: Fix line count of textblock part inserted in live edit mode.
Previously, line count was not correct after textblock part is inserted
in live edit mode.
Now, line count is correctly calculated after textblock part is inserted
in live edit mode.

Test Plan
1. Insert textblock part in live edit mode.
2. Check max line number.
2016-05-31 14:12:21 +09:00
Hermet Park 98d9cf4cb0 live_edit: fix the logic to support fixed size.
previous logic was corrupted at some point.
2016-05-29 01:41:52 +09:00
Hermet Park d88a2121e1 live_edit: revise previous patch.
Actually, previous patch is not make sense..
fixed width and height should work exclusively.
2016-05-28 19:42:11 +09:00
Taehyub Kim e30aca010e live_edit: make live edit item fixed when width and height are fixed
Summary:
live_edit: when the live edit item's width and height are fixed,
                  the size of live edit item should be fixed.

Test Plan:
1. launch enventor
2. click a live edit item
3. check all of fixed options
4. do not set relative_to options
5. insert the live edit item to the live view
6. check the inserted item's size whether it is fixed or not

Reviewers: Hermet, Jaehyun_Cho, NikaWhite

Differential Revision: https://phab.enlightenment.org/D3976
2016-05-28 19:38:59 +09:00
Hermet Park 3a6d844df2 live_edit: update message. 2016-05-28 19:37:31 +09:00
Taehyub Kim 0e7fd59874 live_edit: add toggle key for enabling and disabling auto align
Summary: add control toggle key for enabling and disabling auto align

Test Plan:
1. launch enventor
2. click a live edit item using toolbar item
3. move the item to the another part
4. press control key when the item is close to the another part
5. check auto align function whether it is disabled or not

Reviewers: Jaehyun_Cho, NikaWhite, Hermet

Differential Revision: https://phab.enlightenment.org/D3931
2016-05-28 19:33:56 +09:00
Hermet Park 4725daefd3 setting: polish gui. 2016-05-26 02:29:04 +09:00
Hermet Park 431c055a8f replace enventor embedded image. 2016-05-26 01:59:42 +09:00
Jaehyun Cho 2d2bb9e3a5 text_setting: Show current font name.
Previously, current font name was not visible because scroller of font
name did not move to the current font name list item.
Now, current font name is visible.
2016-05-25 23:53:56 +09:00
Jaehyun Cho 75206cd36d setting: Reorganize items.
Remove setting items which are already in toolbar area.
Reorganize items in text setting.
2016-05-25 23:53:55 +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 3a8320e42d edc_parser: code refactoring.
factorize depth.
2016-05-24 12:03:13 +09:00
Bowon Ryu cc538a8508 edc_parser&autocomp: Fix double click issue on WindowsOS
Summary:
Enventor window stops responding on double clicking "min" on Windows.
Because of approaching the index in which the cur_context doesn't exist, the crash happens.
*cur_context[] in parser_attribute_get() edc_parser.c

Test Plan:
1. launch enventor on Windows
2. add image using live edit
3. double click "min" on editor

@TSAM-3524

Reviewers: Jaehyun_Cho, Hermet

Differential Revision: https://phab.enlightenment.org/D3972
2016-05-24 11:58:35 +09:00
Hermet Park c77cfc6499 fix eo compilation.
Still eo syntax is unstable, enventor keeps updating its usage.
2016-05-24 11:57:31 +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
Hermet Park ee41674954 fix broken font sizing short cut key.
now enventor object is nothing more than just eo interface.
actual contents are totally moved on items.
we use item interfaces to figure their zones for mouse wheel events.
2016-05-23 14:25:36 +09:00
Hermet Park 1768d6b388 live_edit: improve status message. 2016-05-23 13:54:53 +09:00
Taehyub Kim f0f7e2dfff live_edit: fix the live edit item moving issue
Summary:
if we move a live edit item by direction key, sometimes pixel is increased by 2 pixels.
so I modified it is increaed by 1 pixed when the scale is larger than 1.0

Test Plan:
1. launch enventor
2. click a live edit item using toolbar
3. move the live edit item by direction key
4. check the change of pixel info

@T3473

Reviewers: Jaehyun_Cho, NikaWhite, Hermet

Differential Revision: https://phab.enlightenment.org/D3946
2016-05-23 13:49:41 +09:00
Hermet Park 88286c627c live_edit: fix incorrect align line position.
because the computation doesn't considered scroller bar areas,
the position of the align liner wasn't correct.

this is now fixed.
2016-05-22 23:56:49 +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
Jaehyun Cho 2c0378467c file_browser: Fix not to show file browser if workspace is not set. 2016-05-22 23:00:22 +09:00
Taehyub Kim 4dce517e17 live_edit: remove unnecessary code
Summary:
toolbox object is not used anyware, so I remove it

@fix

Reviewers: Hermet, Jaehyun_Cho, NikaWhite

Differential Revision: https://phab.enlightenment.org/D3964
2016-05-22 20:26:39 +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 f47d613c30 live_edit: add edge attaching effect.
if edge of live edit object is attached to other part's,
outline can be highlighted.
2016-05-20 04:49:24 +09:00
Hermet Park 9c8d91cc18 live_edit: initialize static variables. 2016-05-20 03:05:03 +09:00
Hermet Park 259fa2eebd live_edit: code refactoring.
fix coding convention.
2016-05-20 02:51:54 +09:00
Hermet Park c32e417d5d live_edit: remove margin in the spacer image.
spacer margin should be removed from the image
because live edit needs accruate pixel control.
on the other hands, spacer button icon needs margin.

this implementation is a little tricky but i have no idea better than this.
2016-05-20 00:32:25 +09:00
Hermet Park 9ae16dce31 live_edit: fix broken behavior.
when user clicks live edit button multiple files,
it's conext is corrupted.

clean the resource proeprly and make it work back.
2016-05-19 00:34:52 +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 b6ffc80449 edc_editor: Fix memory leak. 2016-05-18 23:02:55 +09:00
Jaehyun Cho 2fd17c1ed0 file_browser: Fix memory issues.
Fix memory leak and memory double free issues.
2016-05-18 22:08:40 +09:00
Hermet Park 25a34493be remove redundant comments. 2016-05-18 17:46:54 +09:00
Taehyub Kim 7b770ab594 statusbar: update live edit item when view is resized
Summary: update live edit item when view is resized

Test Plan:
1. add a live edit item on live view
2. resize the live view using resize item on statusbar
3. see live edit item is resing well

Reviewers: Hermet, NikaWhite, Jaehyun_Cho

Reviewed By: Jaehyun_Cho

Differential Revision: https://phab.enlightenment.org/D3940
2016-05-18 00:24:53 +09:00
Hermet Park f36abe3d3c edc_edit: code refactoring.
font set for editor should be global.
so, take care of this in enventor object data.

This is a partial change for multiple edc editor.
2016-05-17 23:32:34 +09:00
Jaehyun Cho 11f5ebfd49 edc_parser: Fix warnings. 2016-05-17 18:13:03 +09:00
Jaehyun Cho d299c6cde4 enventor_smart: Fix warnings. 2016-05-17 18:13:02 +09:00
Jaehyun Cho e3b07f998e syntax_color: Fix warnings. 2016-05-17 17:40:11 +09:00
Jaehyun Cho 7f86c01a0c syntax_indent: Fix warnings. 2016-05-17 00:52:25 +09:00
Jaehyun Cho ada36237e9 template: Fix warnings. 2016-05-17 00:41:36 +09:00
Jaehyun Cho e7b8554343 main: Fix warnings. 2016-05-16 23:59:23 +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 754e629b14 live_edit: Fix warnings. 2016-05-16 23:32:50 +09:00
Taehyub Kim 6ba3339d25 template: fix the fixed condition for relative_to
Summary:
fix the fixed condifion for relative_to.
the condition was wrong, so I fixed it.

Test Plan:
1. Launch Enventor
2. Click a Live Edit Item
3. Check fixed_w and fixed_h
4. Insert the Live Edit Item

Reviewers: Hermet, Jaehyun_Cho, NikaWhite

Differential Revision: https://phab.enlightenment.org/D3943
2016-05-16 23:30:26 +09:00
Taehyub Kim afd04c7469 enventor_smart: fix mirror mode for relative_to
Summary:
When we apply mirror mode, we need to considering swap relative_to,
but exist code was not checking null pointer.
so I fixed the logic.

Test Plan:
1. Launch Enventor
2. Apply Mirror Mode
3. Insert a live edit item with relative_set setting

Reviewers: Hermet, Jaehyun_Cho, NikaWhite

Differential Revision: https://phab.enlightenment.org/D3942
2016-05-16 23:28:30 +09:00
Jaehyun Cho 9ab099dd4c edc_navigator: Fix warnings. 2016-05-16 22:55:30 +09:00
Jaehyun Cho 03ffd3a8c4 file_browser: Fix warnings. 2016-05-16 22:45:16 +09:00
Jaehyun Cho 54698e69d9 enventor: Fix eo. 2016-05-16 00:29:02 +09:00
Jaehyun Cho 5268e282d5 file_browser: Set NULL to freed data pointer to prevent double free.
To prevent double free when genlist items are expanded and contracted,
set NULL to freed data pointer.
2016-05-14 19:59:19 +09:00
Jaehyun Cho 2b40c0a170 file_browser: Fix to display refresh button only on workspace.
Previously, refresh button is displayed on all directories.
Now, refresh button is displayed only on workspace directory.
2016-05-14 19:41:35 +09:00
Hermet Park 682d95c1f0 edc_navigator: remove redundant code.
genlit fixed content the re-usage issue.
now this code it no more necessary here.
2016-05-14 19:32:35 +09:00
Hermet Park 96f1fc1c28 update a usage of namingspace for evas object smart. 2016-05-13 00:45:48 +09:00
Taehyub 5194059b40 live_edit: Add new feature about setting relative_to among the exist parts
Summary:
Add new interface feature about setting relative_to to make relationship esaily
between part and part. Now, we can make the relationship using just mouse interface.

Test Plan:
1. launch enventor
2. add live edit item using live edit toolbar
3. drag the item to the another part
4. move a control point that you want to make a relationship to the another part edge
5. and then relative_to ctxpopup is shown
6. select the relative_to item in the ctxpopup
7. insert the live edit item with double click
8. check the inserted code whether it is make relationship or not

Reviewers: Jaehyun_Cho, NikaWhite, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D3936
2016-05-11 21:57:51 +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
Hermet Park 5450bcdf1b file_browser: just comment fixed. 2016-05-08 04:52:33 +09:00
Hermet Park 5c21ca9ba9 file_browser: refactoring internals.
remove unnecessary edc usage.

and don't surprise even though refresh button generation is wierd.
That is about genlist bug and will be fixed there soon.
2016-05-08 04:49:55 +09:00
Hermet Park c20a47bced edc_edit: code refactoring.
toggle option for ctxpopup should be global.
so, take care of this in enventor object data.

This is a partial change for multiple edc editor.
2016-05-08 03:16:46 +09:00
Hermet Park a77f756735 edc_edit: fixed redo undo short cut keys.
there were still wrong implementation. fixed them.
2016-05-08 03:11:04 +09:00
Hermet Park 47bbaf731b edc_edit: fix broken ctrl+z, ctrl+r short-cut key events.
This was introduced from previous patches.
Now initialization point of edit_data is next to the efl lib initialization.
This broke this and now i fixed this with dispatching way.
2016-05-08 02:55:46 +09:00
Hermet Park 512e13a626 redoundo: fix invalid timer usage.
don't access freed timer.

@fix
2016-05-08 02:36:52 +09:00
Hermet Park 0b27ce5474 redoundo: code refactoring.
toggle option for redoundo should be global.
so, take care of this in enventor object data.
2016-05-08 02:34:31 +09:00
Hermet Park e36b84e53d internal changes for supporting multiple editor.
loose the dependency of edc_edit with enventor instance.
2016-05-07 23:14:45 +09:00
Hermet Park 047c9ff238 refactoring for multiple edc editor.
move editor attributes out of edc_edit.
since those attributes should be applied through editors.
2016-05-07 17:35:07 +09:00
Hermet Park ae7f3e30b3 redoundo: do coupling with edc_edit instance.
one redoundo should work with it's owner editor.

This is a refactoring for multiple edc editor.
2016-05-07 04:14:47 +09:00
Hermet Park dc916f0dfe syntax_indent: code refactoring.
1. reuse exisiting strbuf.
2. fix code convention.
3. coupling with editor entry.
2016-05-07 02:58:26 +09:00
Hermet Park fa3dc0cc3a just rename file.
indent -> syntax_indent
2016-05-07 02:32:05 +09:00
Hermet Park fa1d1fc6d7 syntax_color: reorganize internals for multiple edc editor.
place a global syntax color source to share throught editor instances.

This is a partial change for supporting multiple edc files.
2016-05-07 01:46:58 +09:00
Jaehyun Cho 1b5054c1eb file_browser: Disable functions if workspace is not set.
Workspace layout is disabled to disable functions in file browser if
workspace is not set.
2016-05-04 15:10:26 +09:00
Jaehyun Cho b34c637273 file_browser: Add file search function.
If a search word is input, then files which contain the search word in
their file names are displayed.
To show file icons clearly in search mode, file icon images of file
browser are modified.

@T3579
2016-05-04 15:10:25 +09:00
Taehyub Kim 279eea73eb live_edit: add new feature about auto align
Summary:
when we are layouting using live edit item,
It is hart to align the inserting item among the exist parts.
so add auto align feature to align easily.

Test Plan:
1. launch enventor
2. add a live item using the toolbar
3. move and resize the live item in live view
4. check the auto align function when the item near another part

Reviewers: Jaehyun_Cho, NikaWhite, Hermet

Differential Revision: https://phab.enlightenment.org/D3884
2016-05-03 16:53:07 +09:00
Jaehyun Cho cfc55700ce file_browser: Expand current directory only.
Previously, file browser expands all directory hierarchy.
Now, file browser expands current directory only.
Moreover, directory's sub file data is created when the directory is
expanded to support deep directory hierarchy.
2016-05-03 14:47:33 +09:00
Jaehyun Cho 5e4cbcfc9c file_browser: Fix crash that occurs when file does not exist.
ecore_file_exists() returns EINA_FALSE for some cases although the given
file exists. This commit is for the above malfunction cases.
2016-05-03 13:11:23 +09:00
Jaehyun Cho 037f9d4283 file_browser: Apply resource file icons.
Apply edc, image, sound, and font file icons.
2016-05-02 19:45:44 +09:00
Jaehyun Cho a176e619e6 file_browser: Support "Show All Files" function.
By default, file browser shows resource type files only such as edc,
image, sound, and font type files.
If the "Show All Files" check is on, then file browser shows all types
of files.

@T3390
2016-05-02 15:49:14 +09:00
Jaehyun Cho 48fb17f938 file_browser: Change refresh button.
Change the refresh button to an icon button and move it next to the
"Workspace".
2016-05-02 15:49:00 +09:00
Jaehyun Cho f84eeb951e file_browser: Remove "Collections EDC".
Normally collections edc is included in the workspace directory.
Therefore, "Collections EDC" item is removed from the file browser.
2016-05-02 15:48:58 +09:00
Hermet Park 084fbd4b62 add TODO for multiple file editor. 2016-05-01 22:26:12 +09:00
Hermet Park 22fc5a96e5 edc_parser: fix wrong value.
base_scale shouldn't be zero.
2016-05-01 22:07:42 +09:00
Hermet Park 6946d1f715 additional implementation for multiple edc editor.
some missing implementation from bea4735e02.
2016-05-01 22:05:20 +09:00
Hermet Park 3db7a0a7c8 remove EINA_REF
This looks quitely unnecesary. go away from here.
2016-05-01 21:21:40 +09:00
Hermet Park bea4735e02 Change Enventor API.
This is a partial change for supporting multiple edc files.

enventor_object_file_set() -> enventor_object_main_file_set()
2016-05-01 21:16:31 +09:00
Hermet Park e08cc69795 code refactoring
change declarations type of enventor object

from Evas_Object to Enventor_Object
2016-05-01 20:27:08 +09:00
Hermet Park 9c2748d95b code refactoring.
put declarations at proper positions.
2016-05-01 17:31:37 +09:00
Hermet Park c33f835836 live_edit: fix center guide text positioning problem.
This problem looks it just introduced from copy & paste...

@fix T3568
2016-04-28 22:45:20 +09:00
Jaehyun Cho 0f3740630e file_browser: Add refresh button.
When refresh button is clicked, then all directories in file browser are
updated.
2016-04-28 17:51:09 +09:00
Hermet Park 1c21a8538f status: adjust stats msg idle time.
as well as some messages.
2016-04-27 00:03:25 +09:00
Hermet Park d38facff7f edc_editor: fix a broken ctxpopup image relay behavior.
Next image word selection was broken.
so, the selection was a little twisted.
It seems something has been changed in entry.
Anyhow, it's fixed in enventor side. :(

@fix T3258
2016-04-26 23:41:40 +09:00
Hermet Park 8d109970c6 code refactoring.
sanitize duplicated error message code.
2016-04-26 23:13:42 +09:00
Hermet Park e7bc310f1b edc_editor: free used memory. 2016-04-26 22:58:46 +09:00
Hermet Park 99eee8091e ctxpopup: fix a broken ctxpopup image relay behavior.
grab keys to ensure key events.

fix @T3271
2016-04-26 22:18:05 +09:00
Hermet Park d271175953 fix unexpected close on edc navigator.
if edj view failed to load a edj, edje_edit apis will occur crashes.
we could avoid this crash in enventor side.

@fix T3510
2016-04-26 20:39:44 +09:00
Hermet Park e263ffa002 edc_navigator: removed auto contraction option.
I've tried this.
And concluded this is not necessary in point of user experience.
2016-04-25 11:50:26 +09:00
Hermet Park ce9c4ba4e5 edc_navigator: ++safety. 2016-04-23 14:06:28 +09:00
Hermet Park 2b7a8af2ce edc_navigator: fix item contents remaining bugs.
Genlist reuses the contents unintendly.
Definitely, This is a genlist bug
and it looks a side effect of resuable contents feature. :(
2016-04-23 13:53:37 +09:00
Hermet Park 6f9d51e28b edc_navigator: optimize state update logic.
don't need to flush every updation time.
we only update changed states.
2016-04-23 13:27:58 +09:00
Hermet Park a4d4fb748c edc_navigator: support stop all programs.
for this, added one more api, enventor_object_programs_stop()
2016-04-23 13:15:32 +09:00
Hermet Park 97fbb51062 edc_navigator: add play button icon. 2016-04-23 11:43:47 +09:00
Hermet Park 087538ce0c tiny optimization.
sharing enventor string names.
2016-04-23 11:30:36 +09:00
Hermet Park b2cf6c3f48 edc_navigator: support tooltip message. 2016-04-23 11:22:48 +09:00
Hermet Park 955b762ecc edc_navigator: provide a program launch button.
Now launching program by double clicking the program part in the code
is removed! This was not intuitive.
2016-04-22 19:31:07 +09:00
Hermet Park e70197ff49 edc_navigator: don't sorted insert for groups and programs.
I found a genlist has a logical error (probably).
This change avoid that error.
But even programs and groups doesn't need a sorting.
2016-04-22 18:34:02 +09:00
Jaehyun Cho fef19af88e file_browser: Refactorying code. 2016-04-22 18:27:04 +09:00
Hermet Park 0f6a9873ce edc_navigator: deselect an selected item when user focuses on editing. 2016-04-22 17:39:13 +09:00
Jaehyun Cho 12cdcc0ee3 indent: Fix to calculate indent depth after multi line comment.
Previously, if '{' and '}' appear right after multi line comment,
the indent depth for those brackets was not calculated.
Now indent depth for those brackets is calculated correctly.

Test Plan:
1. Launch enventor.
2. Insert a group template. (Ctrl + T after collections)
3. Save the modified EDC.
4. Load the modified EDC.
2016-04-22 16:27:34 +09:00
Hermet Park 386edb7ab5 edc_navigator: store/restore auto contraction mode. 2016-04-22 16:22:53 +09:00
Taehyub Kim 876903f918 template: fix the error of line position when inserting group template
Summary:
fix the error operation of group template insertion.
The line position would be broken after inserting group template.
so I fixed it.

Test Plan:
1. launch enventor
2. insert group template using Ctrl + T
3. check the line position of source code whether it is corrected or not

Reviewers: Hermet, Jaehyun_Cho, NikaWhite

Differential Revision: https://phab.enlightenment.org/D3908
2016-04-22 15:44:18 +09:00
Hermet Park 4ee083fdac edc_navigator: feature extension.
Now this function has an option for auto contraction.

User could choose one of them for their taste.
2016-04-22 15:39:24 +09:00
Hermet Park a8fd04d63f make it compileable.
up to update eo syntaxes.
2016-04-20 23:28:42 +09:00
Hermet Park c139a34f6a console: arrange default console height. 2016-04-18 16:48:17 +09:00
Taehyub Kim c1aae66795 live_edit: support direction key events for moving live edit item
Summary:
before, we cannot move the live edit item using direction key.
now we can modify it using direction key.

@T3356

Test Plan:
1. launch enventor
2. insert a live edit item
3. move the item using direction key

Reviewers: Jaehyun_Cho, NikaWhite, Hermet

Differential Revision: https://phab.enlightenment.org/D3862
2016-04-18 14:04:28 +09:00
Hermet Park 59914e5a9e setting: improve preference gui 2016-04-17 14:27:07 +09:00
Hermet Park 9da3ee6bf5 setting: adjust font style list width 2016-04-17 13:59:53 +09:00
Hermet Park b04b7dde28 setting: refactoring code.
split preference setting code from general setting.
2016-04-17 13:48:35 +09:00
Hermet Park 8f91d45ff1 setting: reorganize setting view. 2016-04-17 13:31:27 +09:00
Hermet Park e6bfbd85c9 setting: code refactoring
internal variable name change.

there are no tabbar in elementary.
2016-04-17 11:12:53 +09:00
Hermet Park 8a837c3b4a setting: code refactoring.
clean up code.

this is one step for setting extension.
2016-04-16 00:52:46 +09:00
Jaehyun Cho 2be4e6c3d3 file_browser: Show workspace directory.
File browser shows workspace directory and its sub files.
Workspace directory is set with argument "-w" and directory path.
(e.g. enventor -w ./workspace)

This commit implements T3389.
2016-04-15 21:06:45 +09:00
Jaehyun Cho ff8136dbf3 file_browser: Add file browser.
File browser shows "collections" main EDC.

This commit implements T3388.
2016-04-15 18:54:02 +09:00
Hermet Park e94c7bdc12 update text & textblock template code 2016-04-15 16:37:25 +09:00
Hermet Park 829e309692 redoundo - remove redundant code. 2016-04-13 21:53:55 +09:00
Mykyta Biliavskyi aa8dc3a8dd Undo/redo: correct work with unicode symbols.
@fix T3420
2016-04-06 15:09:09 +09:00
Jaehyun Cho ff7ca0ee79 indent: Refactoring indentation.
Fix indentation issues by refactoring indentation logic.
2016-04-04 21:03:31 +09:00
Mykyta Biliavskyi 6ab19b2b87 Redoundo: enable smart analyze for a pushed region text.
Manage text blocks, that used for autocomplete feature.
This  commit make possible to undo or redo whole block of text
including user input. For example: user types "col"
and choose "collections" from ctxpopup. In normal mode
of  undoredo module in case of undo action will be left
"col"  text. In smart mode whole block "collections" will be deleted.
2016-04-04 18:01:37 +09:00
Mykyta Biliavskyi 5c95fa6e17 Redoundo: enhance smart functions.
Add support autointendation in smart redoundo.
Undo/redo adding or deleting line  will done in one action.
2016-04-04 16:50:08 +09:00
Hermet Park 9caad87f12 add missing images part in a group template code.
@fix
2016-04-01 16:42:28 +09:00
Taehyub Kim 3b038768f5 template: improve adding template of image resource do not duplicate
Summary:
when we insert image template or live view item,
the template code of image resource will be duplicated.
so, I added the code checking template image resource not to be duplicate

Test Plan:
1. launch enventor
2. add image part twice using ctrl + t or live view item
3. see the images block has an ENVENTOR_EMBEDDED_LOGO.png

Reviewers: Hermet, Jaehyun_Cho, NikaWhite

Differential Revision: https://phab.enlightenment.org/D3851
2016-04-01 16:33:34 +09:00
Hermet Park 09bf899aed refactoring console code.
just rewrite code for readibility.

no logic change.
2016-04-01 16:21:38 +09:00
Taehyub Kim a360601aa4 console: hide unnecessary console error line
Summary:
Actually it is unnecessary error log below the first line.
so I skipped the log

Test Plan:
1. launch enventor
2. make an error
3. see the console log in single line

Reviewers: Jaehyun_Cho, NikaWhite, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D3845
2016-04-01 16:12:20 +09:00
Hermet Park a07d7c0120 reverse live edit coordinates when mirror mode is enabled.
literally, the origin of the coordinates should be reversed on the mirrored mode.
2016-03-29 20:07:46 +09:00
Taehyub Kim d4ea957246 edj_viewer: fix the residual spacer parts when mirror mode is applied
Summary:
When mirror mode is toggled, the position of spacer parts in preview is not changed.
So I added the code to update spacer parts.

@T3367

Test Plan:
1. laucnch enventor
2. added the spacer to preview
3. toggle mirror mode more than two times.
4. see the spacer parts whether it is updated or not

Reviewers: Hermet, Jaehyun_Cho, NikaWhite

Differential Revision: https://phab.enlightenment.org/D3835
2016-03-29 19:41:58 +09:00
Taehyub Kim 6b19c191ac enventor_smart: make the position of live edit item show correctly when mirror mode is applied
Summary:
when mirror mode is applied, the live edit item is added to wrong position.
so I added mirror mode checking to show correctly.

@T3368

Test Plan:
1. launcher enventor
2. enable mirror mode
3. add a live edit item to preview
4. check that the position of the item is right

Reviewers: Hermet, Jaehyun_Cho, NikaWhite

Differential Revision: https://phab.enlightenment.org/D3834
2016-03-29 19:38:54 +09:00
Mykyta Biliavskyi 7a3aff94c3 Enventor smart: create new empty file in file_set.
Fix T3275
2016-03-25 17:22:06 +09:00
Hermet Park 9ed5a70ac8 edj_viewer: refactoring mirror mode code.
simpler and nicer code.
2016-03-25 16:33:38 +09:00
taehyub 3b06354c67 update the mirror mode icon
Summary: update mirror mode icon

Test Plan:
1. launch enventor
2. see the mirror mode icon

Reviewers: Hermet, Jaehyun_Cho, NikaWhite

Differential Revision: https://phab.enlightenment.org/D3830
2016-03-25 15:18:48 +09:00
Hermet Park 5bf8018118 statusbar: adjust statusbar tooltip direction. 2016-03-25 13:45:39 +09:00
Hermet Park ccbf9d65c6 tools: arrange mirror mode tooltip direction. 2016-03-25 13:39:57 +09:00
taehyub df7a9f51f8 tools: support mirror mode
Summary: Added new toolbar item to support mirror mode

Test Plan:
1. luanch enventor
2. toggle mirror mode item of toolbar at the left-top or press ctrl + M
3. see the mirror mode working well

Reviewers: Jaehyun_Cho, NikaWhite, Hermet

Differential Revision: https://phab.enlightenment.org/D3813
2016-03-25 13:30:33 +09:00
taehyub 21ed85b72b syntax_color: improve string syntax color logic
Summary:
If we input the quotation mark("), the code under the mark are changed to gray.
so I changed the limitation from the start of quotation mark to the end of the line.

Test Plan:
1. launch enventor
2. input the quotation mark(") in the middle of the code
3. see the syntax color change range about string syntax color

Reviewers: Jaehyun_Cho, NikaWhite, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D3825
2016-03-25 13:18:06 +09:00
Jaehyun Cho 849c01410c edj_viewer: Check if edj file set is finished.
Check if edj file set is finished and do not call edje_edit functions if
edj file set is not finished.

Test Plan:
1. Open edc
2. Modify edc incorrectly (e.g. Remove semicolon)
3. Save edc
4. Open the saved edc
5. Mouse double click "target" in program.
2016-03-23 23:04:56 +09:00
Yongheon, Shin e20bca7f4f Update dummy part when removing all source code
Summary:
In my opinion, the solution can move the position of update_edj_file_internal(vd) in update_edj_file.
However, I added dummy_obj_update only above failure case of edj load.

Test Plan:
1. Run Enventor and Load basic edc file
2. Select all source code with Ctrl+A and remove them with del or backspace.
3. Check the dummy part

Reviewers: Jaehyun_Cho, Hermet

Subscribers: Jaehyun_Cho, Hermet

Differential Revision: https://phab.enlightenment.org/D3808
2016-03-22 19:04:16 +09:00
taehyub 77b342d619 template_code: remove the image's comment to look better
Summary:
improve the image's template code.
when inserting image's template code,
images block has redundant annotation.

Test Plan:
1. insert image's part using ctrl + t
2. see the images part and check the difference with before

Reviewers: Hermet, Jaehyun_Cho, NikaWhite

Differential Revision: https://phab.enlightenment.org/D3814
2016-03-22 11:01:07 +09:00