Commit Graph

22 Commits

Author SHA1 Message Date
Hermet Park b987e70045 fix memory leaks. 2016-08-04 23:48:50 +09:00
Hermet Park 6780f25ad4 multi-file: redoundo implemtation.
Still a lots of changes required... >.<
2016-07-04 15:09:26 +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 5140ab5c64 code refactoring.
add a common memory fail message routine to reduce string usage.
2016-06-29 20:41:39 +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 e16ff998b1 implementing multi editor support.
this feature will be come gradually...
2016-05-19 00:28:58 +09:00
Hermet Park 512e13a626 redoundo: fix invalid timer usage.
don't access freed timer.

@fix
2016-05-08 02:36:52 +09:00
Hermet Park 0b27ce5474 redoundo: code refactoring.
toggle option for redoundo should be global.
so, take care of this in enventor object data.
2016-05-08 02:34:31 +09:00
Hermet Park 047c9ff238 refactoring for multiple edc editor.
move editor attributes out of edc_edit.
since those attributes should be applied through editors.
2016-05-07 17:35:07 +09:00
Hermet Park ae7f3e30b3 redoundo: do coupling with edc_edit instance.
one redoundo should work with it's owner editor.

This is a refactoring for multiple edc editor.
2016-05-07 04:14:47 +09:00
Hermet Park 829e309692 redoundo - remove redundant code. 2016-04-13 21:53:55 +09:00
Mykyta Biliavskyi aa8dc3a8dd Undo/redo: correct work with unicode symbols.
@fix T3420
2016-04-06 15:09:09 +09:00
Mykyta Biliavskyi 6ab19b2b87 Redoundo: enable smart analyze for a pushed region text.
Manage text blocks, that used for autocomplete feature.
This  commit make possible to undo or redo whole block of text
including user input. For example: user types "col"
and choose "collections" from ctxpopup. In normal mode
of  undoredo module in case of undo action will be left
"col"  text. In smart mode whole block "collections" will be deleted.
2016-04-04 18:01:37 +09:00
Mykyta Biliavskyi 5c95fa6e17 Redoundo: enhance smart functions.
Add support autointendation in smart redoundo.
Undo/redo adding or deleting line  will done in one action.
2016-04-04 16:50:08 +09:00
Mykyta Biliavskyi 02b45c0719 Redoundo: Support the real-time preview when we undo/redo the code.
When user undo or redo change, the edc file will be recompiled and the
live view will be updated. There are two flow: in case if the change is buildable
(i.e. the edc file was builded sucessfuly, when this change happened)
edc file will be recompiled. In case when change marked as unbilduable -
nothing will happen.

@T3051
2016-02-22 18:49:46 +09:00
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
ChunEon Park 97941ff378 Indent: auto indentation when code is pasted.
Summary:
if some edc code is pasted, the indentation could be corrupted.
let's make it fix automatically, even if indentation of
the pasted code is not correct, only when auto indent mode is enabled.

Reviewers: Jaehyun, Hermet

Projects: #enventor

Maniphest Tasks: T2174

Differential Revision: https://phab.enlightenment.org/D2601
2015-06-16 13:36:30 +09:00
ChunEon Park cdab9f0a5d clean up code for supporting dllexport in win32. 2015-02-28 15:13:23 +09:00
ChunEon Park 96d4919a6b enable ENVENTOR BETA API in configure. 2015-02-28 14:50:17 +09:00
Michelle Legrand 05a848fddd lib: add export/import for libraries on Windows
Summary: Exporting/Importing Enventor dll for Win32.

Differential Revision: https://phab.enlightenment.org/D2040
2015-02-28 14:33:18 +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