Commit Graph

1691 Commits

Author SHA1 Message Date
Taehyub Kim a6b495dc9c envnetor_smart: fix the view resize callback
Summary: fix the view resize callback

Test Plan:
1. launch enventor
2. run group template
3. change the view size
4. change the group
5. change the view size
6. change the group to firxt
7. see the result

Reviewers: Hermet, NikaWhite, Jaehyun_Cho

Reviewed By: Jaehyun_Cho

Differential Revision: https://phab.enlightenment.org/D4208
2016-08-02 22:49:28 +09:00
Taehyub Kim 160f672232 envnetor_smart: keep the each view size
Summary: when group is changed, view information should be updated

Test Plan:
1. launch enventor
2. run group template
3. change the view size
4. change the group
5. change the view size
6. change the group to firxt
7. see the result

Reviewers: Hermet, NikaWhite, Jaehyun_Cho

Reviewed By: Jaehyun_Cho

Differential Revision: https://phab.enlightenment.org/D4207
2016-08-02 22:34:15 +09:00
Jaehyun Cho b32a30bd41 text_setting: Fix not to access unassigned array.
This fixes commit 6bf75f2044
2016-08-02 17:19:14 +09:00
Hermet Park 4468f9283c file_mgr: compare file pathes precisely.
Actually, it needs to compare realpath for files
to confirm to newly open or not.
2016-08-01 19:28:41 +09:00
Hermet Park 6bf75f2044 text_setting: apply lazy style to syntax color template code. 2016-08-01 16:54:52 +09:00
Jaehyun Cho b783c90092 Fix build break on Windows with EAPI. 2016-07-28 14:31:41 +09:00
Hermet Park 3db26261f7 multi-file: support syntax_colors.
a# Please enter the commit message for your changes. Lines starting
2016-07-27 15:37:46 +09:00
Hermet Park 21dac2992c font: don't abuse elementary configuration setting.
Dont' save elementary config in enventor.
It harms the other application config values.
Most of all, it doesn't need it.
2016-07-27 14:10:13 +09:00
Hermet Park 147541a628 help: updated about contents. 2016-07-27 13:00:47 +09:00
Jaehyun Cho 7448325239 help: Remove redundant wrap setting and Change wrap type.
Remove redundant wrap set with argument EINA_TRUE.
Change wrap type from mixed to word.
2016-07-27 10:33:11 +09:00
Jaehyun Cho 2c1b4ed275 reference: Fix incorrect variable types. 2016-07-26 23:13:20 +09:00
Hermet Park b67897a8ca live_edit: add fixed width & height tooltip msg. 2016-07-26 11:46:42 +09:00
Hermet Park 93ae1d6f95 help: code refactoring.
remove unseless lines and add descriptive comments.
2016-07-25 21:13:45 +09:00
Bowon Ryu 0822f1f246 help: updated help.
Summary: GUI composed of the edc layout.

Test Plan:
1. enventor
2. press F1 Key

Reviewers: Hermet, Jaehyun_Cho, herb

Differential Revision: https://phab.enlightenment.org/D4187
2016-07-25 21:09:15 +09:00
Hermet Park 32dbf96259 live_edit: fix broken relative popup.
If a relative part has a long name,
its text will be drawn over the popup box.

Set it's maximum size to prevent this.
2016-07-25 19:21:13 +09:00
Hermet Park 17ba4a2cd3 help: code refactoring.
Replaced bg to image.
Put the bg image resource into enventor theme.
2016-07-25 16:29:20 +09:00
Bowon Ryu 09ea8541bb help: updated help
Test Plan:
1. enventor
2. press F1 Key

Reviewers: Jaehyun_Cho, Hermet

Differential Revision: https://phab.enlightenment.org/D4178
2016-07-25 16:02:08 +09:00
Jaehyun Cho cf92ba7a67 edc_parse: Check more cases to update EDC info correctly.
"#if", "#endif", and "#define" cases are checked to update EDC
information correctly.

This fixes commit 2fc82c79d3
2016-07-22 19:24:33 +09:00
Jaehyun Cho 7def9a7865 edc_parser: Fix to parse "#define" expression correctly.
Update pointer after parsing "#define" expression.
Parse other expressions after parsing "#define" expression.
2016-07-22 19:09:00 +09:00
Jaehyun Cho b8beb179be edc_parser: Parse utf8 text instead of markup text. 2016-07-22 19:00:12 +09:00
Hermet Park 0462d04c0d multi-file: support quick jump (F5)
if you press F5 on "#include xxxx" line,
Enventor will open that include file.

