Commit Graph

1691 Commits

Author SHA1 Message Date
Vincent Torri f1f92e6abb Build: add meson build system
Test Plan: Compilation, comparison with autotools, and run of enventor (on Windows)

Reviewers: Hermet, raster

Differential Revision: https://phab.enlightenment.org/D12304
2021-11-04 16:47:57 +09:00
Hermet Park 2f2bf09b1a one more missing replacement... 2021-11-04 16:34:00 +09:00
Hermet Park b15117a527 replaced with the compatible focus apis.
ex-apis are not defined anymore.
2021-11-04 16:27:57 +09:00
Vincent Torri 2f8b1063b4 NLS: on Windows, we need to include libintl.h so that NLS functions and macros are declared
Test Plan: compilation

Reviewers: Hermet, raster

Differential Revision: https://phab.enlightenment.org/D12301
2021-11-04 16:07:40 +09:00
Vincent Torri 31aab8115b build: fix compilation on Windows, and fix EAPI on UNIX 2021-10-25 17:45:27 +09:00
Vincent Torri 82754a3419 fix function declaration
Test Plan: compilation

Reviewers: raster, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D12233
2021-02-01 11:19:12 +00:00
Vincent Torri 5712432988 fix some errors when using future meson build system
Test Plan: compilation

Reviewers: raster, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D12232
2021-02-01 11:19:00 +00:00
Vincent Torri cca2d207e6 fix warnings and a missing include
Summary: C functions without parameter should have void. missing inclusion of locale.h for localeconv()

Test Plan: compilation

Reviewers: raster, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D12231
2021-02-01 11:18:51 +00:00
Vincent Torri bfdf844546 Enventor.h.in is useless, there is no substitution. Just use Eventor.h
Test Plan: compilation

Reviewers: raster, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D12230
2021-02-01 11:18:39 +00:00
Vincent Torri 724cd0d040 use eina_strndup() instead of the GNU extension strndup(). Fix also a warning with CreateFile() 2019-09-04 16:17:48 +09:00
Hermet Park 6e01540e31 edc_editor: fix the broken sub file editor if open a new file.
This is a regression bug that introduced the recent removed eolian usage.
2019-08-19 18:11:26 +09:00
Hermet Park 0d1a9621f6 edc_editor: ++safety
don't access null pointer.
2019-08-19 18:11:19 +09:00
Hermet Park 514708d908 get rid of unstable eolian usage - 3,
Now it works, yet has some issues.
2019-08-18 03:08:50 +09:00
Hermet Park 5c52175885 get rid of unstable eolian usage - 2,
Now it's buildable but still not working properly.
2019-08-18 03:07:31 +09:00
Hermet Park 395f127fcd get rid of unstable eolian usage.
a step to make it stable back.
2019-08-18 03:07:26 +09:00
Hermet Park c4e1cab2c0 enventor: return error properly when failed open a file. 2019-02-28 14:07:58 +09:00
Hermet Park 08a9678c1b edc_editor: fix compile warnings.
rearrange data size to avoid possible data overflow.
2019-02-28 13:45:09 +09:00
Hermet Park 42dec185fa edc_editor: polishing code.
put EINA_UNUSED flags for unused parameters.
2019-02-28 13:28:49 +09:00
Hermet Park 60e51fccbe edc_editor: don't access the danling edit object. 2019-02-28 13:26:59 +09:00
Hermet Park 5e87363560 fix build breaks.
Now it's compilable again.
2019-02-28 13:17:26 +09:00
Hermet Park b60ac86c71 fix another build issue. 2018-05-25 16:03:25 +09:00
Hermet Park 7fc50a5eab fix build errors.
Still it has some abi issues. Need to fix them all.
2018-05-25 14:24:30 +09:00
Hermet Park e5f8e3a6a6 enventor_smart: correct indentation. 2018-03-22 17:31:07 +09:00
Hermet Park 983d018642 fix compile errors.
It haven't been managed long time. Make it buildable, first of all, Revenant Enventor.

Still it has some abi issues. Need to fix them all.
2018-03-22 17:15:04 +09:00
Jaehyun Cho e98cd391e6 enventor_object: Fix compile error 2018-01-29 11:34:41 +09:00
YeongJong Lee 973440ef04 edc_editor: Fix the linenumber scrolling
Summary:
Editor line number is scrollable horizontally
This patch fix the line number scrolling

ref T4276

Test Plan:
1. Open enventor
2. Scroll the scrollerbar horizontally in edc_editor
3. check that the line number entry is fixed

Reviewers: Jaehyun_Cho

Maniphest Tasks: T4276

Differential Revision: https://phab.enlightenment.org/D4901
2017-11-30 22:40:14 +09:00
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