Commit Graph

1181 Commits

Author SHA1 Message Date
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 4a71ca8b75 Indent: fix position of pasted block.
Summary:
Position of pasted block depends from
existing symbols in current paragraph.

fix T2512
fix T2511

Reviewers: Hermet

Maniphest Tasks: T2511, T2512

Differential Revision: https://phab.enlightenment.org/D2747
2015-06-24 13:23:54 +09:00
Mykyta Biliavskyi c7cd1ee563 Fix -Wint-to-pointer-cast compiler warning in ctxpopup.c 2015-06-24 13:21:34 +09:00
ChunEon Park 273d0c2166 template: remove new line trailiings. 2015-06-24 13:17:22 +09:00
ChunEon Park d8ddce9204 clean up code.
remove duplicated function call.
2015-06-24 13:16:01 +09:00
Mykyta Biliavskyi c2d6bae122 Autoindent: fix increase line numbers.
Summary:
Function indent_insert_apply reutn count of inserted lines.
It is provide increse line numbers correctly.

@fix T2510

Reviewers: Hermet

Maniphest Tasks: T2510

Differential Revision: https://phab.enlightenment.org/D2745
2015-06-24 13:14:14 +09:00
Mykyta Biliavskyi 533994772f Fix compiler warnings.
Fix -Wuninitialized flag warnings.
2015-06-24 13:12:20 +09:00
ChunEon Park 94465b1e73 update NEWS 2015-06-23 22:16:19 +09:00
ChunEon Park 75233b3879 updated NEWS 2015-06-23 22:14:26 +09:00
ChunEon Park b4a80c112d get prepare for v0.6.0 2015-06-23 21:38:16 +09:00
ChunEon Park 366732c761 updated AUTHORS 2015-06-23 21:33:30 +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 00ce4ff714 tools: update line number icon image. 2015-06-23 11:05:33 +09:00
ChunEon Park 24ad783b25 live_view: fix incorrect zoom scale.
Previously, the live view maximum size was not updated properly
even if the zoom scale value had been changed.

@fix
2015-06-23 10:55:35 +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 6e7e18b12b auto_comp: close popup if the line is deleted.
@fix.
2015-06-23 10:21:22 +09:00
ChunEon Park c301fab3cd auto_comp: optimize code.
use callback data rather than global variable.
2015-06-23 10:11:03 +09:00
ChunEon Park e86b8256b6 fix the candidate list size.
don't oversized candidate popup than edit area.
Instead, enable the scroll of the list in order thatuser can choose one item.

@fix
2015-06-23 09:58:18 +09:00
ChunEon Park 149faa3f35 updated README/ABOUT 2015-06-23 08:40:39 +09:00
ChunEon Park 55b3a1c4b1 --compiler warning.
shit, avoid unused compiler warning by trick.
2015-06-23 08:25:29 +09:00
Mykyta Biliavskyi dc85cafc7d Autocomplete: add attribute "dot" for lexems.
Summary:
Attribute "dot" make possible to mark lexems, that
can use the '.' symbol. Like image.normal: "bla";
This commit fix issue, when pressing '.' after any
keyword was shown candidate list.

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D2709
2015-06-23 08:16:01 +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 9f47246074 Autocomplete: fix memory leak on autocomplete terminate.
Summary: Tree structure of lexems didn't freed, when feature terminating.

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D2727
2015-06-22 14:51:18 +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 7020fec1f3 Autocomplete: fix memory leak.
Summary:
When context_lexem_thread_cb is canceled - possible, that
td->utf8 memory, that allocated at context_lexem_get
didn't freed.

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D2726
2015-06-22 14:45:54 +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 d1e7eed0fb recover the autocomplete backspace key issue.
before change this, backspace is not working for auto complete,
so user can't cancel the popup.

this change is reverted to the old one code (118e86e0dd)
2015-06-22 14:20:14 +09:00
Mykyta Biliavskyi 9e81a5f263 Autocomplete: fix behaviour of the Backspace.
Summary:
For case when the list of candidates is shown after typing
'.', "backspace" didn't work. It happens because the queue was
already cleared, when the user press "backspace". But at the
same time list of the candidates is presented and shown.

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D2714
2015-06-22 14:09:14 +09:00
ChunEon Park 339298a01b auto_comp: + exeptional case.
just in case non - tooltip items.
2015-06-22 14:05:27 +09:00
Mykyta Biliavskyi 708923f8ff Autopcomp: select first item in candidates list.
Reviewers: Hermet

