Commit Graph

493 Commits

Author SHA1 Message Date
ChunEon Park c4e3ac89fd tools: renew tools items.
remove new/save/load
add menu
2014-08-11 17:56:33 +09:00
Kateryna Fesyna 80b59d3b15 EDJ Viewer: fix reseting of layout on edc compiling
Summary:
This commit changes the signal that is used to initiate the reset of edj layout:
using of EIO_MONITOR_FILE_MODIFIED sometimes causes calling of edje_object_file_set() earlier than EDC-file compilation is finished.
So, using of ECORE_EXE_EVENT_DEL to track the end of compilation helps to avoid this problem.

Reviewers: Hermet

Reviewed By: Hermet

Projects: #enventor

Differential Revision: https://phab.enlightenment.org/D1306
2014-08-11 17:33:18 +09:00
ChunEon Park b96e83472a redoundo: removed non-body declares. 2014-08-11 16:52:23 +09:00
Mykyta Biliavskyi 848c337493 template: fix generate for names of templates.
Summary: without escaped char '\0' in the end of name, possible generate string with trash at the end. @fix

Reviewers: Hermet

Subscribers: NikaWhite

Projects: #enventor

Differential Revision: https://phab.enlightenment.org/D1303
2014-08-11 16:33:17 +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
Mykyta Biliavskyi 9619ad4f82 redoundo: add limit for maximum depth.
Summary:
Added analysis current depth of queue redo/undo.

Reviewers: Hermet

Reviewed By: Hermet

Subscribers: NikaWhite

Differential Revision: https://phab.enlightenment.org/D1298
2014-08-11 10:59:12 +09:00
Alex-P. Natsios aa8618db16 auto_completion - fix typo for 'relative'
Summary:
Fixes a typo in the completion popup.

relatvie -> relative

Test Plan: try to open a popup that suggests autocompletion for 'relative'

Reviewers: Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D1299
2014-08-11 10:14:57 +09:00
ChunEon Park 0cbf3b38be panes: support top/bottom drag for console. 2014-08-10 18:33:17 +09:00
ChunEon Park 858c2f3001 panes: removed unused. 2014-08-10 17:53:15 +09:00
ChunEon Park 0660e4904a panes: code refactoring.
migrate global variables to structure.
2014-08-10 17:51:02 +09:00
ChunEon Park 7a771f79e2 console: implemented basic infra 2014-08-10 17:46:14 +09:00
ChunEon Park ac1430ded0 build: build with ecore_exe and notify errors. 2014-08-09 20:03:06 +09:00
ChunEon Park d94890555d template_code: rename template texts 2014-08-09 14:52:52 +09:00
ChunEon Park 3eeec96897 ctxpopup: free the resource after use 2014-08-09 14:39:09 +09:00
ChunEon Park 64f7cccd5f template: code refactoring.
spllit out the template functions from edc_editor.
2014-08-09 14:29:51 +09:00
ChunEon Park 56c33ba6aa edc_editor: request edc file mapping all in reading. 2014-08-08 19:59:40 +09:00
Mykyta Biliavskyi 0486a03074 menu: Update window title on creation empty project.
Summary:
empty file creation changes window title.
Sets filepath into title. @fix

Reviewers: Hermet

Reviewed By: Hermet

Projects: #enventor

Differential Revision: https://phab.enlightenment.org/D1287
2014-08-08 18:45:36 +09:00
ChunEon Park 5944f3d4c1 statusbar: improve layout.
improve structure to be customizable.
also, this removes the annoying padding at the end of the group name.
2014-08-08 17:32:46 +09:00
ChunEon Park 072a088a73 menu: adjust some messages. 2014-08-07 23:01:32 +09:00
ChunEon Park 89a65c680c template: refactoring.
revise the code.
2014-08-07 22:32:27 +09:00
Kateryna Fesyna 7d24fc8a3c [EDC-Editor] Make template of parts to use unique names on insertion
Summary:
To create templates with unique name the counter of created parts is added to the Configure Data.
The line with the name of the part is placed in separate template because it is the same for each part template.

Reviewers: Hermet

Projects: #enventor

Differential Revision: https://phab.enlightenment.org/D1278
2014-08-07 21:59:51 +09:00
Mykyta Biliavskyi e9950a2869 redoundo: dismiss text selection after redo/undo action.
Summary: after apply diff from undo/redo queue any text selection in the entry will be dismissed. Fixes T1483  @fix

Reviewers: Hermet

Reviewed By: Hermet

Subscribers: kfesyna

Projects: #enventor

Maniphest Tasks: T1483

Differential Revision: https://phab.enlightenment.org/D1285
2014-08-07 21:58:48 +09:00
Mykyta Biliavskyi 717ad0148e menu: Fix change window title.
Summary: When file saved with new name -  changes title of main window. @fix

Reviewers: Hermet

Projects: #enventor

Differential Revision: https://phab.enlightenment.org/D1286
2014-08-07 21:57:44 +09:00
ChunEon Park e804f00371 edc_editor: update file path on title exactly. 2014-08-07 21:55:13 +09:00
ChunEon Park 48bff46168 edc_parser: support action slider for color2, color3 keywords. 2014-08-07 16:01:59 +09:00
Mykyta Biliavskyi de98785cc4 redoundo: fix cursor position after redo action.
Summary: cursor set after inserted symbol(or string) and shifted left after delete. @fix

