Commit Graph

83 Commits

Author SHA1 Message Date
Mykyta Biliavskyi 6aea530622 Text settings: Add analysis typed text for redoundo feature.
Added cases:
    Analyse auto indention for new lines. It mean, that redo/undo
            line creation will finished by one step.
    Analyse input symbols speed. In case when user writes somethenigi
            and takes a short delay (by default 0.8sec)
            between written symbols - redo/undo action will use this delay
            as point to create new node in redo/undo queue.
    Analyse input symbols on a "words". Ongoing alphabetic symbols
            between nonalphabetic symbols known as
            "word". Redo/undo action will use for a step a whole "word".

In text setting added addition toggle named "Smart undo/redo".
By default this feature is disabled.

Todo: make this feature work with auto intendation.

Prortotype here: https://phab.enlightenment.org/D1288
2015-12-10 10:53:12 +09:00
Mykyta Biliavskyi c6ec131b8d Multilanguage: apply gettext macro to bin/.
Cover all strings with _() macro.
2015-11-17 17:39:22 +00:00
Jaehyun Cho 4e82a3e7ca config_data: Fix to set random output file name.
Currently, output file name is the same as input file name.
This causes an issue when input files which have same names are opened
at the same time.
To resolve the above issue, output file names are set randomly.
2015-09-24 10:03:12 +09:00
Jaehyun Cho 811b10293f config_data: Remove duplicated code. 2015-09-24 08:41:02 +09:00
ChunEon Park c5ccf94fea config_data: create config home folder if it doesn't exist.
previously, user home config folder was not existed,
enventor config file won't be saved.

now, it's fixed.

@fix
2015-08-25 16:24:32 +09:00
ChunEon Park 9bf1c484f7 code refactoring.
replace *edc, *edj to *input, *output
For the general editor, modify them in advance.
2015-07-04 01:18:27 +09:00
ChunEon Park 099b87186f modify zoom behavior.
changed zoom up/down behavior only if view size is set.
it's been quitely useless zoom up/down function without any base size.
2015-06-23 21:30:26 +09:00
ChunEon Park 802d68ff83 config: store/recover the editor panes position. 2015-06-23 14:39:48 +09:00
ChunEon Park ea715444ed remove compile warnings.
remove unused variables.
2015-06-22 15:44:22 +09:00
Mykyta Biliavskyi af56cdb083 Support version fo the enventor config file.
Config data is checked on the versiob of config file.
if the version is lower than current, then don't read
the config data and instead open with default.
On enventor close, config file is rewrited with new data.
2015-06-03 22:52:19 +09:00
Mykyta Biliavskyi 59ec635813 Command arguments: add recognize output file.
If command arguments contain path to file
with ".edj" extension, this file will be used
for store output binary file.

Example:
enventor --id /path/img --fd /path/fnt input.edc output.edj
2015-06-03 16:55:23 +09:00
ChunEon Park ec340a1760 config_data: code refactoring.
just clean up code.
2015-05-27 14:41:40 +09:00
Mykyta Biliavskyi dee12936e3 Config: fill the paths to the resource directories from command line.
Add support multi paths for resource directories as arguments
from command line.

Now support next parameterized arguments:
--id path/ - image directory path,
--sd path/ - sound directory path,
--fd path/ - font directory path,
--dd path/ - data directory path,
--to - open template dialog.

For example:
enventor  --id path_1/ --id path_2/ --sd path_3/ --fd path_n/
2015-05-27 14:36:30 +09:00
Jaehyun Cho 4439ca4d75 text_setting: Add font name/style settings. 2015-03-26 22:00:47 +09:00
ChunEon Park b19304d4c7 Revert "text_setting: Add font name and font style settings."
This reverts commit 74e72e6234.

Conflicts:
	src/bin/text_setting.c

font change is critically buggy.
need to test more and review in detail.
2015-03-01 03:08:18 +09:00
ChunEon Park 5e8f437df5 fix all annoying warnings. 2015-02-27 17:26:02 +09:00
Jaehyun Cho 74e72e6234 text_setting: Add font name and font style settings. 2015-02-27 16:38:55 +09:00
ChunEon Park 12b35145ae bin/live_edit: refactoring code.
Just keep the on/off info in live edit.
enventor doesn't need to keep it in config since it's mode is volatile.
2015-02-16 16:27:42 +09:00
Hermet 04c35e5d8a bin/console: add auto hiding function.
this is for better intellegent console window.

console will be hidden if any error messages are gone.
2015-02-14 18:36:00 +09:00
Hermet d8f471fd02 bin/console: improve the console usage.
show the console with the default size if it's size is 0 when toggle is clicked.
this is improvement for those people who doesn't understand that nothing is happened when console toggle is clicked.
2015-02-14 17:12:32 +09:00
Jaehyun Cho 6c4d881777 newfile: Set temporary path to default edc path by eina_file_mkstemp(). 2015-02-11 22:20:34 +09:00
Jaehyun Cho 899551a20c config: Add config_syntax_color_set()/get() functions.
Add config_syntax_color_set()/get() functions to save and load
2015-02-03 15:21:01 +09:00
Jaehyun Cho d0070eb673 Revert "config: Add config_syntax_color_set()/get() functions."
This reverts commit 2289ad6c03.

