Commit Graph

1107 Commits

Author SHA1 Message Date
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
ChunEon Park 5d8f485ecf Makefile: build compatibility on Windows
Signed-Off-By: michelle legrand <michelle.legrand@openwide.fr>
2015-08-25 00:51:35 +09:00
Mykyta Biliavskyi cd062d9564 Edc parser: recognize description block without state name.
Summary:
In cases when keyword "description" is used without
state name(it mean that state will have "default" 0.0 name) -
parser is fail to recognize correct name of that description and
all others that placed below.
This make impossible to switching between groups and part descriptions,
that placed below description without state name.
@fix

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D2954
2015-08-20 11:19:15 +09:00
Mykyta Biliavskyi c33ba546f2 Autocomplete: support images subblock inside group block.
Summary:
for cases when "group" block contain "images" subblock
autocomplete feature works wrong if cursor placed below "images"
subblock.
Added support "images" inside "group".Also added "part" to
recognized keywords.
@fix

Reviewers: Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D2955
2015-08-20 11:11:52 +09:00
Mykyta Biliavskyi 88055de59c Autocomplete: except text between quotes.
Summary:
text that placed between quotes is
excepted from recognize keywords. Previously
when inside was string like this:
'images.normal: "123.png";' the autocomplete parser
is recognize the dot, that placed inside quotes.
It is broke the searching keyword in candidates tree.

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D2958
2015-08-20 11:09:37 +09:00
Mykyta Biliavskyi 08a2d9d038 Edc_editor: run programs in case if name placed on new line.
Summary:
launch programs in cases when program name is
placed not in the same paragraph with "program" keyword.
Now analyzes whole text, that placed after selected keyword,
not only text inside the same paragraph.
@fix

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D2964
2015-08-20 11:07:36 +09:00
ChunEon Park 072bba3dc1 fix win32 porting.
specify missing dll import/export declarations for EAPIs.
2015-08-20 11:04:56 +09:00
Jaehyun Cho 8b3ef719f0 templates: Change sound file name. 2015-08-12 16:46:43 +09:00
Jaehyun Cho 0aef6bd397 templates: Change image file names. 2015-08-12 11:20:37 +09:00
Mykyta Biliavskyi 9c66f6fcf0 Build: marks line, that contain error in edc_editor.
Summary:
parse error messages from edje_cc, and marked
by underline the mistaken line.  In cases for messages
that does not contain line numbers, trying to parse
name of wrong parameter. Trying to searching the parsed name
in edc code, and highlight the first entity.

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D2791
2015-08-11 13:18:07 +09:00
ChunEon Park 281c9e667e add base_scale to templates. 2015-08-11 11:56:01 +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
Vincent Torri ee5672fa73 Remove useless instructions 2015-07-31 16:06:12 +09:00
ChunEon Park d5f66885ac indent: free memory correctly. 2015-07-10 23:46:24 +09:00
ChunEon Park 8ebd0d2dbf edc_editor: code refactoring.
remove direct variable access but use getter.
2015-07-10 20:46:17 +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 2c4a407e65 renamed color.src -> edc.src
Reeame the color source file more specifically.
2015-07-10 20:06:49 +09:00
ChunEon Park 74ff6efbd7 syntax_color: reorder the syntax color.
apply comments color prior to tags.
2015-07-09 22:48:16 +09:00
ChunEon Park 6e911ef3fc editor: set default tabstops size 10. 2015-07-09 20:34:15 +09:00
ChunEon Park d3cfd41e14 syntax_color: support configurable syntax color count.
Previous the color table count is fixed to 6
we can make it changeable by color configurable file.

Please increase MAX_COL_NUM if it really needs.
2015-07-09 20:18:43 +09:00
ChunEon Park c188b78c06 syntax_color: improve logic.
previous code was strictly only working for edc.
relax the logic to cover more general cases.
2015-07-09 19:51:19 +09:00
ChunEon Park e05fe27848 color: add more keywords 2015-07-09 19:51:00 +09:00
ChunEon Park 7e6fbfde90 ctxpopup: cutout slider updation.
we don't need to update slider changes multiple times under the animator callback.
2015-07-09 15:31:37 +09:00
ChunEon Park b0e0820148 autocomp: remove generation of optional code. 2015-07-06 19:32:38 +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 d2e3c6dc6b syntax_color: apply string syntax color prior to others.
even if the comments are inside of the qutoes,
the comments syntax color should not be applied.
2015-07-04 01:08:01 +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 1cc52fee57 fix to avoid popup of "file modified"
if the file is modified continously,
it couldn't catch that the file is modified by self or not.
we do avoid this by delaying the notifying event for 3 secs.
2015-07-03 19:58:20 +09:00
Mykyta Biliavskyi 6e62d994c4 Autocompletion: support multi names for the section.
Summary:
Support new *.edc syntax.
Each lexem node can have a many different names.
It useful for parts in new edc syntax (swallow {}, image {} ... )
Change "description" lexem to "desc"

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D2785
2015-07-03 11:49:11 +09:00
ChunEon Park a93933d770 edc_editor: clean up code. 2015-07-03 11:48:08 +09:00
ChunEon Park 115bad9bb5 edc_parser: generate default time for transition 2015-07-02 21:47:29 +09:00
ChunEon Park 8678084b8f edc_parser: remove the generated code '0.0' at the end of state.
0.0 is generally unused but annoying to users.
2015-07-02 21:42:18 +09:00
ChunEon Park b654fee78a ctxpopup: remove a space in the generated code just around ';' 2015-07-02 21:39:15 +09:00
ChunEon Park 61c6e87993 color: add nomouse keyword 2015-07-02 19:49:23 +09:00
ChunEon Park 976685ae10 edj_viewer: track the images and update live view whenever they were modified. 2015-07-01 16:20:28 +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 1285140af4 edj_viewer: code refactoring.
remove duplicated code.
2015-07-01 11:55:04 +09:00
ChunEon Park 22f990960f edc_parser: remove redundant code. 2015-07-01 10:03:06 +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
ChunEon Park e990da6de2 update for more lazy edc style. 2015-06-30 20:23:29 +09:00
ChunEon Park 796e1bffe1 edj_viewer: call the "live_view,loaded" at proper time.
previously, the signal can be called even live view is not loaded yet.

@fix
2015-06-30 19:49:04 +09:00
ChunEon Park aa962ba179 update edj as soon as possible.
checks the new edj per every frame if it failed to load.
2015-06-30 18:24:24 +09:00
ChunEon Park f254d6fabe autocomp: update to lazy edc keywords. 2015-06-30 18:18:53 +09:00
ChunEon Park 12fc464bd9 template: update live edit generation code for new edc syntax. 2015-06-30 16:46:34 +09:00
ChunEon Park 533dc32dec template_code: updated to new style of edc. 2015-06-30 16:28:16 +09:00