Commit Graph

185 Commits

Author SHA1 Message Date
Jaehyun Cho 02fb416a85 ctxpopup: Fix T1753 (ctxpopup is not closed when esc is pressed)
Summary:
Fix to dismiss ctxpopup when esc is pressed or menu is opened
@fix

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D1631
2014-11-03 12:19:33 +09:00
ChunEon Park 22a39f2d47 app/file_mgr: update missed function delcares. 2014-11-01 18:31:27 +09:00
Jaehyun Cho c31f0f4f0b file_mgr: Fix T1754 (file mgr warning box is not dismissed with esc key)
Summary: Fix T1754 (file mgr warning box is not dismissed with esc key)

Reviewers: Hermet

Reviewed By: Hermet

Maniphest Tasks: T1754

Differential Revision: https://phab.enlightenment.org/D1629
2014-11-01 00:56:56 +09:00
ChunEon Park ed0da0ab10 fix make distcheck errors 2014-10-31 22:24:19 +09:00
Jaehyun Cho 8c68bc9981 file_mgr: Support that an edc is opened by different processes.
Summary: file_mgr: Support that an edc is opened by different processes. Open warning window to synchronize or ignore the edc changes.

Reviewers: Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D1561
2014-10-24 13:21:10 +09:00
Jaehyun Cho f929c7af02 config: Add argument "-to" to open a new file with templates
Summary: Add argument "-to" to open a new file with templates

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D1536
2014-10-14 15:26:42 +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 1d6ef8c9ac globals: Change default file name to use pid as identifier
Summary: Change default file name to use pid as identifier

Reviewers: Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D1394
2014-09-11 15:43:26 +09:00
ChunEon Park 7c23ae8be4 template: insert the textblock styles when template code inserted.
Signed-Off-By: Kateryna Fesyna <k.fesyna@samsung.com>
2014-08-30 18:20:38 +09:00
ChunEon Park b2495c9a8d live_edit: cancel live_edit if edc is reload. 2014-08-15 20:08:01 +09:00
ChunEon Park e120546b97 edc_parser: missed push to previous commit. 2014-08-15 17:56:29 +09:00
ChunEon Park b3fcaaa7b1 console: keep the previous position even it relaunched 2014-08-14 18:29:53 +09:00
Kateryna Fesyna 16d7d8847e Live_Edit: Use template groups as background of new part in Drag-n-Drop mode
Summary: Created new groups to setup as bg for dragable area in Drag-n-Drop mode.

Reviewers: Hermet

Projects: #enventor

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

Conflicts:

	src/bin/live_edit.c
2014-08-13 23:48:49 +09:00
ChunEon Park afbf2db73a template: fix to not insert empty line in editor template insert. 2014-08-13 23:12:51 +09:00
Kateryna Fesyna 478e058200 Enventor: Prototipe of Drag-n-Drop feature. Patch 2.
Summary:
Second patch of Drag-n-Drop feature contains new layout for editing parts relative sizes before insertion.
This patch improves parts templates in order to allow set parts sizes.

Reviewers: Hermet

Projects: #enventor