Reviewers: Hermet

Reviewed By: Hermet

Projects: #enventor

Differential Revision: https://phab.enlightenment.org/D1284
2014-08-07 15:36:45 +09:00
ChunEon Park 8e1e82c609 dummy_obj: declare a function in the header to be exposed. 2014-08-07 15:34:16 +09:00
Mykyta Biliavskyi 8067dfe916 redoundo: fix cursor position after undo action.
Summary: cursor sets after inserted symbol(or string) and shifted left after delete. @fix

Reviewers: Hermet

Reviewed By: Hermet

Projects: #enventor

Differential Revision: https://phab.enlightenment.org/D1283
2014-08-07 15:28:38 +09:00
Mykyta Biliavskyi 911341c30b edc_editor: fix segfault on last character undo.
Summary:
In case when undone character(s) in entry, was call updating syntax highlight. If entry is empty, then pointer of text  didn't cleared and it was cause segfault in evas_textblock module.
@fix Fixes T1480

Reviewers: Hermet

Subscribers: kfesyna

Projects: #enventor

Maniphest Tasks: T1480

Differential Revision: https://phab.enlightenment.org/D1272
2014-08-07 15:25:26 +09:00
ChunEon Park 925bc6f06e fix shadow, unused build warnings. 2014-08-06 18:02:54 +09:00
Mykyta Biliavskyi 414e604273 indent: enhanced integration with Redo/Undo module.
Summary: in case when was adding or deleting line, will sent changing whitespaces (add/delete) from module "indent"  into undo/redo module. Fixes T1481 @fix

Reviewers: Hermet

Subscribers: kfesyna

Projects: #enventor

Maniphest Tasks: T1481

Differential Revision: https://phab.enlightenment.org/D1274

Conflicts:

	src/bin/indent.c
2014-08-06 17:17:34 +09:00
ChunEon Park ce373ec81f indent: code refactoring.
apply simpler code.
2014-08-06 16:56:53 +09:00
ChunEon Park 0919238358 indent: free the used memory. 2014-08-06 16:52:05 +09:00
Mykyta Biliavskyi 8880e402a4 edc_editor: Fix template text range for undo/redo feature.
Summary: fixed take start position of pasted templates. Fixes T1484 @fix.

Reviewers: Hermet

Subscribers: kfesyna

Projects: #enventor

Maniphest Tasks: T1484

Differential Revision: https://phab.enlightenment.org/D1277
2014-08-06 16:16:49 +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
ChunEon Park ea7ba535e3 redoundo: fixed typo. 2014-08-02 18:39:05 +09:00
ChunEon Park 1a75d9f18e redoundo: remove odd line status updation call. 2014-08-02 18:33:23 +09:00
ChunEon Park bfcc188551 editor: set line number status correctly when edc is empty. 2014-08-02 18:26:14 +09:00
ChunEon Park 9da55623c7 editor: update current line status properly.
put the line updation in the line inc/dec functions to be ensure.
2014-08-02 18:15:22 +09:00
ChunEon Park dfabf9d122 goto: removed a period in the message 2014-08-02 17:58:27 +09:00
ChunEon Park 518f193d1e goto: removed an empty line. 2014-08-02 17:45:09 +09:00
ChunEon Park faa6781753 goto: allow only digits input 2014-08-02 17:40:51 +09:00
ChunEon Park 34919344e4 editor: additional descriptive messages.
display a message when no text to be redoundo.
2014-08-02 17:18:21 +09:00
ChunEon Park e81058d2f8 editor: display redo/undo message. 2014-08-02 16:59:37 +09:00
ChunEon Park 3cd276bc49 editor: update line status when text is changed. 2014-08-02 16:53:06 +09:00
ChunEon Park 950d2943a1 revise redo/undo code 2014-08-02 16:41:24 +09:00
Mykyta Biliavskyi 06695c7c55 Redo/Undo: implementation of redo/undo feature.
Summary:
Add module redoundo.c/.h.
Support:
  -    auto intend feature;
  -    autocomplete feature;
  -    code templates insert;
  -    paste text from buffer;
  -    line delete.

Control keys: Undo - **ctrl+z**; Redo - **ctrl + y**.

Need to implement:
  -    API for setting max size queue of changes.
  -    Smart algorithm for management changes.

Known issues:
 on large text(more than 1000 chars) redo, sometimes text inserted in wrong position;

Reviewers: Hermet

Subscribers: Hermet

Projects: #enventor

Differential Revision: https://phab.enlightenment.org/D1258

Conflicts:

	src/bin/Makefile.am
	src/bin/menu.c
	src/include/Makefile.am
	src/include/common.h
2014-08-02 14:00:55 +09:00
ChunEon Park cb0e70bff9 finished the missed code clean up.
This is an additional code change from this commit.

e592d65053
2014-07-31 22:42:15 +09:00
ChunEon Park e592d65053 code refactoring.
split setting.c out from the menu.
2014-07-30 18:10:18 +09:00