Commit Graph

879 Commits

Author SHA1 Message Date
taehyub e5bbb91914 console.c: error log redirecting when double click in console box
Summary:
When there are some errors in the edc, console box shows the error logs.
I added error log redirecting feature to find error word in the edc script.
Now, We just double click the console box to find error logs.

Test Plan:
  1. make some errors
  2. press ctrl + s
  3. do mouse double click in console box
  4. see the selection region of error word in edc script

Reviewers: Jaehyun_Cho, Hermet

Differential Revision: https://phab.enlightenment.org/D3652
2016-02-12 19:13:43 +09:00
Hermet Park 4710a53a94 main: remove unnecessary call
ELM_MAIN() calls elm_shutdown().
2016-02-11 22:07:10 +09:00
Hermet Park fe41adaa28 support a guide text for editor ctxpopup.
introduce a new smart callback "ctxpopup,activated"

@feature
2016-02-09 17:51:11 +09:00
Hermet Park ab0dab409c stats: add a function to resize a live view.
previously, editor ctxpopup had inc/dec buttons to control values elaboratly.
I removed them because user could control them using mouse wheel.

I believe it's cleaner and nicer ui for enventor.

@feature
2016-02-09 17:19:23 +09:00
Hermet Park df3d1f9e4d status: improve button style. 2016-02-06 03:04:22 +09:00
Hermet Park 0a52422284 align the setting's view scale slider label.
This is a tricky method,
but can't control the slider label without it.
2016-02-05 20:16:11 +09:00
Hermet Park 3bb0eb04e7 remove the concept of resizable view size.
As far as I reviewed, this function is useless.
We remove it because now people can control the exact size of view.
2016-02-05 20:11:24 +09:00
Hermet Park c499de4e88 stats: inverting view size with transition. 2016-02-05 18:14:16 +09:00
Hermet Park bb81be9901 status: code refactoring.
we don't need a disabled function but just unfocusable buttons.
2016-02-05 17:58:01 +09:00
Hermet Park 75345770ce add a function to invert view size. 2016-02-05 17:42:26 +09:00
Hermet Park 10c40a182c change the guide text of the fixed live view size. 2016-02-05 16:16:30 +09:00
Hermet Park 4f4fd2c792 Improve the guide text (more kindly) for the live edit. 2016-02-05 16:04:32 +09:00
Hermet Park e90df35c2c Improve a behavior of mouse wheel for live view.
Before this change, live view won't be scaled up/down with mouse wheel
unless the live view size was fixed.

Now, it automatically fixes the size of view then change the scale of view.
2016-02-05 15:57:00 +09:00
Hermet Park 924cf47060 tools - rearrange tool buttons position. 2016-02-04 21:15:29 +09:00
Hermet Park c8aa003ec3 update live edit tools 2016-02-04 21:04:33 +09:00
Hermet Park 9974c8bcb6 status: disable status when menus were enabled. 2016-02-04 15:35:38 +09:00
Hermet Park c610bebb8d Set focus to the editor when zooming popup is dismissed.
This fixed the after focus image of the zooming popup.
2016-02-03 14:04:41 +09:00
Hermet Park c79a0aa4e5 about - use entry_file_set() instead of direct file accessing.
This changes enventor makes much simpler to maintaining code.
Additionally, the about file should have been markup format.
Previously, it used to use markup partially so its format was ambigious.
2016-01-25 15:56:20 +09:00
Hermet Park 3fb96ced83 toggle on the fixed view size forcely,
when user starts to drag the slider to change the view scale.

Enventor assumes user wants a fixed view size
when they try to scale up/down the live view.
2016-01-22 21:00:48 +09:00
Hermet Park 6f4a9b2683 improve menu ui.
removed the prev button.
instead, user can toggle menu screen off, by clicking the dim area.
2016-01-22 20:47:04 +09:00
Hermet Park 4d3c94cf64 code refactoring.
goto_close(), search_close() returns a result in order that the caller decides a next behavior.
2016-01-22 20:22:46 +09:00
Hermet Park 5c23a5b661 code refactoring.
tools_close() returns a result in order that the caller decides a next behavior.
2016-01-22 19:59:37 +09:00
Hermet Park ede00648d9 code refactoring.
remove enventor reference passing. it's avaiable to be globally accessed.
2016-01-22 19:53:32 +09:00
Hermet Park b50dbe2571 code refactoring.
remove enventor reference passing. it's avaiable to be globally accessed.
2016-01-22 19:41:51 +09:00
Hermet Park 8679899045 code refactoring.
remove enventor reference passing. it's avaiable to be globally accessed.
2016-01-22 19:30:29 +09:00
Hermet Park cc2e04fe99 main: update live view scale value after setting is done.
This is a missing code from newly introduced view scale slider
350ee8c413
2016-01-22 19:07:59 +09:00
Hermet Park 4b9dd42839 set slider step size for view scale in setting.
Now slider cursor moves by 0.01.
2016-01-22 19:06:26 +09:00
Hermet Park d4115210da base_gui: remove redundant code. 2016-01-22 18:58:34 +09:00
Hermet Park 350ee8c413 add live view scale slider onto status bar.
@feature
2016-01-22 17:34:32 +09:00
Hermet Park d06a07b574 fix the incorrect tooltip positor for tools.
i have no idea when this bug was introduced.
But previously, it worked perfectly.