Differential Revision: https://phab.enlightenment.org/D1309
2014-08-12 11:31:06 +09:00
ChunEon Park 6077d47cab console: eeek. add missed header file. 2014-08-11 21:59:15 +09:00
ChunEon Park 8e89c0f357 console: new feature comes.
This console box displays error messages.
2014-08-11 21:13:04 +09:00
ChunEon Park 0c0e439bb4 panes: refactoring code.
clean up code for maintainance.
2014-08-11 20:17:31 +09:00
ChunEon Park b96e83472a redoundo: removed non-body declares. 2014-08-11 16:52:23 +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
ChunEon Park 0cbf3b38be panes: support top/bottom drag for console. 2014-08-10 18:33:17 +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 64f7cccd5f template: code refactoring.
spllit out the template functions from edc_editor.
2014-08-09 14:29:51 +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
ChunEon Park 8e1e82c609 dummy_obj: declare a function in the header to be exposed. 2014-08-07 15:34:16 +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 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 e592d65053 code refactoring.
split setting.c out from the menu.
2014-07-30 18:10:18 +09:00
ChunEon Park 9d7c89b7b9 added missed a header. 2014-07-19 14:09:59 +09:00
ChunEon Park 1430eb9741 auto_completion - adjust scale value 2014-07-19 13:56:26 +09:00
ChunEon Park 3c0f61b4aa auto_completion - fix indentation 2014-07-19 13:35:35 +09:00
ChunEon Park adae9b6fd3 introduce new feature, auto completion. 2014-07-19 13:31:08 +09:00
ChunEon Park 17db0c8e96 newfile - support double click item selection. 2014-07-12 16:14:16 +09:00
ChunEon Park 70477f47a4 newfile - new feature come.
now user choose a template at new file.
2014-07-10 13:43:55 +09:00
ChunEon Park 4e8e915cbe search - fixed missing of a next word selection.
This is a side effect of partial syntax color updation.
Apply syntax color full updation if search mode is enabled.
and whenever word is replaced, repeat the syntax color full updation again.
2014-06-05 00:50:41 +09:00
ChunEon Park 0cf6bf5b51 goto - added new feature, go to line 2014-06-01 15:35:54 +09:00
ChunEon Park 6104c3cd7f syntax_color: apply syntax_color on only visible text region.
it's really faster than before while editing large text.
2014-05-26 23:35:57 +09:00
ChunEon Park 7e27aeead1 syntax_color: initialize it on the multi-thread. 2014-05-20 16:54:41 +09:00
ChunEon Park 4e015e7678 parser - use inarray instead of inlist.
Since we know the item count is constant, inarray is better than inlist.
2014-05-20 16:37:29 +09:00
Carsten Haitzler eff12796ba show window after filling it with content - then wm can place it properly 2014-05-12 18:04:22 +09:00
ChunEon Park 119733150f parser - removed unused function. 2014-03-16 18:34:41 +09:00
ChunEon Park 07e824bb79 parser - initialize on a different thread.
since the parser initialization task is getting bigger and bigger,
do it with a separated thread to reduce enventor launching time.
2014-03-16 18:29:58 +09:00
ChunEon Park 669615475e ctxpopup - support program candidates list 2014-03-16 12:43:25 +09:00
ChunEon Park f61c99539a ctxpopup - support image candidate list. 2014-03-16 12:31:08 +09:00
ChunEon Park 56cab4a95c ctxpopup - support part candidates list. 2014-03-16 04:36:33 +09:00
ChunEon Park a098df0ad7 ctxpopup - code refactoring.
use the enum type for the  candidate types extension later.
2014-03-16 00:59:02 +09:00
ChunEon Park 7919f98111 editor - fix the group switching bug.
previuosly the group switching would be done only when part highlight is enabled.

now, it tries group switching regardless of the part highlight
2014-03-15 16:23:18 +09:00
ChunEon Park 5a4d2baaf3 newfile - open real "new" template code when NEW file is requested.
previously, it doesn't open a new template code but modified one.
now it's fixed.
2014-03-13 03:54:03 +09:00
ChunEon Park edbf669979 enventor - on implementing line deletion. 2014-03-10 02:15:31 +09:00
ChunEon Park 084211579f hotkeys - renames to tools
conceptually, the function is changed.
2014-03-09 01:22:54 +09:00
ChunEon Park a565c48f24 statusbar - updated statusbar
reset shortcut key from f6 to f10
refactored internal function.
2014-03-09 01:12:28 +09:00
ChunEon Park 60a74d4676 hotkeys - redesign ui.
migrate toggle key to setting menu
2014-03-09 01:05:26 +09:00
ChunEon Park dc3ce7be3f hotkeys - redesign ui 2014-03-08 22:55:48 +09:00
ChunEon Park 32cc7c4d8b search - retouch the ui 2014-03-08 13:23:26 +09:00
ChunEon Park de8164bcb9 search - on implementing. 2014-03-02 13:34:22 +09:00
Daniel Juyung Seo e39f8674d3 editor - added missing function declaration. 2014-03-01 23:53:54 +09:00
ChunEon Park dd135280f6 search - implementing the gui 2014-02-28 02:45:49 +09:00
ChunEon Park 8835f7117c search - added missed header file. 2014-02-28 01:06:37 +09:00
ChunEon Park fb1b4d861f search - on implementing search function. 2014-02-26 10:36:53 +09:00
ChunEon Park 9178443524 search - start to implement search/relace 2014-02-22 15:24:53 +09:00
ChunEon Park cb7c6f085f ctxpopup - adjust button size in the slider. 2014-02-22 13:53:26 +09:00
ChunEon Park c55c717404 base_gui - fixed mismatched func prototype declaration. 2014-02-06 14:52:36 +09:00
ChunEon Park 0e7f161e9d removed void delcaration as the parameter.
It doesn't mean that i don't agree on this.
But for code consistency i removed.
2014-02-05 20:27:03 +09:00
Daniel Juyung Seo 9262556d4e enventor - fixed all the build warnings and errors from refactoring commit. 2014-02-05 09:55:38 +09:00
ChunEon Park d72b0756d2 edj_mgr - refactoring.
removed edj_mgr instance handling outside of the edj_mgr.
edj_mgr is also singleton instance.
don't need to handle the instant unnecessarily.
2014-02-04 22:20:40 +09:00
ChunEon Park 542e2a9075 enventor - code clean up.
hide data types as possible.
2014-02-04 21:48:06 +09:00
ChunEon Park 29e4aa94c6 panes - refactoring.
it's now singleton style.
only base gui access this panes internally.
2014-02-04 21:37:49 +09:00
ChunEon Park 79eb7b7f88 modify gui.
display file path on the window title not on the statusbar.
2014-02-04 17:55:56 +09:00
ChunEon Park afb618365a refactoring.
Added base_gui for handling basic window, layout and panes so that other files refer them.
2014-02-04 17:20:39 +09:00
Daniel Juyung Seo 7c5c7dd999 enventor - fixed build warnings. 2014-02-03 20:34:33 +09:00
ChunEon Park efab2b76a1 menu, config - hide internal structure type since they are private.
affected by these patchs

