Commit Graph

1893 Commits

Author SHA1 Message Date
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 10fcefe123 fileselector: fixed a fixed 0 1 warning. 2016-04-20 23:33:01 +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
Jaehyun Cho e68d886937 templates: Remove newlines at the end of EDC template files.
EDC template files were created by vim and vim produces newlines at the
end of files. This causes an unexpected newline at the end of loaded EDC
template files.
This commit fixes T3429.
2016-04-18 14:25:13 +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
Hermet Park 3beb93cf26 live_view: replace bg image. 2016-04-15 20:23:35 +09:00
Hermet Park c8f5b31b6f edc_navigator: improve icon quality. 2016-04-15 19:32:23 +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 cbf12e2a80 replace swallow icon 2016-04-15 16:58:10 +09:00
Hermet Park e94c7bdc12 update text & textblock template code 2016-04-15 16:37:25 +09:00
Hermet Park 8b28c062d9 devel version is always higher than released version of enventor.
by doing this, your enventor could work with enventor libaries of devel version.
2016-04-14 19:31:52 +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
Hermet Park c0942cd60a editor: removed a fixed 1 0; warning. 2016-03-29 08:35:19 +09:00