Conflicts:
	src/lib/edc_parser.c
2016-07-22 16:19:46 +09:00
Jaehyun Cho 8b8aa1fdfe edc_parser: Fix to move pointer correctly. 2016-07-22 15:06:24 +09:00
Jaehyun Cho 7331eb0390 edc_parser: Fix to use "\n" instead of <br/> on parsing utf8. 2016-07-22 15:06:23 +09:00
Jaehyun Cho 9edd41ac45 edc_parser: Replace char* to const char*.
Replace char* to const char* because the string is not modified.
2016-07-22 15:02:28 +09:00
Jaehyun Cho 2fc82c79d3 Revert "Support to use macro as a group name."
This reverts commit 335575eb84

Although using macro as a group name is not a common usage, but it takes
a lot of efforts to maintain and implement new features based on this.
2016-07-22 14:32:26 +09:00
Hermet Park cbb7caa834 file_mgr: reset contexts when file focus is moved on.
We need to reset goto, search, live edit even edc navigator context
if the selected file is switched to other.
2016-07-22 13:34:56 +09:00
Thiep Ha 5d1cec3e7b correct returned value of focus_get function.
Function eventor_object_focus_get needs to return
Eina_Bool value.
2016-07-22 11:49:26 +09:00
Hermet Park d0f6bb2e36 syntax_color: improve macro keywords.
Set macro colors to the end of a strcuture,
if the define continues to the next lines with line wrapping.
2016-07-21 21:48:21 +09:00
Hermet Park f18efb732a edc_parser: fix typos. 2016-07-21 21:03:59 +09:00
Hermet Park 32bcf8b985 multi-file: allow to open an empty file. 2016-07-21 20:59:54 +09:00
Hermet Park eda850d9db multi-file: support edc navigator. 2016-07-21 20:53:13 +09:00
Hermet Park 505ea04e28 edc_editor: removed unused var. 2016-07-21 17:31:17 +09:00
Taehyub Kim 5ddaa8dbe5 live_edit: add more condition for min size of live edit item
Summary:
In case of the live edit item has min size without relative to part,
the size of the item should not be changed.
To cover this case, I added more condition

Test Plan:
1. launch envnetor
2. click a live edit item on tools
3. check the fixed option without "relative to" setting
4. insert the item with mouse double click
5. see the min size of the item while the view size is changing

Reviewers: Jaehyun_Cho, NikaWhite, bowonryu, Hermet

Differential Revision: https://phab.enlightenment.org/D4173
2016-07-21 17:25:11 +09:00
Hermet Park 7d88c580e1 goto: fix the go to window closing issue.
When go to window is unfocused, window is closed.
Though this behavior was intended, the functionality was not quite nice.
Even this caused a weired behavior(bug) on windows that,
go to window was closed when it's minimized.

So get rid of this policy!

