Commit Graph

1665 Commits

Author SHA1 Message Date
Jaehyun Cho bb012c843e Revert "edc_editor: Prevent auto-scrolling by scroller"
This reverts commit b13596ac2c.

The auto-scroll issue has been fixed by efl update without this patch.
2017-11-24 10:23:12 +09:00
Mykyta Biliavskyi 900330174a Build: apply changes for eo syntax and gfx api.
Due to changes in EO syntax and efl_gfx_* api signature change build was
failed.
2017-09-27 13:25:26 +03:00
YeongJong Lee b13596ac2c edc_editor: Prevent auto-scrolling by scroller
Summary:
scroller had auto-scroll properties.
In detail, when the content of scroller have focus, the scroller scroll top-left
position of the content.

But enventor does not want to auto-scroll.
This prevent it.

Ref : 44e40c7c5e4549e78008eb7b74b6ab1b7e1fcf9d

Test Plan:
1. Open enventor basic template
2. Scroll down
3. click edc_editor

Reviewers: Jaehyun_Cho, cedric

Reviewed By: cedric

Subscribers: jpeg, cedric

Differential Revision: https://phab.enlightenment.org/D4930
2017-07-10 20:33:34 +09:00
YeongJong Lee 8b55d776da redoundo: fix abnormal behavior of smart redoundo
Summary:
1. When delete text
2. When add some separated text on the same line ex) aaaa -> abbaacca
,the smart redoundo is broken

This fixes that bugs

Test Plan:
1. turn on smart redo / undo option
1. add / delete text
2. check that smart redoundo works correctly

Reviewers: Jaehyun_Cho

Reviewed By: Jaehyun_Cho

Differential Revision: https://phab.enlightenment.org/D4880
2017-05-23 10:14:19 +09:00
Jaehyun Cho eb50a89b06 enventor_smart: Fix to not use group_add/group_del functions
group_add and group_del have become evas internal functions according to
the efl commit 55b529cebc113dd66906ce39034299df97a2a2ed.
Therefore, codes inside group_add and group_del move to constructor and
destructor.
2017-05-22 14:38:57 +09:00
Jaehyun Cho 287496b077 text_setting: Fix to set font style by default
Previously, font style was not selected automatically when font name is
selected.
Now, the first font style is selected automatically when font name is
selected.
2017-04-17 17:40:25 +09:00
Jaehyun Cho f911b6067b build: Support edc in path containing space character
Previously, if edc file is located in a path containing space character,
then, edje_cc did not work.

Now, to resolve the above issue, edc file path is treated with double
quotation marks.
2017-03-07 16:37:56 +09:00
Jaehyun Cho e3df617192 search: Fix to move search position in forward search
Previously, if the searched word was located position 0, then the first
search worked but the next search did not work. Because the search
position was still 0.

Now, the search position moves to the end of the searched word if the
search type is forward.
2017-03-02 10:14:24 +09:00
Jaehyun Cho 3ee3c69707 text_setting: Fix to apply font style to text in text setting
Previously, if a font style was selected and then re-open text setting,
the selected font style was not applied to example text in text setting.

Now, the selected font style is applied to example text when text
setting is re-opened.
2017-02-24 17:09:45 +09:00
YeongJong Lee a8a14566c7 refactor key event method
Summary: The key event work well now.

Test Plan:
1. Run enventor
2. Test the shortcut key that use modifiers(<Ctrl>, <Alt>)
3. Check the shortcut work correctly

Reviewers: Hermet, Jaehyun_Cho

Reviewed By: Jaehyun_Cho

Maniphest Tasks: T5146

Differential Revision: https://phab.enlightenment.org/D4620
2017-02-22 15:57:17 +09:00
YeongJong Lee 324454b3cb goto: fix scroll issue
Summary:
Add scroller_region_show method.

fix https://phab.enlightenment.org/T4416

Test Plan:
1. Run enventor
2. Open goto window using shortcut key(<Ctrl> + <l>)
3. type line number
4. check the scroller scroll correctly

Reviewers: Jaehyun_Cho, Hermet

Reviewed By: Jaehyun_Cho

Differential Revision: https://phab.enlightenment.org/D4619
2017-02-02 10:44:01 +09:00
Amitesh Singh 19380a570d fix compilation with efl master.
This fixes following compilation errors
enventor_object.eo:216:7: class 'Efl.Gfx.visible' not found within the
inheritance tree of 'Enventor.Object'

