Commit Graph

1646 Commits

Author SHA1 Message Date
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
Hermet Park c0942cd60a editor: removed a fixed 1 0; warning. 2016-03-29 08:35:19 +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
taehyub d0db6015e3 template: change the template code of basic.edc
Summary:
It is better the image resource block is in the group.
so I moved the block into the group in basic.edc

Test Plan:
1. launch enventor
2. create new file as basic
3. see the image resource block in group

Reviewers: Jaehyun_Cho, NikaWhite, Hermet

Differential Revision: https://phab.enlightenment.org/D3816
2016-03-24 21:38:07 +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
Yongheon, Shin 41a320bc89 (T3274) Fix Crash issue when removing all code in edc editor
Summary:
- When calculating the position of cursor, the code cannot get group information.
  So, if we cannot get group information including position, add blocking code.

Test Plan:
1. Open Enventor
2. Remove all code after selecting with Ctrl+a
3. Click any part in edj editor

Reviewers: Hermet, Jaehyun_Cho

Subscribers: Jaehyun_Cho, Hermet

Differential Revision: https://phab.enlightenment.org/D3804
2016-03-18 18:04:15 +09:00
Jaehyun Cho 99b9790146 live_edit: fix malfunction of key input on Windows system.
re-implement live edit key input by using key grab mechanism.
This commit is based on commit 502a826599.

@fix
2016-03-17 20:07:06 +09:00
Jaehyun Cho eb1f95d02c edc_editor: Fix to allocate memory including null character '\0'.
Without this patch, crash sometimes happens when preview part is clicked
on Windows.
2016-03-17 17:55:57 +09:00
Jaehyun Cho e940639079 indent: Check '\r' when indented code line is created on Windows.
On Windows, new line is represented as "\r\n".
Therefore, '\r' is checked when indented code line is created.
Otherwise, unnecessary newlines are inserted after indentation on
Windows.
2016-03-17 15:41:27 +09:00
Yongheon, Shin 842341bea2 [T3267] improve part name for more formal naming rule
Summary:
Current generated part name from the live edit is too unfamiliar with users.
We need to improve for more formal naming rule like,
ex) rect_xxxx
    image_xxxx
    swallow_xxxx

Test Plan:
1. Open Enventor
2. Add rect, image, swllow, text, textblock, spacer

Reviewers: Hermet, Jaehyun_Cho

Reviewed By: Jaehyun_Cho

Subscribers: Jaehyun_Cho, Hermet

Differential Revision: https://phab.enlightenment.org/D3793
2016-03-17 14:38:28 +09:00
Hermet Park d23793101b statusbar: fix view sizing issue when an invert button is clicked repeatedly.
previously, the button was available even if the inverting animation was going
on. This caused the corruption view size because of context loss.

We could avoid this issue by freezing button when transition is going on.
2016-03-16 21:27:04 +09:00
Hermet Park 18ca260c1a edc_navigator: fix the editor cursor jump issue.
Skip a group selection callback because it leads the editor cursor jump on to
the group area. But this group updation could be triggered in a various
scenario. The cursor should be jumped only when user clicked a group item
in the genlist.
2016-03-16 20:02:32 +09:00
Mykyta Biliavskyi 397821a3a4 Layout: change behaviuor for hide edc_navigator swallow object.
When edc.navigator swallow is hidden it placed outside main markup.
2016-03-16 14:55:37 +09:00
Hermet Park 5c40f9b8f6 remove broken theme extension code.
redundant code were remained uselessly.
these were catched by edje error logs.
2016-03-16 13:02:43 +09:00
Jaehyun Cho 227b549805 Revert "Revert "Revert "edc_editor: Support auto save to update preview."""
This reverts commit a3185bc64b.

Apply auto save in the future after resolving side effects.

Conflicts:
	src/lib/edc_editor.c