@fix T3922
2016-07-21 17:13:21 +09:00
Jaehyun Cho 75f33b8f98 reference: Support keyword inheritance.
Support keyword inheritance by using #inherit expression.
(e.g. #inherit "collections.group.parts.part";)
2016-07-21 10:33:29 +09:00
Jaehyun Cho 04b5206d51 reference: Fix memory leak. 2016-07-21 10:30:02 +09:00
Jaehyun Cho 493e0dc0dd reference: Remove unused internal function. 2016-07-21 09:19:14 +09:00
Jaehyun Cho 8b0f1e175e reference: Add comments about how functions work. 2016-07-21 09:15:14 +09:00
Hermet Park 1cfb9985fb file_browser: skip folder items if their names are started with .
On the linux system, A folder, which name is started with . is intended hidden folders.
So skip appending them in default.
2016-07-20 19:43:47 +09:00
Hermet Park 449fa28899 workspace: set workspace path current path in default.
If user don't specify the workspace path,
Enventor set the workspace path to current directory path
while turning off file browser and file tab function in default.
2016-07-20 19:29:39 +09:00
Hermet Park 46fc271678 file_browser: compare file names exactly.
previously, it didn't care the relative paths.
compare file names but file paths exclusively.
2016-07-20 19:12:17 +09:00
Hermet Park f98b075d1e live_edit: add exceptional case.
If the live view size hasn't been set up yet,
live edit won't be functional.

Handles the case then displays the exceptional case message.
2016-07-20 18:59:15 +09:00
Hermet Park 58a1f10608 multi-file: ++implementation.
support live edit function.
2016-07-20 18:52:45 +09:00
Jaehyun Cho a768577e6c reference: Code refactoring to expand functionality. 2016-07-20 18:29:32 +09:00
Hermet Park 63f9dc9dee live_edit: rearrange objects stack.
Previously each live edit components are messed up in stacking.
Restacked by putting wireframe, dummy objects
below live edit object, control points, align lines and texts.

This required a totally hackishy method but there are no other solution so far.

@fix T4026
2016-07-20 15:00:37 +09:00
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
Jaehyun Cho 773b93e792 reference: Support keyword reference in multi-file structure.
Show keyword reference of the focused item entry.
Append "collections" to parent keyword list arbitrary if the focused
item is not the main item.
2016-07-19 21:28:18 +09:00
Jaehyun Cho 44e36e8b69 reference: Fix position of keyword reference layout. 2016-07-19 21:04:40 +09:00
Hermet Park 02a50da5d6 template: fix a invalid coordinates code generation.
fix a side effect of localizing floats.

_posix_fp() uses static stringbuffer.
If this function is called multiple times in printf(),
previous buffer data will be invalid.

we are calling this for x, y twice in one func.
2016-07-19 20:18:12 +09:00
Jaehyun Cho 763d7b2669 reference: Check dot('.') grammar to identify parent keyword.
Check dot('.') grammer (e.g. image.normal) to identify parent keyword.
2016-07-19 19:50:21 +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
Jaehyun Cho f567d51776 reference: Fix to handle one character keyword.
Fix to handle one character keyword such as "x" and "y".
2016-07-19 13:23:26 +09:00
Hermet Park 09f19b7654 multi-file: improve a use case.
hide a previous preview if a new represent file hans't any viewable group.
2016-07-17 00:40:08 +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
Jean Guyomarc'h e910826ade template: don't localize floats in the edje editor
Summary:
Enventor live edit would generate invalid code with
the french locale.
Indeed, french uses a comma (",") as the decimal point,
instead of the dot. With localization enabled, printf()
would automatically localized the floating point,
introducing a comma in the edje code where a dot is
expected...

To avoid this, we now enclose the floats we don't want
to be localized (use the implicit POSIX local: with a dot)
in a function that looks the current locale and replace
the decimal point with a dot.

Test Plan:
(1) Without the patch, call LC_ALL=C enventor and see live
    edit if correct.
(2) Without the patch, call LC_ALL=fr_FR.UTF-8 envetor and
    see live edit generate invalid edje code.
(3) Apply the patch, and repeat steps (1) and (2) and observe
    that both cases now success.

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D4146
2016-07-14 13:58:06 +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 50cb8c7d42 multi-file: highlight a part on current focused item. 2016-07-07 19:06:58 +09:00
Hermet Park d6f61c9963 multi-file: consolidate bodies. 2016-07-07 18:42:13 +09:00
Hermet Park 65a0e198da fix a side effect that missed a main item focus.
this is introduced from c59be9cf1b.
2016-07-07 16:49:14 +09:00
Hermet Park 64bf39cc83 syntax_indent: fix a incorrect parsing.
Current cursor can be moving over by 1.
it occured broken indentation in a template insert corner case.
2016-07-07 16:33:59 +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
Hermet Park 71f261bad4 don't switch font info, if the same font comes.
I didn't dig further, but that corrupted enventor menu/setting.
probably, eina_stringshare ocurred memory corrution...?

anyhow, its useless to apply same font again.

@fix T4013
2016-07-07 13:56:16 +09:00
Hermet Park 0384f50f01 multi-file: find the first group when edc item has a focus.
This properly switchs a current focused item view on realtime.
That means, when user switch files, it will display the first group
view in a new selected file.
2016-07-07 12:03:53 +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 98d798c55c wireframe: quitely, wireframe is just an image. 2016-07-06 13:39:04 +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 3840ab3f5e edc_parser: revert unintentional change. 2016-07-04 15:14:55 +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 e58c6c7600 live_edit: fix a broken functionality.
edc_parser was unintentionally changed while multi-files support.
2016-07-04 13:59:39 +09:00
Hermet Park 4353d98bac multi-file: make multi files work for auto completion. 2016-07-04 13:07:24 +09:00
Hermet Park fb7224f4a9 auto_comp: code refactoring.
added descriptive comments for the main logic of context analysis.
2016-07-04 12:58:07 +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
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