Signed-off-by: Amitesh Singh <amitesh.sh@samsung.com>
2017-01-11 11:07:55 +05:30
Jaehyun Cho cbd28d7fab preference_setting: Modify description for auto indentation.
The short cut key for auto indentation was deleted.
So the description for auto indentation has been modified.
2016-12-01 20:53:58 +09:00
Jaehyun Cho 15fd8149b4 enventor_smart: Fix crash when focused item does not exist. 2016-12-01 20:25:55 +09:00
YeongJong Lee d9cbfba323 edc_navigator: Add dragable bar for edc_navigator
Summary:
edc_navigator can be resized. in order to prevent collision
between edc_navigator and file_browser, limit the size to half each other.

Test Plan:
1. Run enventor
2-1. Drag the bar between text editor and edc_navigator
2-2. Toggle edc_navigator using key F10
3. Check edc_navigator size is saved after restart envertor

Reviewers: Jaehyun_Cho, Hermet

Differential Revision: https://phab.enlightenment.org/D4439
2016-11-30 13:25:56 +09:00
YeongJong Lee c13134d609 file_browser: Add dragable bar for file_browser
Summary: file_browser can be resized.

Test Plan:
1. Run enventor
2-1. Drag the bar between file_browser and live view
2-2. Toggle file_browser using key F9
3. Check file_browser size is saved after restart envertor

Reviewers: Jaehyun_Cho, Hermet

Differential Revision: https://phab.enlightenment.org/D4431
2016-11-29 12:51:29 +09:00
Jaehyun Cho d796f89805 edc_editor: Fix not to append candidate slider values after error code.
When error code is saved, cursor moves to the error code.

This cursor position change causes that candidate slider values are
appended after error code because cursor position moved to error code.
This patch restores cursor position to candidate keyword.

As a result, candidate slider values are always appended after candidate
keyword.
2016-11-25 16:02:17 +09:00
Jaehyun Cho 18bb73f161 edc_parser: Append different string to each candidate list. 2016-11-23 20:50:15 +09:00
Jaehyun Cho c4d60f326a syntax_indent: Insert spaces by tab key.
Previously, tab key causes that both spaces for indent and spaces for
tab are inserted.
Now, tab key causes that either spaces for indent or spaces for tab are
inserted.

If paragraph is shorter than spaces for indent then only spaces for
indent are inserted. Otherwise, only spaces for tab are inserted.
2016-11-23 16:55:56 +09:00
YeongJong Lee 0c47afc9a8 tools: Make tool tabs scrollable
Summary: when some menu is hidden, it's scrollable.

Test Plan:
1. run enventor
2. reduce enventor window size
3. scroll tool tabs

Reviewers: Jaehyun_Cho, Hermet

Differential Revision: https://phab.enlightenment.org/D4418
2016-11-21 11:41:20 +09:00
Hermet Park 25bf63e377 fix eo break.
updated changed eo usage.
2016-11-11 14:20:56 +09:00
Jaehyun Cho 20237248d6 preference_setting: Fix typo. 2016-10-24 14:41:29 +09:00
Jaehyun Cho af4a2e276b Fix eo compilation.
This commit fixes 5dad0ee304
2016-10-19 18:38:54 +09:00
Jaehyun Cho 5dad0ee304 Fix eo compilation.
This commit applies the following efl commits.

evas: Mark group_add/del as internal
evas/elm: Remove function group_move
evas/elm: Remove function group_move
evas/elm: Remove group_show and group_hide
evas: Move clip_unset to legacy, remove group_clip
2016-10-19 18:21:25 +09:00
Jaehyun Cho e69df46f52 setting: Remove redundant tooltip description for "Status". 2016-10-17 21:11:16 +09:00
Jaehyun Cho f3895af390 tools: Fix typo. 2016-10-17 21:08:10 +09:00
Hermet Park 721f69bbd4 fix an incorrect API usage.
Previous api call for directory check is not proper.
Fixed to the proper API.

This was noticed by ecore_file_path_dir_exists() bug fix.
2016-09-30 17:32:29 +09:00
Jaehyun Cho 9376291824 edc_parser: Fix the argument names of the keyword aspect.
The argument names of the keyword aspect are not width and height but
they are min and max.
2016-09-29 09:57:56 +09:00
Jaehyun Cho 52932c6e15 console: Fix to reset console error message. 2016-09-29 07:07:15 +09:00
Hermet Park 5edd1eec8f fix the incorrect API usage.
Previous api call for directory check is not proper.
Fixed to the proper API.

This was noticed by ecore_file_path_dir_exists() bug fix.
2016-09-26 20:11:27 +09:00
YeongJong Lee 6455ac8c27 panes: fix ambiguous variable
Summary:
Position editors,console in horizontal panes and position live view,
text editor in vertical panes.