2016-03-16 11:30:41 +09:00
Jaehyun Cho 8935ac45a5 Replace elm_app_name_get() with "enventor" for Windows.
On Windows, elm_app_name_get() returns "enventor.exe".
To set "enventor" style, elm_app_name_get() is replaced with "enventor".
2016-03-14 17:19:13 +09:00
Jaehyun Cho f26e60d624 indent: Fix to paste a word at correct position.
Do not apply indentation when pasted string does not contain keywords
which cause a new line. (e.g. string not containing ';')

Test Plan:
1. Open basic.edc
2. Copy "default"
3. Paste at the same position.
2016-03-14 15:13:36 +09:00
Jaehyun Cho fa76bf2aee setting: Fix edc navigator toggle to work.
When Apply button is clicked, state of edc navigator toggle is applied.
When Reset button is clicked, state of edc navigator toggle is restored.
2016-03-14 14:15:56 +09:00
Hermet Park d77d8f7a50 + syntax color keywords 2016-03-12 15:17:44 +09:00
Tom Hacohen 0e03164b68 Revert "fix the build break that introduced by eo syntax change."
This reverts commit 986663f5ed.
2016-03-11 12:42:09 +00:00
Hermet Park 986663f5ed fix the build break that introduced by eo syntax change. 2016-03-11 17:38:36 +09:00
Hermet Park d2d0b8c33b updated po 2016-03-11 17:38:27 +09:00
Hermet Park 498c1259eb Revert "Revert "Fix to apply Eo4.""
This reverts commit e67a1d1607.

0.8.0 was released. revert this again.
2016-03-08 16:53:27 +09:00
Hermet Park 3869e9acc8 Revert "Revert "editor: don't auto save always.""
This reverts commit aa6607c616.

0.8.0 was released. revert this again.
2016-03-08 16:53:13 +09:00
Hermet Park a3185bc64b Revert "Revert "edc_editor: Support auto save to update preview.""
This reverts commit b663d049db.

0.8.0 was released. revert this again.
2016-03-08 16:52:34 +09:00
Hermet Park 5cc7bc4770 fix makedist failure.
include missing resources.
2016-03-08 16:34:21 +09:00
Hermet Park b663d049db Revert "edc_editor: Support auto save to update preview."
This reverts commit 509b9bd628.
2016-03-08 10:17:25 +09:00
Hermet Park aa6607c616 Revert "editor: don't auto save always."
This reverts commit 3a2c08e6c5.

Revert this temporarily for release enventor 0.8.0
2016-03-08 10:16:55 +09:00
Hermet Park e67a1d1607 Revert "Fix to apply Eo4."
This reverts commit b656f774d9.

Revert this for enventor 0.8.0 release.
2016-03-08 10:16:04 +09:00
Hermet Park 8f53a8d9cf indent: free code line resource properly. 2016-03-07 23:42:10 +09:00
Hermet Park 55987e5774 edc_parser: fix one more memory leak. 2016-03-07 23:26:00 +09:00
Hermet Park f760fd4144 edc_parser: go away memory leaks! 2016-03-07 23:22:22 +09:00
Hermet Park 79f10753fe edc_editor: one more memory leak :( 2016-03-07 22:55:34 +09:00
Hermet Park ce3b32741d edc_editor: free string memory after use them. 2016-03-07 22:53:51 +09:00
Hermet Park 135af1a13f console: free memory after used it. 2016-03-07 22:41:31 +09:00
Hermet Park 8500ebbb80 indent: add a comment to be fixed. 2016-03-07 22:35:53 +09:00
Hermet Park 442c22e28a edc_parser: remove memory leak. 2016-03-07 22:30:16 +09:00
Hermet Park 9b48678c70 dummy_obj: don't allocate memory if the object is invalid. 2016-03-07 22:28:57 +09:00
Hermet Park f26a4db691 edc_editor: free string resources after it used. 2016-03-07 22:22:31 +09:00
Hermet Park c03187f3cd panes: free all transits when enventor is terminated. 2016-03-07 22:14:45 +09:00
Hermet Park 160489f60e updated AUTHORS 2016-03-07 21:52:52 +09:00