4fcf8eaef7
9af9369c79
2014-01-30 12:28:07 +09:00
ChunEon Park 3aefa8ff8a hotkeys - add a trigger button for hotkey gui enable/disable 2014-01-30 12:18:31 +09:00
ChunEon Park faf6a5f803 hotkeys - enable f5, f6 hotkeys. 2014-01-30 03:17:59 +09:00
ChunEon Park 4fcf8eaef7 config - got rid of config instance handling outside of the config_data scope.
count config as a singletone instance also.
since we won't handle multiple configs in the enventor.
2014-01-30 02:45:10 +09:00
ChunEon Park f2e4f53c59 menu - don't need to return menu instance anymore.
menu is handled globally with the singleton way.
2014-01-30 01:19:29 +09:00
ChunEon Park 9af9369c79 refactoring - got rid of menu instance handling.
count menu as a singleton instance.
since we can not image multiple menus in the enventor.

now code is getting simpler.
2014-01-30 01:15:33 +09:00
ChunEon Park 39fb929aeb fix build break -- oops missed files.
added them all.
2014-01-29 22:29:45 +09:00
ChunEon Park 4542644e81 implementing hotkey menu 2014-01-29 22:28:02 +09:00
ChunEon Park 3024ee6cca refactoring - removed menu_opened variable from the main.
it's duplicated variable to require sync.
menu itself keeps the menu_open status.
2014-01-29 21:56:29 +09:00
ChunEon Park 92ed6d5e65 keep the current view scale even if new views are come. 2014-01-29 15:42:30 +09:00
ChunEon Park 6ab7716874 apply gui to set the view scale in the option menu. 2014-01-28 15:22:26 +09:00
ChunEon Park 867c6bf2ed support view scale factor change.
use ctrl + mouse wheel up/down
2014-01-27 01:21:02 +09:00
ChunEon Park 61c8e00df6 enventor - specify the file lists those are included.
now make distcheck could be finished successfully.
2013-11-09 15:28:43 +09:00
ChunEon Park 303bd779e1 enventor - no more support theme change.
now enventor works only on the dark theme based.
2013-10-18 13:41:47 +09:00
ChunEon Park bc4cf45aaf enventor - refactoring code for build system. 2013-09-29 00:13:52 +09:00
ChunEon Park 414186a9d7 enventor - support theme change in the option
but panes bug eeeeek.
2013-09-24 02:29:46 +09:00
ChunEon Park 609cc9cb59 enventor - support dark theme 2013-09-20 20:21:51 +09:00
ChunEon Park 537f757ba9 enventor - fix crash to group switching. 2013-09-19 23:39:40 +09:00
ChunEon Park ba716569c2 enventor - support group template code 2013-09-19 22:51:19 +09:00
ChunEon Park 6fe5a10817 enventor - clean the views when new edc file is loaded. 2013-09-19 21:42:42 +09:00
ChunEon Park fb01285232 enventor - kill the views after caching time is passed. 2013-09-19 18:52:30 +09:00
ChunEon Park eb38a5da4d enventor - applied view switching effect. 2013-09-19 17:44:51 +09:00
ChunEon Park b7e9a629e3 enventor - fix incorrect line decrease 2013-09-16 00:22:15 +09:00
ChunEon Park af51d199ec enventor - improving auto indentation. 2013-09-15 22:44:04 +09:00