This commit is not applied correctly.
2015-02-03 13:47:53 +09:00
Jaehyun Cho e1991b63ff Revert "setting: Add the Text Editor mode in setting."
This reverts commit 799fd32e13.

The previous commit("config: Add config_syntax_color_set()/get() functions.")
is not applied correctly.
2015-02-03 13:46:43 +09:00
Jaehyun Cho 799fd32e13 setting: Add the Text Editor mode in setting.
Add the Text Editor mode in setting by adding text_setting.c.
text_setting.c covers the syntax coloring and the syntax font scaling.
2015-02-03 13:42:12 +09:00
Jaehyun Cho 2289ad6c03 config: Add config_syntax_color_set()/get() functions.
Summary: Add config_syntax_color_set()/get() functions to save and load user syntax color list.

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D1915
2015-02-03 12:00:32 +09:00
Jaehyun Cho 4fd5b2f132 common: Move <Enventor.h> to common header file of application.
Move <Enventor.h> to common.h to let application files include
<Enventor.h> and <Elementary.h> easily by including only "common.h".
2015-02-02 20:10:51 +09:00
Jaehyun Cho 855373f002 main: Keep view size set last time.
Summary:
Keep view size set last time by using "live_view,loaded" enventor callback.
@feature

Reviewers: Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D1745
2014-12-12 19:49:50 +09:00
Jaehyun Cho a4227ef9a4 setting: Add size configuration of Live View
Summary:
Add size configuration of Live View
@feature

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D1667
2014-11-25 21:08:29 +09:00
Jaehyun Cho 06557d3214 config_data: Keep window size set last time
Summary: Keep window size set last time by storing window size in config data

Reviewers: Hermet, seoz

Differential Revision: https://phab.enlightenment.org/D1665
2014-11-14 17:28:03 +09:00
ChunEon Park 8d0622fafe app/config_data: fix wrong pass. 2014-10-31 23:58:19 +09:00
ChunEon Park 5ff7e99169 app/config_data: make compatible with windows.
save temporary edj file in folder which is generated by eina_file_mkstemp()

suggested by adrien.
2014-10-31 23:04:31 +09:00
Jaehyun Cho 99c02fc702 config: Show tool bar of enventor as default
Summary: Show tool bar of enventor as default

Reviewers: Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D1537
2014-10-14 20:46:39 +09:00
ChunEon Park e5927b37eb library support.
current enventor apis are under beta apis.
im notice you these apis could be changed soon.
2014-09-30 23:56:16 +09:00
Jaehyun Cho 9b83fe29b8 confic_data: Fix T1662 to always save edj file in /tmp/
Summary: Fix T1662 to always save edj file in /tmp/

Reviewers: Hermet

Maniphest Tasks: T1662

Differential Revision: https://phab.enlightenment.org/D1462
2014-09-22 10:23:35 +09:00
Daniel Juyung Seo b39ab53ffc config: fixed buffer not null terminated bug.
This fixes coverity CID 47570.
2014-08-23 00:44:34 +09:00
ChunEon Park b3fcaaa7b1 console: keep the previous position even it relaunched 2014-08-14 18:29:53 +09:00
ChunEon Park f6fe9b7955 live_edit: revise the code 2014-08-11 16:32:35 +09:00
Kateryna Fesyna 71c3db0766 Enventor: Prototipe of Drag-n-Drop feature. Patch 1.
Summary:
This commit contains the basic implementation of Live Edit mode.
With this commit Live Edit toggling is added to Menu, Tools and Ctrl-M hot-key.
Activating of Live Edit mode disables the EDC-Editor and allows user to add new parts by selecting corresponding part type in the menu that appears on right click on the EDJ-Viewer area.

Reviewers: Hermet

Projects: #enventor

Differential Revision: https://phab.enlightenment.org/D1276
2014-08-11 13:48:01 +09:00
ChunEon Park 7a771f79e2 console: implemented basic infra 2014-08-10 17:46:14 +09:00
ChunEon Park f986ac38a1 code refactoring.
specify 'void' for void arguments functions to catch up the warnings more intensively.
2014-08-05 15:32:12 +09:00
Jaehyun Cho 93f2148e43 enventor: Add log messages for memory allocation error
Summary: Add log messages for memory allocation error

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D1245
2014-07-28 13:42:14 +09:00
ChunEon Park 515efc710b fixed some memory leaks. 2014-07-19 15:50:40 +09:00
ChunEon Park 3d8ca8112f statusbar - enable in default 2014-07-19 14:45:07 +09:00
ChunEon Park adae9b6fd3 introduce new feature, auto completion. 2014-07-19 13:31:08 +09:00
ChunEon Park e9f59eccf6 config - downgrade config file missing message. 2014-05-12 22:59:26 +09:00
ChunEon Park f06df61b07 code refactoring - use EINA_LIST_FREE() 2014-03-16 04:43:17 +09:00
ChunEon Park 084211579f hotkeys - renames to tools
conceptually, the function is changed.
2014-03-09 01:22:54 +09:00
ChunEon Park 5c68216676 stats/hotkeys - set invisible state as default 2014-03-02 16:57:22 +09:00
ChunEon Park bb22983b4b config - fix the side effect again.
caused by bd0d0008de.

the prefix should not fixed and function name is incorrect.

fixed.
2014-02-18 22:48:15 +09:00