Maniphest Tasks: T2495

Differential Revision: https://phab.enlightenment.org/D2719
2015-06-22 13:59:50 +09:00
Mykyta Biliavskyi 1877830e70 Autocomp: sort autocomp to alphabet order.
Reviewers: Hermet

Maniphest Tasks: T2495

Differential Revision: https://phab.enlightenment.org/D2718
2015-06-22 13:55:36 +09:00
ChunEon Park 46a8114c89 template: update basic. 2015-06-18 08:48:22 +09:00
Mykyta Biliavskyi 0dfeb6c177 Autocomplete: fix segfault, caused by '.'
Summary:
When '.' typed without keyword, function context_lexem_thread
is returning NULL pointer to the lexem node. This cause segfault,
when the lexem node is used for prepare the candidates list
in candidate_list_show function.

Reviewers: Hermet

Maniphest Tasks: T2504

Differential Revision: https://phab.enlightenment.org/D2712
2015-06-17 17:02:58 +09:00
Mykyta Biliavskyi b4af164c8a Autocomplete: show list of the candidates after '.'.
Summary:
   In case, when user typed keyword and add '.' symbol, will be
   shown list of possible keywords.
   For example:
   rel1. -> will be shown list: relative, offset, to, to_x, to_y.

   Depends D2648
   @fix  T2178

Reviewers: Hermet, Jaehyun

Subscribers: jpeg

Projects: #enventor

Maniphest Tasks: T2178

Differential Revision: https://phab.enlightenment.org/D2651
2015-06-16 16:53:23 +09:00
Mykyta Biliavskyi ee415fa135 Parser: recognize comments in code.
Summary:
For cur_state_get in parser module and context_lexem_get in
auto complete module add abiliti to recognize commented lines.

fix T2482

Reviewers: Hermet, Jaehyun, jpeg

Reviewed By: jpeg

Maniphest Tasks: T2482

Differential Revision: https://phab.enlightenment.org/D2677
2015-06-16 13:38:06 +09:00
ChunEon Park 97941ff378 Indent: auto indentation when code is pasted.
Summary:
if some edc code is pasted, the indentation could be corrupted.
let's make it fix automatically, even if indentation of
the pasted code is not correct, only when auto indent mode is enabled.

Reviewers: Jaehyun, Hermet

Projects: #enventor

Maniphest Tasks: T2174

Differential Revision: https://phab.enlightenment.org/D2601
2015-06-16 13:36:30 +09:00
Mykyta Biliavskyi 59d6ce59cd Autocomplete: make search context run in additional thread
Summary:
  Now parsing and actualizing context of current cursor position
  happens in additional thread.

  @fix T2467

Reviewers: Jaehyun, Hermet

Projects: #enventor

Maniphest Tasks: T2467

Differential Revision: https://phab.enlightenment.org/D2648
2015-06-16 13:29:00 +09:00
Mykyta Biliavskyi f931b5e06f autocomp.src: fix mistakes and add dependencies.
Summary:
Add suport blocks images and color_classes inside
collections block.
Fix position cursor for rel1 { to: ""; }.
Add RAW as default type for sound samples.

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D2706
2015-06-16 13:27:29 +09:00
Mykyta Biliavskyi f49cf431b7 Autocomplete: fix ability to disable functionality.
Summary:
Chack status of the flag *(autocomp_data)->enabled,
when entry "changed" callback is called.

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D2707
2015-06-16 13:22:36 +09:00
Mykyta Biliavskyi 31d07e5590 Edc parser: correct detection of current description.
Summary:
Added check, if the entry cursor is go out of the description
block, will be returned NULL description_name.

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D2681
2015-06-15 14:09:42 +09:00
ChunEon Park 3ff81bce00 clean up help message. 2015-06-12 23:11:28 +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