Commit Graph

751 Commits

Author SHA1 Message Date
Jaehyun Cho dd7da0b038 Revert "edj_viewer: Fix cursor position on status bar."
This reverts commit f2d5a22240.
2015-02-24 20:33:00 +09:00
Jaehyun Cho f2d5a22240 edj_viewer: Fix cursor position on status bar.
Fix cursor position on status bar not to be bigger than view size.
2015-02-24 16:48:11 +09:00
Jaehyun Cho 89bbb67032 edc_editor: Set default text color to line text.
Set #656565FF to default line text color to not change line text color
when entry is disabled.
2015-02-24 16:03:16 +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
Jaehyun Cho 992b50cc9b syntax_color: Set white to default text color.
Set white to default text color to not change text color when entry is disabled.
2015-02-16 18:58:22 +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
ChunEon Park 5e15bfab77 enventor/lib: no these are incorrect... 2015-02-13 13:22:57 +09:00
michelle legrand 83bb597ecd enventor_main: use elm_app_data_get_dir()
Summary:
Replacing PACKAGE_DATA_DIR by elm_app_data_get_dir() function. This function will look
for the data directory from where we are executing the program and not from where
we installed it. This enable us to have separated binaries (for Windows) in another
directory different from the configure's prefix.
@fix

Projects: #enventor

Differential Revision: https://phab.enlightenment.org/D1964
2015-02-13 13:17:12 +09:00
Jaehyun Cho 46d1017df7 template: Fix cursor position when insert image description and textblock style.
Fix the cursor position when image description and textblock style are inserted
with image part and textblock part.
2015-02-12 23:01:37 +09:00
Jaehyun Cho fe48ac5af7 edc_parser: Fix to enable inserting templates by live edit.
The problem that template is not inserted by live edit was caused by the wrong
double quotation marks parser.
The double quotation marks are written as "&quote;" in entry markup format and
they are written as "\"" in utf8 format.
Previously, only "&quote;" was used to parse double quotation marks.
Now, "&quote;" is used in entry markup format and "\"" is used in utf8 format
to parse double quotation marks.
2015-02-12 22:42:33 +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 2e80073cfd template: Enable to insert image description and textblock style.
Enable to insert image description and textblock style when image part and
textblock part are inserted.
Previously, those are inserted only if parts are inserted by the live edit.
2015-02-11 20:21:27 +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
Jaehyun Cho 9d6726799f syntax_color: Add an enum value ENVENTOR_SYNTAX_COLOR_LAST
Add an enum value ENVENTOR_SYNTAX_COLOR_LAST to help to indicate the last enum value of the syntax color.
2015-02-02 19:53:46 +09:00
ChunEon Park 43b3b77e04 lib: add enventor_object_cursor_pos_set to public API
Reviewers: Hermet

Projects: #enventor