Anyhow, putting new code for fixing.
2016-01-08 15:27:50 +09:00
Hermet Park d35a229eab update dummy parts interfaces.
change toggle dummy swallow to dummy parts
because now dummies include spacer and swallow.
2016-01-02 14:06:59 +09:00
Hermet Park 8159192a47 close ctxpopup when warning popup is shown up.
check whether ctxpopup and close it, if window is moving on to close.

@fix T2996
2016-01-01 12:11:26 +09:00
ChunEon Park 06bc1f0226 liveedit: fix the incorrect size of object.
Conceptually, the output size of the edit object shouldn't be scaled.

@fix T2975
2016-01-01 00:37:07 +09:00
Mykyta Biliavskyi 11ae10d04f Console: reset console content on open or create new file
fix T2980
2015-12-29 12:04:23 +09:00
Mykyta Biliavskyi d1c5cebb24 Localization: add texts from setting layouts to locale. 2015-12-16 10:22:39 +09:00
Mykyta Biliavskyi 360170fd74 Localization: fix localization support.
Correct initalizing textdomain.
Use LOCALE_DIR environment variable.
Support localization in setting.c and text_setting.c files.
2015-12-10 17:30:00 +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
Mykyta Biliavskyi c6ec131b8d Multilanguage: apply gettext macro to bin/.
Cover all strings with _() macro.
2015-11-17 17:39:22 +00:00
Stephen Houston b56a87b550 Enventor: Fix some grammatical/spelling issues. 2015-10-30 07:40:21 -05:00
Jaehyun Cho 4e82a3e7ca config_data: Fix to set random output file name.
Currently, output file name is the same as input file name.
This causes an issue when input files which have same names are opened
at the same time.
To resolve the above issue, output file names are set randomly.
2015-09-24 10:03:12 +09:00
Jaehyun Cho 811b10293f config_data: Remove duplicated code. 2015-09-24 08:41:02 +09:00
Mykyta Biliavskyi a2e8ea3028 Show the save warning dialog on close unsaved file. 2015-09-18 09:36:07 +00:00
Mykyta Biliavskyi 27c17e9a43 Goto: close window from the toolbar.
Summary: moved the focus management  for "goto" window
from base_gui.c inside goto.c.
Added timer, that make delay between unfocus of the "goto" window
and freeing the "goto" internal structures. It is necessary because
when the "goto" window is active and pressed button on toolbar
firstly emitted the signal "unfocused" for window and then
happens button click event.

@fix T1604
2015-09-17 13:56:37 +00:00
Mykyta Biliavskyi e2cc943e77 Fix compilation warnings for enventor application. 2015-09-15 17:42:03 +00:00
Mykyta Biliavskyi b542071bb3 Static analyze: fix "Function call argument is an uninitialized value"
Summary:
Fix clang static analyzer warning.
@fix

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D3046
2015-09-14 17:45:04 +00:00
ChunEon Park d2180b235f fix broken key input in search/goto
This issue was introduced in 502a826599.

Acutally, here is an additional keygrab change.
2015-08-27 13:03:54 +09:00
ChunEon Park 502a826599 fix malfunction of key input on Windows system.
re-implement main key input by using key grab mechanism.

@fix
2015-08-27 03:49:33 +09:00
ChunEon Park c5ccf94fea config_data: create config home folder if it doesn't exist.
previously, user home config folder was not existed,
enventor config file won't be saved.

now, it's fixed.

@fix
2015-08-25 16:24:32 +09:00
ChunEon Park 37a029102b we don't use engine anymore. use acceleration. 2015-08-25 03:02:00 +09:00
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