Commit Graph

1236 Commits

Author SHA1 Message Date
Hermet Park 8aac906c82 Revert "fix the problem of selection cusor moving"
This reverts commit e8ade4e64b.

This patch was not intended :(
2016-02-03 14:06:52 +09:00
Hermet Park c610bebb8d Set focus to the editor when zooming popup is dismissed.
This fixed the after focus image of the zooming popup.
2016-02-03 14:04:41 +09:00
taehyub e8ade4e64b fix the problem of selection cusor moving
Summary:
The selection cursor is moved at the frist
When clicking and moving the bracket using the mouse.
In entry_recover(), there is no selection cursor recover machanism.
So I added the selection recover logic in the function.
Now, it is fixed.

@fix
@T3099

Test Plan:
  1. click the bracket
  2. moving the cursor keeping the mouse clicking
  3. see the fixed result

Reviewers: Hermet, Jaehyun_Cho

Differential Revision: https://phab.enlightenment.org/D3641
2016-02-03 10:36:12 +09:00
Yongheon, Shin 22579bec50 Add keyword feature for base_scale
Summary: When selecting with double-click on base_scale variable, add keyword

Reviewers: Jaehyun_Cho

Subscribers: Jaehyun_Cho

Differential Revision: https://phab.enlightenment.org/D3633
2016-02-02 18:09:44 +09:00
taehyub be94d88921 edc_editor: remove unnecessary code
Summary:
remove unnecessary code in entry_recover function

@fix

Reviewers: Hermet, Jaehyun_Cho

Differential Revision: https://phab.enlightenment.org/D3638
2016-02-02 17:46:36 +09:00
taehyub bf5e38298d edc_editor: fix bracket updateto be called one time
Summary: fix bracket update callback to be called one time

Reviewers: Hermet, Jaehyun_Cho

Reviewed By: Jaehyun_Cho

Differential Revision: https://phab.enlightenment.org/D3637
2016-02-02 17:44:12 +09:00
taehyub 24e012812f edc_parser: move update cb into bracket_thread_end
Summary:
move update cb into bracket_thread_end.
it can cause runtime error when the bracket thread is canceled.

@fix

Reviewers: Hermet, Jaehyun_Cho

Differential Revision: https://phab.enlightenment.org/D3636
2016-02-02 17:39:06 +09:00
Hermet Park 872a79e87d fix incorrect memory allocation.
eina_inarray copies it's element memory when it have them.
we don't need to allocate element memory dynamically to push into it.

@fix
2016-02-02 16:38:51 +09:00
Mykyta Biliavskyi 99155bcbf2 Enhance amount of supported keywords for the autocomplete feature.
Newly added keywords and blocks:
  - Block Proxy for description.
     attributes are supported:
       - source_clip
       - source_visible
  - Block Params for external parts
     attributes are supportd
       - int
       - double
       - bool
       - string
       - choice
  - Block Filter for descriptions.
     attributes are supported:
       - code
       - source
       - data
  - Block Link
  - Support External part type.
2016-02-02 11:22:41 +09:00
taehyub f2cc727146 make group, description and program tempalte code compilable
Summary: make group, description and program tempalte code compilable

Test Plan:
1. insert template code using ctrl + t
2. see the name of the template and checkt the compile error.

Reviewers: Jaehyun_Cho, Hermet

Subscribers: NikaWhite

Differential Revision: https://phab.enlightenment.org/D3613
2016-01-29 16:41:59 +09:00
Hermet Park e381643026 edc_parser: fix build break.
it's a just typo.
2016-01-29 16:10:51 +09:00
Hermet Park 49ee620131 Fix template code inserting.
This is a side effect of this commit e984d2bb4e

@T3107
2016-01-28 19:36:21 +09:00
Jaehyun Cho e984d2bb4e template: Fix incorrect template insertion inside LazEDC block
Since LazEDC block types were not recognized for template insertion,
inserted template type inside LazEDC block was not correct.
(e.g. inside desc { })
Now LazEDC block types are considered for template insertion by Ctrl+T.
2016-01-27 15:14:27 +09:00
Hermet Park 14daddac74 code refactoring.
revise bracket logics which was newly introduced.
2016-01-27 14:27:49 +09:00
Hermet Park ceb2b75a69 updated authors 2016-01-27 13:03:49 +09:00
taehyub ed7e655add edc_editor: add pair of bracket highlighting feature
Summary: when mouse cursor on bracket which are '{', '}', the bracket is highlighted with its pair.

Reviewers: Jaehyun_Cho, Hermet

Reviewed By: Hermet

Subscribers: herb, NikaWhite, Jaehyun_Cho

Differential Revision: https://phab.enlightenment.org/D3588
2016-01-27 13:01:53 +09:00
Hermet Park f9edc4363d removed unused textblock tags. 2016-01-26 00:51:54 +09:00
Hermet Park c79a0aa4e5 about - use entry_file_set() instead of direct file accessing.
This changes enventor makes much simpler to maintaining code.
Additionally, the about file should have been markup format.
Previously, it used to use markup partially so its format was ambigious.
2016-01-25 15:56:20 +09:00
Jaehyun Cho 0c15bde219 edc_parser: Fix to allocate correct size of memory for string.
Allocate one more char memory for the last null character of the string.
This commit fixes the commit 335575eb84.
2016-01-22 21:21:12 +09:00
Hermet Park 3fb96ced83 toggle on the fixed view size forcely,
when user starts to drag the slider to change the view scale.

Enventor assumes user wants a fixed view size
when they try to scale up/down the live view.
2016-01-22 21:00:48 +09:00
Hermet Park 6f4a9b2683 improve menu ui.
removed the prev button.
instead, user can toggle menu screen off, by clicking the dim area.
2016-01-22 20:47:04 +09:00
Hermet Park 4d3c94cf64 code refactoring.
goto_close(), search_close() returns a result in order that the caller decides a next behavior.
2016-01-22 20:22:46 +09:00
Hermet Park 5c23a5b661 code refactoring.
tools_close() returns a result in order that the caller decides a next behavior.
2016-01-22 19:59:37 +09:00
Hermet Park ede00648d9 code refactoring.
remove enventor reference passing. it's avaiable to be globally accessed.
2016-01-22 19:53:32 +09:00
Hermet Park b50dbe2571 code refactoring.
remove enventor reference passing. it's avaiable to be globally accessed.
2016-01-22 19:41:51 +09:00
Hermet Park df29f91476 don't block mouse events.
This part blocks the status's button click.
2016-01-22 19:33:34 +09:00
Hermet Park 8679899045 code refactoring.
remove enventor reference passing. it's avaiable to be globally accessed.
2016-01-22 19:30:29 +09:00
Hermet Park cc2e04fe99 main: update live view scale value after setting is done.
This is a missing code from newly introduced view scale slider
350ee8c413
2016-01-22 19:07:59 +09:00
Hermet Park 4b9dd42839 set slider step size for view scale in setting.
Now slider cursor moves by 0.01.
2016-01-22 19:06:26 +09:00
Hermet Park c2bf98db8e update gitignore. 2016-01-22 18:59:41 +09:00
Hermet Park d4115210da base_gui: remove redundant code. 2016-01-22 18:58:34 +09:00
Hermet Park 350ee8c413 add live view scale slider onto status bar.
@feature
2016-01-22 17:34:32 +09:00
Jaehyun Cho 521d12f4cb edc_parser: Fix array count of aspect_preference. 2016-01-21 19:00:31 +09:00
Jaehyun Cho 5c170bc5a4 edc_parser: Fix to remove unsupported in EDC.
NONE for program action is removed since it is not supported in EDC.
2016-01-21 18:47:57 +09:00
Jaehyun Cho ab32de6337 autocomp: Fix the count of box.items.item's node list.
This commit fix the commit cf1e142364
Fix the count of part.box.items.item's node list as "span" is removed.
2016-01-21 10:06:32 +09:00
Jaehyun Cho 142db7a0f9 autocomp: Fix not to deallocate memory of eet data descriptor.
It does not need to reset eet data descriptor when eet file is opened
again.
2016-01-20 15:02:34 +09:00
Jaehyun Cho 69d892e4e2 autocomp: Fix to replace unsupported cursor mode value.
Currenly, cursor_mode can have only 2 values, UNDER and BEFORE.
Since BEFORE is more commonly used, unsupported cursor mode value
DEFAULT is replaced with BEFORE.
2016-01-14 20:37:20 +09:00
Jaehyun Cho cf1e142364 autocomp: Fix to remove unsupported keywords in EDC.
group.data.file and part.box.items.item.span are not supported in EDC.
2016-01-14 20:32:45 +09:00
Hermet Park d06a07b574 fix the incorrect tooltip positor for tools.
i have no idea when this bug was introduced.
But previously, it worked perfectly.

Anyhow, putting new code for fixing.
2016-01-08 15:27:50 +09:00
Hermet Park ad1dfd99c4 refactoring code.
rename an internal function name.
previous one was so ambigious.
2016-01-08 12:03:39 +09:00
Hermet Park d02d6a2679 remove an unused prototype declaration. 2016-01-08 11:49:32 +09:00
Hermet Park ecff37f1b5 remove redundant code. 2016-01-08 11:48:12 +09:00
Hermet Park 5b0e15daa6 modify spacer output style. 2016-01-06 13:39:04 +09:00
Jaehyun Cho 5120c20d84 Parse macro only if EDC is modified and group name is searched.
Previously, macro was parsed when EDC was changed.
This caused performance issue.
Now, macro is parsed only if EDC is changed and group name is searched.
2016-01-06 13:28:54 +09:00
Jaehyun Cho 335575eb84 Support to use macro as a group name.
Previously, group name was recognized with double quotation marks("").
This makes defined macro cannot be used as a group name.
Now, defined macro is parsed and listed. Macro group name is recognized
from the defined macro list.
2016-01-04 20:23:36 +09:00
Hermet Park e3b5d85e08 ++ enventor config version 2016-01-03 15:51:38 +09:00
Hermet Park 709ec8d24d update authors 2016-01-03 15:47:38 +09:00
Hermet Park 54850ad581 updated NEWS for enventor v0.7.0 2016-01-03 15:45:10 +09:00
Hermet Park 08f68802e8 highlight categories to be more notable.
sorry stehpen, but i have no idea why you moved them.
2016-01-03 15:26:08 +09:00
Hermet Park 3f7e523d39 improve a autocomplete feature.
it should not blow the string queue up.

@fix T2982
2016-01-03 03:56:25 +09:00