Commit Graph

299 Commits

Author SHA1 Message Date
Hermet Park c410db3b92 main: print help usage with standand output. 2016-06-01 22:44:14 +09:00
Hermet Park 431c055a8f replace enventor embedded image. 2016-05-26 01:59:42 +09:00
Hermet Park 3f317692cb about: redesign about page. 2016-05-25 02:20:51 +09:00
Hermet Park 9e8dce3db8 live_edit: revise previous patch 6fb471d8d4.
redesign ui and clear code.
2016-05-23 22:12:43 +09:00
Taehyub Kim 6fb471d8d4 live_edit: add fixed width and height interface in live edit view
Summary: update fixed width and height interface to choose easier

Test Plan:
1. launch enventor
2. make live edit item by clicking live edit toolbar
3. click fixed width or fixed height check item on setting interface in live edit view
4. set relative_to property by dragging the edge of the part
5. insert the live edit item
6. check the result in text view

Reviewers: Jaehyun_Cho, NikaWhite, Hermet

Differential Revision: https://phab.enlightenment.org/D3962
2016-05-23 21:25:30 +09:00
Hermet Park ee41674954 fix broken font sizing short cut key.
now enventor object is nothing more than just eo interface.
actual contents are totally moved on items.
we use item interfaces to figure their zones for mouse wheel events.
2016-05-23 14:25:36 +09:00
Jaehyun Cho cf4c9ffb94 tools: Add template insert button.
Add template insert button in tools to let users know how to use
template insert function.
2016-05-22 23:34:42 +09:00
Hermet Park 329d4ba1ff update help for workspace. 2016-05-22 11:00:04 +09:00
Hermet Park e16ff998b1 implementing multi editor support.
this feature will be come gradually...
2016-05-19 00:28:58 +09:00
Jaehyun Cho e7b8554343 main: Fix warnings. 2016-05-16 23:59:23 +09:00
Jaehyun Cho 5dbfbd64f3 tools: Divide tools into live view tools and text editor tools.
Now tools are divided into live view tools and text editor tools based
on their functions.
Region for file browser tools and edc navigator tools is also reserved.
2016-05-10 23:19:36 +09:00
Jaehyun Cho 7a85d0bc3b live_edit: Remove unused code.
live_edit does not need trigger any more. Therefore, code related to
trigger is removed.
2016-05-10 23:19:04 +09:00
Hermet Park bea4735e02 Change Enventor API.
This is a partial change for supporting multiple edc files.

enventor_object_file_set() -> enventor_object_main_file_set()
2016-05-01 21:16:31 +09:00
Hermet Park e08cc69795 code refactoring
change declarations type of enventor object

from Evas_Object to Enventor_Object
2016-05-01 20:27:08 +09:00
Hermet Park d271175953 fix unexpected close on edc navigator.
if edj view failed to load a edj, edje_edit apis will occur crashes.
we could avoid this crash in enventor side.

@fix T3510
2016-04-26 20:39:44 +09:00
Hermet Park a4d4fb748c edc_navigator: support stop all programs.
for this, added one more api, enventor_object_programs_stop()
2016-04-23 13:15:32 +09:00
Hermet Park 955b762ecc edc_navigator: provide a program launch button.
Now launching program by double clicking the program part in the code
is removed! This was not intuitive.
2016-04-22 19:31:07 +09:00
Hermet Park 0f6a9873ce edc_navigator: deselect an selected item when user focuses on editing. 2016-04-22 17:39:13 +09:00
Hermet Park 4ee083fdac edc_navigator: feature extension.
Now this function has an option for auto contraction.

User could choose one of them for their taste.
2016-04-22 15:39:24 +09:00
Jaehyun Cho 2be4e6c3d3 file_browser: Show workspace directory.
File browser shows workspace directory and its sub files.
Workspace directory is set with argument "-w" and directory path.
(e.g. enventor -w ./workspace)

This commit implements T3389.
2016-04-15 21:06:45 +09:00
Jaehyun Cho ff8136dbf3 file_browser: Add file browser.
File browser shows "collections" main EDC.

This commit implements T3388.
2016-04-15 18:54:02 +09:00
taehyub df7a9f51f8 tools: support mirror mode
Summary: Added new toolbar item to support mirror mode

Test Plan:
1. luanch enventor
2. toggle mirror mode item of toolbar at the left-top or press ctrl + M
3. see the mirror mode working well

Reviewers: Jaehyun_Cho, NikaWhite, Hermet

Differential Revision: https://phab.enlightenment.org/D3813
2016-03-25 13:30:33 +09:00
Jaehyun Cho 3530641830 main: Use destination length in snprintf.
Use destination length instead of source length in snprintf.
2016-03-07 20:42:35 +09:00
taehyub 651d8551a3 main: change sprintf to snprintf
Summary: change sprintf to snprintf for code safety

Reviewers: Hermet, Jaehyun_Cho, NikaWhite

Differential Revision: https://phab.enlightenment.org/D3773
2016-03-07 20:30:49 +09:00
Jaehyun Cho cab91580fe config_data: Terminate if config init is failed.
If config init is failed, then initialization is stopped and terminated.

@fix
2016-03-07 19:56:35 +09:00
Hermet Park 6d2b4a01b4 remove unused compile warnings. 2016-03-05 11:27:24 +09:00
Hermet Park 7795dbe101 editor: fix initial max line 0 issue.
Update max line correctly of the statusbar.
This fix brought Enventor_Max_Line passed away
because Enventor_Cursor_Line can be used instead.

@fix
2016-03-05 00:26:41 +09:00
Hermet Park bb09392d12 edc_navigator: 3rd patch for base navigation behavior. 2016-02-27 17:31:12 +09:00
Hermet Park 50a7b468ef edc_navigator: 2nd patch for base navigation behavior.
not completed.
2016-02-26 22:23:25 +09:00
Jaehyun Cho 69029879d8 ctxpopup: Reset candidate values by backspace key.
toggle, slider and colorselector values of candidate ctxpopup are reset
by backspace key.
2016-02-26 20:07:04 +09:00
Hermet Park b891b071be edc_navigator: not completed. but first patch set for base layout & infra 2016-02-22 20:44:41 +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 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 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 c8aa003ec3 update live edit tools 2016-02-04 21:04:33 +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 350ee8c413 add live view scale slider onto status bar.
@feature
2016-01-22 17:34:32 +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
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
Mykyta Biliavskyi e2cc943e77 Fix compilation warnings for enventor application. 2015-09-15 17:42:03 +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 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
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 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
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 ca8c53e073 revise description of live view. 2015-06-24 13:37:31 +09:00
ChunEon Park 6d72ca9e4b live_edit: ... fix live edit scaling issue. 2015-06-23 21:29:41 +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 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 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 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
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
Jaehyun Cho 4439ca4d75 text_setting: Add font name/style settings. 2015-03-26 22:00:47 +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 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
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 3a60e771a6 bin/tools: add save button. 2015-02-26 14:22:30 +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 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 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 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 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
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 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 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 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