Test Plan:
1. launch enventor
2. check <Alt> + <Left> command is working well
3. check <Alt> + <Right> command is working well
4. check <Alt> + <Up> command is working well
5. check <Alt> + <Down> command is working well

Reviewers: Jaehyun_Cho, NikaWhite, bowonryu, Hermet

Differential Revision: https://phab.enlightenment.org/D4315
2016-09-26 14:54:07 +09:00
Taehyub Kim db198e8901 search: fix the wrong replace behavior
Summary: fix the wrong behavior of replace logic

Test Plan:
1. launch enventor with basic template
2. open search window
3. input part keyword to the find entry
4. input some text to the replace with entry
5. press next button and find part keyword
6. press replace button again and again until all of keyword are changed
7. check it is working correctly

Reviewers: Jaehyun_Cho, NikaWhite, bowonryu, Hermet

Differential Revision: https://phab.enlightenment.org/D4299
2016-09-19 17:26:44 +09:00
Hermet Park db307a642c preference_setting: fix invalid shortcut key message.
alt + o is no more valid.
2016-09-19 14:33:00 +09:00
Hermet Park 396051ef28 tools: fix a wrong tooltip message. 2016-09-19 14:27:24 +09:00
Taehyub Kim 6ba889ae26 menu: remove unncessary space
Summary: remove unncessary space

Reviewers: Jaehyun_Cho, NikaWhite, bowonryu, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D4265
2016-09-01 20:08:05 +09:00
Taehyub Kim 04957cba70 file_mgr: remove unnecessary space
Summary: remove unncessary space

Reviewers: Jaehyun_Cho, NikaWhite, bowonryu, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D4264
2016-09-01 20:07:37 +09:00
Taehyub Kim 46e3db3392 edc_navigator: remove unnecessary space
Summary: remove unncessary space

Reviewers: Jaehyun_Cho, NikaWhite, bowonryu, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D4263
2016-09-01 20:07:04 +09:00
Taehyub Kim 65e13b5c72 base_gui: apply enventor coding convention
Summary: apply enventor coding convention

Reviewers: Jaehyun_Cho, NikaWhite, bowonryu, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D4262
2016-09-01 20:06:42 +09:00
Taehyub Kim 341b9827e3 text_setting: remove unncessary space
Summary: remove unnecessary space

Reviewers: Jaehyun_Cho, NikaWhite, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D4267
2016-09-01 20:03:33 +09:00
Taehyub Kim 5f2682a792 utils: apply enventor coding convention
Summary: apply enventor coding convention

Reviewers: Jaehyun_Cho, NikaWhite, bowonryu, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D4268
2016-09-01 20:02:52 +09:00
Taehyub Kim 0238ed5162 dummy_obj: apply enventor coding convention
Summary: apply enventor coding convention

Reviewers: Jaehyun_Cho, NikaWhite, bowonryu, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D4269
2016-09-01 20:02:08 +09:00
Taehyub Kim 6b7ec9dcd5 template: remove unnecessary space
Summary: remove unncessary space

Reviewers: Jaehyun_Cho, NikaWhite, bowonryu, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D4270
2016-09-01 20:01:14 +09:00
Taehyub Kim a7329630c3 lib util: apply enventor coding convention
Summary: apply enventor coding convention

Reviewers: Jaehyun_Cho, NikaWhite, bowonryu, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D4271
2016-09-01 20:00:13 +09:00
Hermet Park a7607172bc Revert "Revert "updated eo syntax usage.""
This reverts commit 92e1f996a7.
2016-08-28 01:31:35 +09:00
Hermet Park f1cca70e8d Revert "Revert "wooo.. one more eo change.""
This reverts commit 235bf45929.
2016-08-28 01:31:26 +09:00
Hermet Park 235bf45929 Revert "wooo.. one more eo change."
This reverts commit 9d188e601e.

revert temporarily.
2016-08-28 01:18:28 +09:00
Hermet Park 92e1f996a7 Revert "updated eo syntax usage."
This reverts commit a1cabe509f.

revert temporarily.
2016-08-28 01:18:06 +09:00
Hermet Park 572b48a9f9 edc_parser: fix memory leak.
here redundant code caused memory leak.
remove it.
2016-08-28 00:51:17 +09:00
Hermet Park 626c184817 auto_comp: free the all used memory.
clean logic of lexem_nodes was a little aweful
even it missed chunks of memory.

free all of them perfectly.
2016-08-28 00:06:12 +09:00
Hermet Park c6cff4bef8 fix memory corruption at free time.
That list pointer could be corrupted because
inside of the enventor_item_del(), the list head pointer could be modified.
2016-08-27 23:42:15 +09:00