Differential Revision: https://phab.enlightenment.org/D1894
2015-01-26 13:27:46 +09:00
Jaehyun Cho d5898e5434 syntax_color: Fix to parse and append double quotation marks(") correctly.
Fix the way of parsing and appending "&quot;" correctly.
2015-01-20 13:48:25 +09:00
Jaehyun Cho af1dc2f23d edc_parser: Fix to show double quotation marks(")
Change the markup for double quotation marks from "\"" to "&quot;".
2015-01-16 17:56:26 +09:00
Jaehyun Cho aeb4bcda16 syntax_color: Add enventor_object_syntax_color_set()/get().
Summary: Add enventor_object_syntax_color_set()/get() to support changing text color.

@feature

Reviewers: Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D1833
2015-01-05 13:27:54 +09:00
Jaehyun Cho ec28195641 ctxpopup: Fix to initialize string buffer.
Summary: Fix to initialize string buffer before calling strcat().

Reviewers: Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D1831
2014-12-30 11:52:14 +09:00
ChunEon Park caeec62fdb lib/edc_parser: add more candidate popup keywords 2014-12-23 18:24:14 +09:00
ChunEon Park d8ef874198 lib/auto_comp: add "smooth" keyword 2014-12-23 11:11:28 +09:00
Jaehyun Cho da3cff83d9 edc_parser: Support property keywords of "transition".
Summary:
Support property keywords of "transition" in program.
         @feature

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D1792
2014-12-19 15:46:11 +09:00
Jaehyun Cho ea2918130f edc_parser: Support a new candidate keyword "signal".
Summary:
Support a new candidate keyword "signal" in program.
@feature

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D1791
2014-12-19 15:43:50 +09:00
ChunEon Park ef6ac44737 lib/ctxpopup: simpler toogle message 2014-12-19 14:44:09 +09:00
Jaehyun Cho 528389b95c ctxpopup: Support toggle candidate.
Summary:
Support toggle candidate.
         @feature

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D1789
2014-12-19 14:36:49 +09:00
Jaehyun Cho 48e56a4c4c ctxpopup: Change slider candidate style to contain type and entry.
Summary:
Change slider candidate style to contain value type and entry.
@feature

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D1743
2014-12-16 09:08:15 +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 f177939cd2 enventor_main: Add "live_view,loaded" enventor callback.
Summary:
Add "live_view,loaded" enventor callback to notice that view layout is newly loaded.
@feature

Reviewers: Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D1744
2014-12-12 19:48:30 +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
Jaehyun Cho b33e0e824e ctxpopup: Disable autoscroll while ctxpopup is visible.
Summary:
Disable autoscroll while ctxpopup is visible.
         This fixes the incorrect region show problem when ctxpopup is opened
         and also enables slider and buttons in ctxpopup can get focus.
         @fix

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D1731
2014-12-09 11:19:07 +09:00
Jaehyun Cho f05dca3a22 Change the way of activating candidate ctxpopup.
Summary:
Change the way of activating candidate ctxpopup.
         @feature

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D1729
2014-12-09 11:09:36 +09:00
ChunEon Park 2029a8ae45 lib/edc_parser: add a candidate item, "cubic_bezier"
@feature
2014-12-04 19:31:08 +09:00
Jaehyun Cho 62cf8910ff bin/auto_comp: Support auto_comp and color for keywords in item.
Summary:
Support auto_comp and color for keywords aspect_mode, position, prefer, span, spread, weight.

Reviewers: Hermet

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

@fix
2014-12-03 11:59:22 +09:00
Jaehyun Cho f19f89f777 edc_parser: Fix max value of mouse_events from 1000 to 1
Summary:
Fix max value of mouse_events from 1000 to 1
         @fix

Reviewers: Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D1727
2014-12-03 11:56:25 +09:00
ChunEon Park 112cca116b bin/setting: recomposite setting gui. 2014-11-27 14:55:09 +09:00
Jaehyun Cho d9b91b0e67 edc_parser: Fix keyword name from "align" to "align:"
Summary:
edc_parser: Fix keyword name from "align" to "align:"

@fix

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D1702
2014-11-26 21:23:29 +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 442bcaab36 Makefile: Install eo header files
Summary:
Install eo header files (enventor_object.eo.h, enventor_object.eo.legacy.h)
         @fix

Reviewers: Hermet

Reviewed By: Hermet

Subscribers: kfesyna

Differential Revision: https://phab.enlightenment.org/D1676
2014-11-19 21:57:35 +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 7adb7fc5ae lib/ctxpopup: disable slider focus.
There is a editor auto scroll problem.
We don't need focus on slider so disable the slider focus that triggered the problem.

Please fix it later if possible.
2014-11-03 17:26:08 +09:00
ChunEon Park 59a4e2bfa3 app/setting: remove unused var. 2014-11-03 15:33:57 +09:00
ChunEon Park ff7caeae42 lib/enventor: fix typo 2014-11-03 15:33:15 +09:00
ChunEon Park 07b52da739 lib/ctxpopup: fix to close ctxpopup correctly.
image previews won't be closed since it's enabled state is incorrect.

keep up state correctly for image preview relaying.
2014-11-03 14:27:33 +09:00
ChunEon Park bc2f514d96 lib/ctxpopup: call dismiss before object is deleted. 2014-11-03 13:53:55 +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 5c8ff06ba3 lib/edj_viewer: free eio_monitor properly. 2014-11-01 20:13:59 +09:00
ChunEon Park 0c315a64f8 lib/auto_comp: don't access free memory.
entry smart callback could be called after auto_comp is terminated.
Don't access the freed autocomp instance in the entry callbacks.
2014-11-01 20:03:39 +09:00
ChunEon Park 6569821349 lib/syntax_color: free allocated memory. 2014-11-01 18:45:42 +09:00
ChunEon Park 22a39f2d47 app/file_mgr: update missed function delcares. 2014-11-01 18:31:27 +09:00