Jaehyun Cho
0aef6bd397
templates: Change image file names.
2015-08-12 11:20:37 +09:00
Vincent Torri
8abd0ef514
Fix warning on Windows 64 bits
2015-07-31 16:07:57 +09:00
Vincent Torri
cd7023ecc9
Use eina_environment_home_get() instead of getenv("HOME") for portability
2015-07-31 16:07:14 +09:00
ChunEon Park
fedcfd3149
text_setting: one more here code refactoring.
...
err is enough to use.
2015-07-10 20:13:12 +09:00
ChunEon Park
c25eb038b3
text_setting: code refactoring.
...
err is enough to use.
2015-07-10 20:10:37 +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
6b6f4b19c1
main: code refactoring.
...
don't keep temporary variable.
2015-07-03 23:01:22 +09:00
ChunEon Park
8ef03ee90c
newfile: code refactoring.
...
return function as soon as possible.
2015-07-03 22:41:11 +09:00
ChunEon Park
e9f258a839
notify file changed popup correctly.
...
Current implementation has logical hole that skips the notification of file changes first time.
We fix this even if it depends on the time thresholds.
New implementation will skip the file changes also but
it will only skip, if the file change is happened again under 2 seconds.
2015-07-03 20:24:05 +09:00
ChunEon Park
fe2ad1f07b
change Enventor_Path_Type interface.
...
changed names for enum value consistency.
2015-07-01 12:04:48 +09:00
ChunEon Park
92c09a0a39
ctxpopup: support dramatic updation for live view.
...
a little slow, but it's better than before.
added smart callback, @live_view,updated
renamed smart callback, @ctxpopup,selected -> @ctxpopup,changed
2015-07-01 01:25:04 +09:00
Mykyta Biliavskyi
9cc1fb443e
Correct handling ecore key modificators.
...
Summary: Macro EVENT_KEY_MODIFIER_CHECK_OR_RET provide possibility to check, if only one modifier pressed.
Reviewers: Hermet
Projects: #enventor
Differential Revision: https://phab.enlightenment.org/D2759
2015-06-26 13:49:43 +09:00
Mykyta Biliavskyi
43554348a4
Change the file save policy.
...
Summary:
In case when inputted file name does not contain
"edc" or "edj" extention, ".edc" will be added automaticaly.
T1784
Reviewers: Hermet
Projects: #enventor
Maniphest Tasks: T1784
Differential Revision: https://phab.enlightenment.org/D2760
2015-06-26 13:44:38 +09:00
ChunEon Park
3c31b1661e
tools: update tooltip message
2015-06-24 15:38:20 +09:00
Jean-Philippe Andre
83012a0a04
Editor zoom: Ctrl + wheel should work even with numlock
...
When checking the modifiers, only ALT, CTRL, WIN and SHIFT make
sense in this context.
2015-06-24 15:30:34 +09:00
ChunEon Park
786fef138c
cancel live edit if the about is activated.
2015-06-24 15:26:00 +09:00
ChunEon Park
9342835f3d
live_edit: update live edit on scrolling.
2015-06-24 15:24:32 +09:00
ChunEon Park
56816ab1f4
live edit: don't clip by symbol layout but live view.
...
texts/control points don't need to be clipped by symbol layout.
if the zoom level is enoughly small and there is enough space to
display the control points and text, then we can display them.
2015-06-24 15:11:44 +09:00
ChunEon Park
9615d308ec
menu: fix wrong grammar
2015-06-24 14:47:27 +09:00
ChunEon Park
9c0cf02039
update warning button text.
...
save/yes/no -> save/discard/cancel
2015-06-24 14:43:39 +09:00
ChunEon Park
ca8c53e073
revise description of live view.
2015-06-24 13:37:31 +09:00
ChunEon Park
7e31de5ce3
menu: removed tooltips from menu buttons.
2015-06-24 13:31:20 +09:00
Mykyta Biliavskyi
533994772f
Fix compiler warnings.
...
Fix -Wuninitialized flag warnings.
2015-06-24 13:12:20 +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
6d72ca9e4b
live_edit: ... fix live edit scaling issue.
2015-06-23 21:29:41 +09:00
ChunEon Park
802d68ff83
config: store/recover the editor panes position.
2015-06-23 14:39:48 +09:00
ChunEon Park
9dd9e0d9eb
live_edit: support zoom on live editing.
...
previously, it doesn't care the view zooming on live editing.
now it's working perfectly.
2015-06-23 13:14:11 +09:00
ChunEon Park
61d7acca06
live_edit: use ELM_SCALE_SIZE() for scalability.
2015-06-23 11:20:01 +09:00
ChunEon Park
f7bb26e9b1
live_edit: fix focus highlight floating issue.
...
After selecting a live view edit item,
the item focus highlighting is remained there.
Now it's fixed by moving the focus to live view.
2015-06-23 10:28:25 +09:00
ChunEon Park
772ffe2229
live_edit: fix regression bug that introduced in 14a0e2cfd2
...
toggling context is corrupted but recovered again.
2015-06-22 22:50:22 +09:00
ChunEon Park
14a0e2cfd2
tools: improved ui.
...
add click / toggle on/off effect.
2015-06-22 22:45:40 +09:00
ChunEon Park
11e5dba045
code refactoring.
...
remove duplicated logics wrt function toggles.
this is the precede work for improving tools gui.
2015-06-22 18:25:48 +09:00
ChunEon Park
ea715444ed
remove compile warnings.
...
remove unused variables.
2015-06-22 15:44:22 +09:00
Mykyta Biliavskyi
02af80d3ba
Hotkeys: fix work ctrl_l key with num lock.
...
Summary: Need to check CTRL_L and ALT_L bits in ECORE_EVENT_MODIFIER
Reviewers: Hermet
Differential Revision: https://phab.enlightenment.org/D2722
2015-06-22 14:49:17 +09:00
Mykyta Biliavskyi
5b3aa7ca3b
Autocomplete: show list of the candidates by Ctrl+space.
...
Summary:
By press ctrl_l+space will be shown popup with the candidates list,
that relevant to current cursor position.
Added API enventor_object_auto_complete_list_show as public.
Reviewers: Hermet, jpeg
Maniphest Tasks: T2496
Differential Revision: https://phab.enlightenment.org/D2720
2015-06-22 14:34:52 +09:00
ChunEon Park
82d31b3418
fix the font/live zoom control issue.
...
When you focus on other window while you pressing the ctrl/alt key at the enventor,
the ctrl/alt key pressed context can be corrupted.
because enventor keeps the extra flag for ctrl/alt key press states.
but in the problem case, the unpress key won't be trigged.
enventor doesn't need to keep the extra flag but track the modifiers in key event.
@fix
2015-06-12 17:03:45 +09:00
ChunEon Park
5b7bdd95ba
change the short-cut key usage.
...
previous panes toggle is triggered by ctrl + arrow keys.
But editor itself uses ctrl key for cursor move/jump.
To conserve the cursor key, we change the panes short-cut.
Thanks jpeg to report this.
2015-06-11 17:19:52 +09:00
ChunEon Park
08c9ddeecd
don't clip the tooltip in tools.
...
i guess, since the tooltip has been changed recently,
it's behavior changed a little.
because of this, tooltip in tools got clipped outside of the viewport.
Anyhow it's fixed.
@fix
2015-06-11 16:45:09 +09:00
ChunEon Park
d8bac599a7
removed template code insert feature.
...
now enventor supports inserting part with live view editor,
i don't think this is required in enventor anymore.
2015-06-11 16:39:26 +09:00
Mykyta Biliavskyi
59a5faf6e0
Save dialog: support save edj files.
...
In case when user types filename.edj binary file will be
compiled into that place, which chosen in fileselector.
2015-06-04 11:53:42 +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
Mykyta Biliavskyi
a247010813
Command line arguments: fix ignoring resource pathes.
...
If application run with command like:
enventor --id /path/images --fd /path/fonts
Pathes will be used in application.
@fix
2015-06-03 16:49:12 +09:00
Mykyta Biliavskyi
4415cdf7a9
Command line: add new arguments into command line.
...
Added next arguments:
-v, --version show program version.
-c, --copyright show copyright.
-l, --license show license.
2015-05-27 14:43:25 +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
ChunEon Park
2ccceded2f
live_edit: improve grip control.
2015-05-24 19:14:59 +09:00
ChunEon Park
a83556895f
base_gui: + assert for easy debugging
2015-04-14 13:16:59 +09:00
Jaehyun Cho
6b21eeab0f
Set default font if font name is given with NULL.
2015-03-26 22:52:55 +09:00
Jaehyun Cho
4439ca4d75
text_setting: Add font name/style settings.
2015-03-26 22:00:47 +09:00
ChunEon Park
76b56d92a2
bin/live_edit: remove unimportant message.
2015-03-01 18:55:11 +09:00
ChunEon Park
83ffef1bf3
Revert "bin/main: fix redo/undo operation issue."
...
This reverts commit 8f739c0edf
.
eeek. this breaks entry input events.
2015-03-01 16:02:29 +09:00
ChunEon Park
8f739c0edf
bin/main: fix redo/undo operation issue.
...
suddenly i found ecore key down/up is called twice..
i don't know reason but seems fd handler triggered this events.
this could be my system problem if your system doesn't have this,
please remove this workaround code.
2015-03-01 15:57:53 +09:00
ChunEon Park
d146547b52
enventor_object_save() forcely rewrites if the file path is changed.
...
so app doesn't need to care it anymore.
2015-03-01 14:23:31 +09:00
ChunEon Park
3dfaf7cb61
bin/file_mgr: don't update msg if statusbar is disabled.
2015-03-01 14:11:00 +09:00
ChunEon Park
65a52d4968
bin/main: this is not intended.
2015-03-01 12:34:15 +09:00
ChunEon Park
5d779f3dc7
bin/main: code refactoring.
...
add a enventor common setup to remove duplication.
2015-03-01 12:30:10 +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
cb339befe2
bin/main: fix infinite loop case.
...
when user launch enventor with command line option "-to xxx.edc",
it falls in infinite loop.
now its fixed.
2015-03-01 02:37:24 +09:00
ChunEon Park
f3f0c30c8a
fix live view updation problem.
...
if file is saved as, the edj tracking would be corrupted.
later this scenario, live view won't be updated
@fix T2124
2015-03-01 02:00:19 +09:00
Jaehyun Cho
cf78081977
newfile: Fix that edj is not reloaded when newly opened edc is changed.
...
edj was not reloaded when newly opened edc is changed since the new edc
path was not stored in conifg edc path.
2015-02-27 17:32:24 +09:00
ChunEon Park
0e885dfd04
bin/text_setting: remove unused variable.
2015-02-27 17:28:01 +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
f7b15998d8
bin/tools: add button - redo, undo.
2015-02-26 14:39:43 +09:00
ChunEon Park
b28526310f
bin/tools: code refactoring.
...
rename to explicit name.
2015-02-26 14:23:46 +09:00
ChunEon Park
3a60e771a6
bin/tools: add save button.
2015-02-26 14:22:30 +09:00
ChunEon Park
c668f54514
bin/live_edit: update info text format
2015-02-26 10:55:59 +09:00
ChunEon Park
331ad370d7
bin/live_edit: fix side effect.
...
align lines are always visible. it's fixed.
it's introduced from e858f46c0b
2015-02-25 22:08:52 +09:00
ChunEon Park
dd91efdc3d
bin/live_edit: improve ui.
...
reposition info text and update guide text.
2015-02-25 22:03:55 +09:00
ChunEon Park
e858f46c0b
bin/live_edit: increase accuration for detailed coordinates.
2015-02-25 21:50:14 +09:00
ChunEon Park
33b19c34cb
bin/live_edit: code refactoring.
...
use enumeration instead of macro
2015-02-25 16:25:06 +09:00
ChunEon Park
f21ba9c7e6
bin/live_edit: improve info text ui
2015-02-25 16:06:21 +09:00
ChunEon Park
179646e910
bin/live_edit: remove unused vars.
2015-02-25 14:14:57 +09:00
ChunEon Park
ba3d067179
bin/main: cancel live edit if context is switched to.
2015-02-25 11:10:54 +09:00
ChunEon Park
0c282e559c
bin/live_edit: fix the align line wrong position.
...
logically, the align line has the position problem.
it's position should be limited to each control positions.
2015-02-23 20:34:08 +09:00
ChunEon Park
66706fac1f
bin/live_edit: improve ui.
...
show/hide align lines more smoothly.
2015-02-22 23:45:49 +09:00
ChunEon Park
f44b41ab29
bin/live_edit: show/hide control points
...
show/hide control points case by case.
2015-02-22 23:35:11 +09:00
ChunEon Park
ebfefc0531
bin/live_edit: improve ux.
...
add a assistance lines for aligning.
2015-02-22 23:14:58 +09:00
ChunEon Park
9baad134e8
bin/live_edit: insert part on user double click.
2015-02-22 22:33:04 +09:00
ChunEon Park
2386e45e92
bin/live_edit: allow backspace key to cancel the live edit mode
2015-02-22 22:26:12 +09:00
ChunEon Park
99307f2e58
bin/live_edit: remove redundant code
2015-02-22 22:25:43 +09:00
ChunEon Park
66e04b8ec1
bin/live_edit: improve usage.
...
add better rich control pointers.
this patch totally re-implemenet live edit function
since the draggable part has a lots of limitation to control it by user.
2015-02-22 18:27:24 +09:00
ChunEon Park
b792fac1d3
bin/live_edit: code refactoring.
...
just change internal variable name.
no logic change.
2015-02-21 15:47:33 +09:00
ChunEon Park
4d85c59418
bin/live_edit: shorter guide message.
2015-02-20 21:58:18 +09:00
ChunEon Park
24bcf041ba
bin/live_edit: fix wrong ctxpopup position.
...
in case of short-cut key usage,
ctxpopup was appeared wrongly.
now it's placed according to the live edit buton.
2015-02-20 21:54:25 +09:00
ChunEon Park
2f451ba1b4
bin/live_edit: fix logic wrong.
...
live edit should be canceled when ctxpopup is dismissed
2015-02-20 20:53:48 +09:00
ChunEon Park
2346693c0a
bin/live_edit: improve ux
...
change ui draggable rel1, rel2 controls.
remove info text
make outline shiny
2015-02-20 20:44:44 +09:00
ChunEon Park
4c66c8a1c4
bin/live_edit: code refactoring.
...
clean up the code.
2015-02-19 15:37:14 +09:00
ChunEon Park
d95a66712c
bin/live_edit: cancel live edit mode if ctxpopup is dismissed by user.
2015-02-19 14:51:04 +09:00
ChunEon Park
fe23ef7865
bin/tools: remove redundant call.
...
we don't need to set focus on enventor here anyway the menu will be activated.
2015-02-19 13:06:43 +09:00
ChunEon Park
ab4ddaa2fd
bin/tools: code clean up.
...
split behaviors as possible.
2015-02-19 13:06:04 +09:00
ChunEon Park
8e0efde5b1
bin/live_edit: toggle live edit
...
don't activate search/goto with the live edit.
2015-02-19 13:01:47 +09:00
ChunEon Park
0ef94819a3
bin/live_edit: cast data type.
2015-02-19 12:56:27 +09:00
ChunEon Park
37e425fa1b
bin/live_Edit: cancel live edit when esc is pressed
2015-02-19 12:34:03 +09:00
ChunEon Park
bf122beaec
bin/main: code clean up.
...
split behaviors as possible.
2015-02-19 12:29:33 +09:00
ChunEon Park
4e6be71030
bin/live_edit: code refactoring.
...
just clean up code
2015-02-16 19:23:10 +09:00
ChunEon Park
d040694dc2
bin/live_edit: use a ctxpopup instead of menu.
2015-02-16 19:19:33 +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
Hermet
fb6c3be3c2
bin: avoid direct type the app name.
2015-02-14 13:09:48 +09:00
ChunEon Park
17d7879eea
bin/about: wrap sentences by word.
2015-02-13 18:28:57 +09:00
ChunEon Park
62cbb30270
bin/setting: improve more ui layout
...
it's suck to use toggle, label and slider..
label aligning is different each others...
2015-02-13 18:19:00 +09:00
ChunEon Park
6d95775842
bin/setting: improve setting gui layouting
2015-02-13 17:31:10 +09:00
ChunEon Park
900d65141a
bin/main: change to new api call according to api deprecation.
2015-02-13 14:50:46 +09:00
ChunEon Park
29229c7f73
bin/main: fix to see the package directories properly.
2015-02-13 14:43:45 +09:00
Jaehyun Cho
efe9c54d37
file_mgr: Reset console messages when edc file is modified.
2015-02-13 13:42:33 +09:00
Jaehyun Cho
bc64118d58
Revert "console: Reset console error message when edc file is saved."
...
This reverts commit 392a12f9dd
.
2015-02-13 13:34:34 +09:00
Jaehyun Cho
b14f106bf7
setting: Set a custom chain to set the focus order.
...
When the setting layout is unset and set, the focus order is changed.
To make the focus order same, set a custom chain.
2015-02-12 17:50:07 +09:00
Jaehyun Cho
995a6ef684
setting: Change the width of view width and view height entries.
...
Change the width of view width and view height entries to fit to 4 digits.
2015-02-12 15:44:24 +09:00
Jaehyun Cho
20b11fbc29
setting: Use label for uneditable text instead of entry.
...
To move focus correctly, use label for uneditable text instead of entry.
2015-02-12 15:25:25 +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
392a12f9dd
console: Reset console error message when edc file is saved.
2015-02-11 19:08:20 +09:00
Jaehyun Cho
83abef91d2
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 15:44:12 +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
ChunEon Park
0f78075ead
bin/main: fixed missing linenumber toogles.
...
F5 did nothing since it missed toggling the linenumber.
@fix
2014-12-15 09:50:01 +09:00
ChunEon Park
1061dd1aa6
bin/menu: revise save/load title messages.
2014-12-15 09:46:16 +09:00
ChunEon Park
43b070e0bb
bin/menu: add tooltip messages.
...
@feature
2014-12-15 09:43:47 +09:00
ChunEon Park
e2a58c0200
bin/tools: add short cut key info to tools tooltips.
2014-12-15 09:36:06 +09:00
ChunEon Park
8a568b1b89
bin/tools: improve tooltip messages.
2014-12-15 09:17:02 +09:00
ChunEon Park
9212c2eae4
bin: add tooltip messages to tools buttons.
...
@feature
2014-12-15 09:09:27 +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
6b8cebe8b5
main: Not dismiss ctxpopup by key events which are not shortcut keys.
...
Summary:
Not dismiss ctxpopup by key events which are not shortcut keys.
This enables to control slider and buttons with key events,
@feature
Reviewers: Hermet
Differential Revision: https://phab.enlightenment.org/D1735
2014-12-09 11:19:55 +09:00
ChunEon Park
112cca116b
bin/setting: recomposite setting gui.
2014-11-27 14:55:09 +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
cce3c96084
Fix build warning
...
Summary:
Fix build warning
@fix
Reviewers: Hermet
Reviewed By: Hermet
Differential Revision: https://phab.enlightenment.org/D1661
2014-11-14 17:31:18 +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
Jaehyun Cho
98a9eca6c5
live_edit: Fix T1785 to restore live edit
...
Summary:
Fix T1785 to restore live edit
@fix
Reviewers: Hermet
Maniphest Tasks: T1785
Differential Revision: https://phab.enlightenment.org/D1650
2014-11-12 16:44:19 +09:00
ChunEon Park
59a4e2bfa3
app/setting: remove unused var.
2014-11-03 15:33:57 +09:00
ChunEon Park
936fd19e35
ctxpopup: code refactoring
...
clear up code.
2014-11-03 13:43:13 +09:00
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
243d6a1330
app/file_mgr: open warning box deferred way.
...
if envnetor opened menu or some other popups,
edc modified warning box will be delayed to the editor has focus.
2014-11-01 18:21:13 +09:00
ChunEon Park
d90e2101b9
app/file_mgr, menu: fix more build errors.
2014-11-01 17:31:02 +09:00
ChunEon Park
0ad8fd8180
app/file_mgr: fix build warnings.
2014-11-01 17:23:20 +09:00
ChunEon Park
8c7197e7f3
app/main: adjust key handle priority.
...
prevent any short key functions if a popup is opened.
2014-11-01 17:20:33 +09:00
ChunEon Park
b72a9a2b32
app/file_mgr: don't allow any shortcut keys if warning box is opened.
2014-11-01 17:13:37 +09:00
ChunEon Park
9c37b14e98
app/file_mgr: set focus properly.
...
Set focus on warning box if warning box is opened.
And then recover to enventor if it's closed.
2014-11-01 17:10:36 +09:00
ChunEon Park
e513684d22
fix build warnings.
2014-11-01 01:15:58 +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
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
ChunEon Park
ed0da0ab10
fix make distcheck errors
2014-10-31 22:24:19 +09:00
Jaehyun Cho
d135e0c9ea
enventor: Fix T1756 (wrong group name is displayed in status bar)
...
Summary: Fix to not display wrong group name in status bar with empty template.
Reviewers: Hermet
Differential Revision: https://phab.enlightenment.org/D1628
2014-10-31 20:48:39 +09:00
Jaehyun Cho
7f6206269e
search: Fix to clear selection when find window is moved or closed.
...
Summary: Fix to clear selection when find window is moved or closed. Otherwise, the selection block begins from old one.
Reviewers: Hermet
Differential Revision: https://phab.enlightenment.org/D1581
2014-10-28 01:23:24 +09:00
ChunEon Park
92cad63c43
app/file_mgr: fix build warning.
...
fix warning that introduced by 8c68bc9981
2014-10-24 13:36:46 +09:00
ChunEon Park
d6522842f3
app/file_mgr: revise warning box gui.
2014-10-24 13:35:17 +09:00
ChunEon Park
04682f7814
app/file_mgr: add a descriptive comment for maintainance.
2014-10-24 13:23:52 +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
ChunEon Park
516ae82bab
live_edit: code refactoring.
...
changed variable name.
2014-10-24 11:59:29 +09:00
Jaehyun Cho
03c80d7025
live_edit: Fix build error by using open API instead of private API.
...
Summary: Fix build error by using open API instead of private API.
Reviewers: Hermet, seoz
Differential Revision: https://phab.enlightenment.org/D1575
2014-10-24 11:57:33 +09:00
Jaehyun Cho
c2bec2c14d
menu: Fix to set config edc path when an edc is loaded
...
Summary: Fix to set config edc path when an edc is loaded. Otherwise, the loaded edc cannot be saved properly.
Reviewers: Hermet
Differential Revision: https://phab.enlightenment.org/D1550
2014-10-21 11:52:55 +09:00
ChunEon Park
29c54814c3
main: remove workaround code that is no more valid.
2014-10-19 14:43:07 +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
7c16c5731d
update command line usage manual.
2014-10-14 15:49:28 +09:00
ChunEon Park
6987c66fdd
oops.. fix build break.
2014-10-14 15:30:59 +09:00
ChunEon Park
826045dda6
main: code clean up
2014-10-14 15:30:00 +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
Jaehyun Cho
5229b12423
tools: Fix to set data for swallow button callback data
...
Summary: Fix to set data for swallow button callback
Reviewers: Hermet
Reviewed By: Hermet
Differential Revision: https://phab.enlightenment.org/D1526
2014-10-10 14:30:37 +09:00
ChunEon Park
b9ee49a97e
main: set enventor options after setting file.
...
it's workaround fix.
current enventor doesn't allow setting options before it's file is set.
need to fix.
2014-10-07 11:19:15 +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
kabeer khan
1b76667733
Main : Corrected typo, replaced h with H
...
Summary:
Corrected typo in main.c replaced h with H to ensure highlighting with H
Signed-off-by: kabeer khan <kabeer.khan@samsung.com>
Reviewers: Hermet
Reviewed By: Hermet
Differential Revision: https://phab.enlightenment.org/D1488
2014-09-30 11:08:43 +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
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
Jaehyun Cho
0447a026cc
edc_editor: Fix T1602 to update syntax color after deleting a line
...
Summary: Fix T1602 to update syntax color after deleting a line
Reviewers: Hermet
Reviewed By: Hermet
Maniphest Tasks: T1602
Differential Revision: https://phab.enlightenment.org/D1431
2014-09-11 15:19:30 +09:00
ChunEon Park
f238cb5a4e
tools: improve tools gui.
2014-09-11 11:28:30 +09:00
ChunEon Park
6858d60529
tools: fixed typo.
2014-09-03 11:39:53 +09:00
ChunEon Park
ff2eb4c3d1
tools: improve tools ui.
2014-09-02 19:53:20 +09:00
Jaehyun Cho
dd8a898c87
enventor: Change tools from toolbar to box with buttons
...
Summary: Change tools from toolbar to box with buttons
Reviewers: Hermet
Reviewed By: Hermet
Differential Revision: https://phab.enlightenment.org/D1385
2014-09-02 19:21:55 +09:00
Jaehyun Cho
199ae41883
enventor: Change tools from toolbar to box with buttons
...
Summary: Change tools from toolbar to box with buttons
Reviewers: Hermet
Differential Revision: https://phab.enlightenment.org/D1385
2014-09-02 19:16:18 +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
a05f7fd6ea
setting: use slider text instead of label widgets.
2014-08-29 00:52:56 +09:00
ChunEon Park
b9778cbe7b
Revert "enventor: Add customized entry styles for line entry"
...
This reverts commit 99af6d4b9e
.
Not necesary.
2014-08-29 00:19:51 +09:00
ChunEon Park
19d73728b3
setting: change the preference ui.
2014-08-28 16:50:00 +09:00
ChunEon Park
c54744e5ef
remove redundant theme recover.
2014-08-28 03:11:07 +09:00
Mykyta Biliavskyi
cfb145c3b1
dummy_object: change input param for edje_object_add from Evas_Object* to Evas*
...
Reviewers: Hermet
Subscribers: NikaWhite
Projects: #enventor
Differential Revision: https://phab.enlightenment.org/D1355
2014-08-27 17:21:51 +09:00
Mykyta Biliavskyi
9de2aaef00
live_edit: create menu if it still does not created.
...
Summary:
create menu object if it does not created early, and just move menu if
it already created.
@fix
Reviewers: Hermet
Subscribers: NikaWhite
Projects: #enventor
Differential Revision: https://phab.enlightenment.org/D1356
2014-08-27 17:19:30 +09:00
Jaehyun Cho
99af6d4b9e
enventor: Add customized entry styles for line entry
...
Summary: Add customized entry styles for line entry
Reviewers: Hermet
Differential Revision: https://phab.enlightenment.org/D1363
2014-08-27 17:00:41 +09:00
ChunEon Park
1eae977508
edc_parser: code refactoring.
...
be simpler code.
2014-08-26 11:37:34 +09:00
Daniel Juyung Seo
57c52c07ad
edc_editor: cast pointers to another types correctly.
2014-08-23 01:03:51 +09:00
Daniel Juyung Seo
3a7c6caee6
edc_editor, edc_parser: fixed resource leak.
...
This fixes coverity CID 47576, 47577, and 47578.
2014-08-23 01:01:39 +09:00
Daniel Juyung Seo
09d2275ad1
edj_viewer: Fixed write to pointer after free bug.
...
This fixes coverity CID 47574.
2014-08-23 00:52:16 +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
Daniel Juyung Seo
2139ecc40a
search: initialize the local variable.
...
This fixed coverity CID 47575.
2014-08-23 00:41:50 +09:00
ChunEon Park
17e8a13303
about: add about file.
...
previousely, Enventor just showed the README file in about view.
now it just has own ABOUT file for better proper content.
2014-08-18 17:56:41 +09:00
ChunEon Park
aab2f000c9
tools: fix typo.
2014-08-17 13:28:02 +09:00
ChunEon Park
b2495c9a8d
live_edit: cancel live_edit if edc is reload.
2014-08-15 20:08:01 +09:00
ChunEon Park
f67c8b0255
menu: adjust ui.
2014-08-15 19:58:45 +09:00
ChunEon Park
559131729d
live_edit: revise theme.
2014-08-15 19:34:57 +09:00
ChunEon Park
c03a71d27c
remove workaround code
2014-08-15 17:59:27 +09:00
ChunEon Park
e120546b97
edc_parser: missed push to previous commit.
2014-08-15 17:56:29 +09:00
ChunEon Park
fe0a67bf9c
edc_editor: update selection area when image preview goes prev/next.
2014-08-15 17:54:03 +09:00
ChunEon Park
782a5f94a9
ctxpopup: support mouse wheel to go prev/next image.
2014-08-15 15:10:09 +09:00
ChunEon Park
4475f97d8a
menu: improve ui.
2014-08-15 15:00:31 +09:00
ChunEon Park
3cfeb5c54b
auto_comp: reset tooltip at better proper position.
...
it's better to reset tooltip content callback when it's going off.
2014-08-14 23:33:20 +09:00
ChunEon Park
5b905cf613
auto_comp: correct candidates lists.
...
Reset content_cb to have guarantee the callback call.
If anchor is changed faster than tooltip hide,
the callback won't be called since tooltip regards the content callback is same with before.
2014-08-14 23:27:21 +09:00
ChunEon Park
b3fcaaa7b1
console: keep the previous position even it relaunched
2014-08-14 18:29:53 +09:00
ChunEon Park
8e54bf506d
template: fix typo introduced while code clean up.
2014-08-13 23:50:47 +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
ChunEon Park
82a29d984c
template: correct line increase in part insert.
2014-08-13 22:35:47 +09:00
ChunEon Park
603b53b503
template: clean up code.
2014-08-13 22:35:09 +09:00
ChunEon Park
b1d882765c
Revert "template: insert image parts not only live edit mode."
...
This reverts commit 607f54ae87
.
it caused cursor position side effect. revert it.
2014-08-13 22:19:32 +09:00
ChunEon Park
0258c3e23c
template: don't use static buffer as possible.
2014-08-13 22:14:09 +09:00
ChunEon Park
607f54ae87
template: insert image parts not only live edit mode.
2014-08-13 22:04:51 +09:00
ChunEon Park
07077f53cb
template_code: fix one less line increase problem in template inserting.
2014-08-13 20:35:03 +09:00
ChunEon Park
bdd0c77c8a
template: keep the external functions to be lower position.
2014-08-13 20:28:43 +09:00
ChunEon Park
818070912d
template: print exception message in case of out of collections.
2014-08-13 19:56:32 +09:00
ChunEon Park
dbfb9169f4
template: apply syntax color after template code is inserted.
2014-08-13 19:48:47 +09:00
ChunEon Park
eca2bb7889
live_edit: changed short cut key.
2014-08-13 19:38:46 +09:00
ChunEon Park
178ca51dcb
live_edit: don't create menu multiple times.
2014-08-13 19:28:35 +09:00
ChunEon Park
e3168daf3d
live_edit: access layout obj
2014-08-13 19:19:44 +09:00
Kateryna Fesyna
c3bae3bd01
Live Edit: Add ability to drag new part area
...
Reviewers: Hermet
Projects: #enventor
Differential Revision: https://phab.enlightenment.org/D1319
Conflicts:
src/bin/live_edit.c
2014-08-13 19:16:08 +09:00
Kateryna Fesyna
de58bbdfa8
Live Edit: clear selection before insertion
...
Summary: To avoid the deletion of selected part of text the selection is cleared before insertion in Live Edit mode
Reviewers: Hermet
Reviewed By: Hermet
Subscribers: NikaWhite
Projects: #enventor
Maniphest Tasks: T1514
Differential Revision: https://phab.enlightenment.org/D1317
2014-08-13 19:09:11 +09:00
ChunEon Park
de81c39a0d
live_edit: revise code
2014-08-13 18:20:42 +09:00
ChunEon Park
bbfc446455
menu: revise previous commit 06c7aac63d
2014-08-13 17:16:07 +09:00
Jaehyun Cho
06c7aac63d
enventor: Add back button on menu screen
...
Summary: Add back button on menu screen
Reviewers: Hermet
Differential Revision: https://phab.enlightenment.org/D1321
2014-08-13 17:05:45 +09:00
ChunEon Park
367ddab33a
live_edit: template insertion is disabled while in Live Edit mode.
2014-08-12 11:55:50 +09:00
Kateryna Fesyna
8cbb206669
Live Edit: Part insertion is disabled while in Live Edit mode
...
Reviewers: Hermet
Reviewed By: Hermet
Subscribers: NikaWhite
Projects: #enventor
Maniphest Tasks: T1515
Differential Revision: https://phab.enlightenment.org/D1316
2014-08-12 11:51:19 +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
c8d6ec6538
panes: adjust console default size.
2014-08-11 22:14:18 +09:00
ChunEon Park
57267bae53
live_edit: modify status messages.
...
keep the consistency of it's style.
2014-08-11 21:15:45 +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
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
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
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
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
ChunEon Park
cbfe14c87c
refactoring code.
...
renamed the edc file, group names to be more clear.
2014-07-30 17:02:08 +09:00
Kateryna Fesyna
eee06afa2e
edc_editor: focus lose on left-arrow key is pressed
...
Summary:
Call elm_object_focus_allow_set() function for en_line entry to
forbid focusing it, so en_editor would not lose its focus.
Reviewers: Hermet
Differential Revision: https://phab.enlightenment.org/D1246
2014-07-29 16:33:22 +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
9505d24711
edc_editor - fix the vertical scroller disappear on ctrl+v
...
Reproduce Step:
a. Open new empty project.
b. Input 'collections {'
c. Copy and paste edc text (for example elementary video.edc text) to the Enventor edit window.
Current result: vertical scroller is not shown
Expected result: vertical scroller is shown
Signed-Off-By:Kateryna Fesyna<k.fesyna@samsung.com>
2014-07-26 14:10:14 +09:00
ChunEon Park
3771fc8afb
edc_editor - fix the disappear scrollable functionality.
...
Reproduce Step:
a. Set font scale to 2.0;
b. Set entry cursor to 1st position;
c. Press Enter;
d. Set cursor to 1st position;
e. Press backspace;
f. Press Del;
Current result: disappear scrollable functionality;
Expected result: delete 1st line.
Signed-Off-By:Kateryna Fesyna(k.fesyna@samsung.com )
2014-07-26 14:08:27 +09:00
ChunEon Park
bdc865a84c
dummy_obj - update properly when the swallow part is changed.
2014-07-19 16:03:46 +09:00
ChunEon Park
515efc710b
fixed some memory leaks.
2014-07-19 15:50:40 +09:00
ChunEon Park
c5d1467513
edc_parser - fixed memory leaks
2014-07-19 15:34:47 +09:00
ChunEon Park
6d0c720b20
fixed some memory leaks that detected by valgrind.
2014-07-19 15:07:25 +09:00
ChunEon Park
3d8ca8112f
statusbar - enable in default
2014-07-19 14:45:07 +09:00
ChunEon Park
1430eb9741
auto_completion - adjust scale value
2014-07-19 13:56:26 +09:00
ChunEon Park
408e6fd04d
template - add a new template, minimum
2014-07-19 13:55:24 +09:00
ChunEon Park
e84a03968a
newfile - allow enter key for selecting an item.
2014-07-19 13:39:07 +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
4db65212a7
goto,search - fix gui scalability
2014-07-15 22:59:39 +09:00
ChunEon Park
544965020c
editor - increase lines by one function call.
2014-07-15 22:16:23 +09:00
ChunEon Park
01ceaa935c
set focus on editor correctly.
...
previous menu_open_depth() is invalid bacause the menu would have close animation.
so right after closing the menu, the menu depth was invalid.
now get the menu depth and set focus on the editor after closing animation is finished.
2014-07-12 17:17:18 +09:00
ChunEon Park
17db0c8e96
newfile - support double click item selection.
2014-07-12 16:14:16 +09:00
ChunEon Park
5b6785e252
edj_viewer - recover the live view feature.
...
Since the edje has been lost the edj file watching,
enventor implement it by it's own way.
2014-07-12 16:01:50 +09:00
ChunEon Park
d216fd9c42
fixed compile warnings.
2014-07-12 14:21:02 +09:00
ChunEon Park
6d26867030
newfile - get focus as it opened.
2014-07-10 16:21:07 +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
2659e31255
menu - code refactoring.
...
renamed internal function.
2014-07-09 16:32:06 +09:00
ChunEon Park
b2bb300c3c
editor - fixed missing line feeds when reading a edc file.
2014-07-07 22:33:38 +09:00
ChunEon Park
9e3bee763e
enventor - discard selection region when goto is activated.
2014-06-08 13:25:47 +09:00
ChunEon Park
e1c194544c
editor - recover selection region next to the syntax color applying.
2014-06-08 13:17:06 +09:00
ChunEon Park
4803251ae3
tools - fixed toolbar find/replace crash.
...
passed the missed argument.
2014-06-08 02:46:38 +09:00
ChunEon Park
95027e091a
search - reset the current search position.
...
Reset search position because search requests syntax color partial apply
when it's window is unfocused. the selection region would be dismissed.
So reset.
2014-06-05 01:09:00 +09:00
ChunEon Park
e0b2ed26aa
search - cancel entry selection before reset the region.
2014-06-05 00:58:02 +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
0cd86f1289
editor - fix the incorrect line increase at copy & paste.
2014-06-04 22:37:00 +09:00
ChunEon Park
5f14bcbdd7
Revert "enventor - disable auto scroll mode."
...
This reverts commit 5fe34acc35
.
Conflicts:
src/bin/main.c
2014-06-02 16:27:54 +09:00
ChunEon Park
96f1c73338
main - enable highlight clip.
2014-06-02 13:13:09 +09:00
ChunEon Park
5fe34acc35
enventor - disable auto scroll mode.
...
auto scroll is not proper for the traditional editor users who may be familiar with it.
2014-06-02 13:10:47 +09:00
ChunEon Park
6f956dc9cc
goto - implemented goto button callback.
2014-06-01 16:34:34 +09:00
ChunEon Park
de2dedaa13
tools - added a goto item.
2014-06-01 16:13:38 +09:00
ChunEon Park
209c34caad
tools - rename internal functions.
...
to be more descriptive names.
2014-06-01 16:01:27 +09:00
ChunEon Park
fc50097f0f
close child windows if setting is opened.
2014-06-01 15:55:24 +09:00
ChunEon Park
ed89dd1d97
editor - calc entry forcely after textblock change
2014-06-01 15:49:40 +09:00
ChunEon Park
0cf6bf5b51
goto - added new feature, go to line
2014-06-01 15:35:54 +09:00
ChunEon Park
285c2ff530
editor - fix confiction between amp and escaped words.
...
When texts includes '&' symbol, it missed the character in editor.
Now the logic is considered to recognize it correctly.
2014-05-31 17:33:33 +09:00
ChunEon Park
2b40f3d578
syntax_color: adjust updation time while scroller size is beging changed.
2014-05-31 16:20:01 +09:00
ChunEon Park
f559e67402
theme - removed panes buttons
2014-05-30 19:53:09 +09:00
ChunEon Park
502d53d6f1
edit - use a exist function to set the state.
2014-05-29 15:23:10 +09:00
ChunEon Park
fd8ec65fe7
editor - make state change when line is deleted.
2014-05-29 15:20:39 +09:00
ChunEon Park
f2ddb56c5a
syntax_color - revise code to be simpler logic.
2014-05-27 17:36:25 +09:00
ChunEon Park
b73103a2d7
editor - use a thread for syntax color full updation.
2014-05-27 17:17:15 +09:00
ChunEon Park
dee1f3c1af
editor - set syntax color text rage in experimental.
2014-05-27 16:30:09 +09:00
ChunEon Park
f0afae6853
syntax_color: missed change from 67cf449fdd
.
2014-05-27 13:56:22 +09:00
ChunEon Park
67cf449fdd
syntax_color: improve syntax color.
...
apply syntax_color on whole texts if the scroll vbar is pressed.
so as if it's not on the partial text updating.
one more thing to do is,
applying multi-thread in this case to not block the user interaction.
2014-05-27 13:52:15 +09:00
ChunEon Park
dc9482a42a
syntax_color: apply syntax_color right now if the template code is inserted.
2014-05-27 11:23:41 +09:00
ChunEon Park
a6e2f4cc23
editor - ahhh not enought.. more detail message again.
2014-05-26 23:52:19 +09:00
ChunEon Park
2b34749b8f
editor - more detail message.
2014-05-26 23:50:57 +09:00
ChunEon Park
65a48e0cd8
syntax_color: use the strchr instead of strstr to find a character.
2014-05-26 23:49:02 +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
c6b7f30c5d
syntax_color: improve logic for applying color elaborately.
...
Until this patch, it applied the color to subwords.
Now, it applies the color to only independet words.
2014-05-23 13:43:15 +09:00
ChunEon Park
8f9ceccee5
editor - cheating for performance.
...
I'm not sure this will be problem.
ut it can avoid entry_object_text_escaped_set() in Edje.
Logically that's unnecessary in this case.
2014-05-22 22:17:12 +09:00
ChunEon Park
1fb51951fe
syntax_color - more simple api call as possible.
2014-05-22 19:34:06 +09:00
ChunEon Park
5fc6fce8ff
syntax_color - append string only if it's valid.
2014-05-22 18:56:43 +09:00
ChunEon Park
a7deebef00
syntax_color - refactoring code.
...
1. removed redundant code
2. split out internal function to reduce function complexity.
2014-05-22 18:52:40 +09:00
ChunEon Park
fe1d934cf1
syntax_color - rename internal function.
2014-05-21 21:16:43 +09:00
ChunEon Park
4120f2c75c
syntax_color - free memory as soon as possible.
2014-05-21 21:15:06 +09:00
ChunEon Park
0128690266
syntax_color - revise macro color apply logic.
2014-05-21 21:10:05 +09:00
ChunEon Park
0b1f5759f9
syntax_color - code refactoring.
...
moved a structure var to global
2014-05-21 10:59:43 +09:00
ChunEon Park
27b47b536e
syntax_color - cutoff "()" from the macro keywords.
2014-05-21 10:50:32 +09:00
ChunEon Park
87e76c3b35
syntax_color - removed define color.
...
it's merged to macro color.
2014-05-21 10:36:15 +09:00
ChunEon Park
921f4b274b
syntax_color - support macro color
2014-05-21 10:19:46 +09:00
ChunEon Park
a9aa904b63
syntax_color - apply an additional color to strings
2014-05-20 20:09:14 +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
ChunEon Park
2b14f9a6fc
parser - use array instead of list.
...
Since we know the item count is constant, array is better than list.
2014-05-20 13:28:24 +09:00
ChunEon Park
81c4a9fde2
syntax_color: improved syntax_color to be configurable.
2014-05-19 01:26:47 +09:00
ChunEon Park
9595c206b8
editor - updated displaying max line if max line is changed.
...
when just one line is deleted or entry selection cleared,
the max line is not updated in the status bar.
now it's fixed.
2014-05-17 18:19:18 +09:00
Ryuan Choi
c88e9bf9d3
Fix the crash when user passed wrong input file.
...
ex) enventor a/b.edc
2014-05-15 20:54:14 +09:00
ChunEon Park
1f7f52a9ea
syntax_color: introduce cache buffer for syntax apply.
...
It avoids copying of text buffer, every syntax color apply time.
2014-05-15 17:12:37 +09:00
ChunEon Park
ed8c3b2922
syntax_color - refactored syntax color apply logic.
...
now, it method changed to look-up table way for more equational processing in various cases.
Also, this change is a preliminary job for configurable syntax color.
2014-05-15 16:15:36 +09:00
ChunEon Park
1191f306a5
syntax_color - support more keywords
2014-05-14 19:24:52 +09:00
ChunEon Park
afeb32650e
editor - fix a bug that empty space is dangled in the end of lines.
...
while adding/removing text lines, this bug is happened.
fixed now.
2014-05-14 17:21:37 +09:00
ChunEon Park
7892ce8dd5
editor - fix buggy line number displaying.
...
don't be clean up line numbers even edc text is clear.
the minimum line number should be 1.
2014-05-14 15:59:49 +09:00
ChunEon Park
da7a97094b
edj_viewer - remove workaournd code.
...
I checked text ellipsis works fine now.
and this workaround code causes the view center zooming issue.
2014-05-13 18:18:28 +09:00
ChunEon Park
034d3df585
main - clean up some workaround code about entry odd character insertion.
...
After zmike modified that edje_entry inserts odd characters if the control key doesn't supported,
this workaround code is not required anymore.
2014-05-13 00:08:54 +09:00
ChunEon Park
b653cf3b28
main - Modified font size short cut key.
...
Now you can change font size by using mouse wheel.
If the cursor is on the edje view, the view scale will be changed,
if the cursor on the editor, on the other hand, the font size will be changed.
2014-05-12 23:44:49 +09:00
ChunEon Park
e9f59eccf6
config - downgrade config file missing message.
2014-05-12 22:59:26 +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
cf0024b02f
editor - fixed incorrect handle declare.
2014-04-01 16:05:08 +09:00
ChunEon Park
869da9c8eb
parser - enable "action" keyword for candidate list.
2014-03-18 19:47:15 +09:00
ChunEon Park
932befedb3
menu - slience warnings.
...
removed unused var.
2014-03-17 19:42:58 +09:00
ChunEon Park
d97b09e696
syntax_color - support more keywords
2014-03-16 19:06:49 +09:00
ChunEon Park
d183d190b4
parser - keep the code convention.
2014-03-16 18:49:54 +09:00
ChunEon Park
425fa01a69
parser - reverted not intended change.
2014-03-16 18:37:18 +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
1e43635a9b
parser - support action candidates list.
...
commented out at this moment because of the ctxpopup sizing problem.
2014-03-16 18:13:27 +09:00
ChunEon Park
634c061e0e
code clean up
...
use the macro for br tag.
2014-03-16 18:01:47 +09:00
ChunEon Park
512d16d1cf
ctxpopup - support part state candidates list.
2014-03-16 17:55:34 +09:00
ChunEon Park
97e66a19fe
editor - don't try parse the selection if the text is started with quatation mark.
...
there are no case that ctxpopup candidate texts have the quation mark.
we can skip unnecessary parsing as possbile.
2014-03-16 13:52:30 +09:00
ChunEon Park
59a599a3b9
parser - string check more strictly.
2014-03-16 13:40:28 +09:00
ChunEon Park
c6605c58a5
code clean up.
...
removed missed null check.
2014-03-16 13:28:11 +09:00
ChunEon Park
a25fccbd9b
ctxpopup - display image if it's found in the default image path.
2014-03-16 13:21:09 +09:00
ChunEon Park
12b3582505
ctxpopup - code clean up
...
declare additional internal functions for readability.
2014-03-16 12:55:59 +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
d3ce44efe3
parser - code clean up
...
sort the piece of the code by types.
2014-03-16 12:04:33 +09:00
ChunEon Park
ca4d7b0ddf
code clean up - missed null check remove.
2014-03-16 11:58:17 +09:00
ChunEon Park
90c71719ba
code clean up
...
removed unnecessary null check.
2014-03-16 11:51:02 +09:00
ChunEon Park
f06df61b07
code refactoring - use EINA_LIST_FREE()
2014-03-16 04:43:17 +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
2c98f69475
parser - removed empty lines
2014-03-15 23:49:36 +09:00
ChunEon Park
24235f4355
newfile - open a new file with command line specified file path.
...
Previously, the edc file is not exists that specified on the command line,
then the new file was opened with /tmp/.proto.edc
Now, the file path will be kept with user specified.
2014-03-15 17:20:42 +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
1ff1659cca
code clean.
...
line wrap when it reaches to 80 characters.
2014-03-15 16:09:05 +09:00
ChunEon Park
f43fd3d932
editor - fixed typo.
2014-03-15 15:33:45 +09:00
ChunEon Park
7a7d220fc8
editor - fixed side effect by 50a975b0ce
...
since the \<br\> tag appending order is changed.
these functions should be updated also.
2014-03-15 15:32:16 +09:00
ChunEon Park
27e85c6acc
editor - pass the required enum value to the elm_entry_line_wrap_set() API
2014-03-15 02:53:56 +09:00
ChunEon Park
50a975b0ce
editor - optimize line number appending workflow.
...
Before this patch, it appended each lines number text separately to the line number entry when it reads an edc.
This caused the sizing calculation for every appending.
Now it appends the line numbers to one buffer,
and set it to the line number entry when all lines are readied.
Consequently, the sizing calculation time is much reduced at the edc reading time.
2014-03-15 02:37:41 +09:00
ChunEon Park
afaa70f21f
editor - removed one line leftover spacing in the editor lines.
...
Don't apply <br> tag to end of the last line text.
This caused the one empty line spacing.
Now it's fixed.
2014-03-15 01:45:16 +09:00
ChunEon Park
654e8432c3
statusbar - Don't toggle the state when eventor is launching.
2014-03-14 18:00:47 +09:00
ChunEon Park
d114f49208
this line was not intended... removed it.
2014-03-14 12:57:24 +09:00
ChunEon Park
93cecf42c2
newfile - fix that eventor couldn't open an edc on command line.
...
a side effect that caused by this change
5a4d2baaf3
2014-03-14 12:55:02 +09:00
ChunEon Park
7fb77f2c9f
tools - use the icon groups instead of the separate icon files.
2014-03-13 13:18:25 +09:00
ChunEon Park
7ab80a9c14
status - don't display part highlight message when setting change is applied.
2014-03-13 04:12:14 +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