Commit Graph

151 Commits

Author SHA1 Message Date
Hermet Park c6cff4bef8 fix memory corruption at free time.
That list pointer could be corrupted because
inside of the enventor_item_del(), the list head pointer could be modified.
2016-08-27 23:42:15 +09:00
Hermet Park c45c13d8bc cleanup unused warning. 2016-08-24 12:53:11 +09:00
Hermet Park 3c2a31a8ff git rid of unnessary logic.
Previously, generated views were to terminated if the edj path is changed,
but it's not quite useful at any scenarios.

User may want to change just the edj output path without any input resources
changes.
2016-08-23 01:52:42 +09:00
Jaehyun Cho 231ffaa7e1 lib: Add enventor_object_base_scale_get(). 2016-08-19 18:28:48 +09:00
Taehyub Kim 1665ac9ba6 enventor_smart: add NULL checking
Summary:
add NULL checking in syntax_color_set and syntax_color_get API
@fix

Reviewers: Jaehyun_Cho, NikaWhite, bowonryu, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D4233
2016-08-17 22:21:16 +09:00
Hermet Park a1cabe509f updated eo syntax usage.
it's still under the beta.
2016-08-16 11:48:17 +09:00
Hermet Park 9d188e601e wooo.. one more eo change. 2016-08-12 10:07:10 +09:00
Hermet Park 65267ba2fd file tab: stablizing file switching behavior.
There are still corner case bugs.

one is issued by unsafe thread working
and the other one is group switching.

fixed all in all.
2016-08-12 04:00:17 +09:00
Jean-Philippe Andre 3af6ede5e5 clang: Fix warnings and compilation errors
enventor wouldn't compile with clang. Also, it would print
a lot of warnings.
2016-08-10 15:17:41 +09:00
Hermet Park 6f47ad19e0 multi-file: clear edj views if main item is changed.
If the main item is changed, previous edj views won't be valid anymore.
We need to clear them.
2016-08-09 01:39:56 +09:00
Hermet Park a281963ba1 sanitize compare file pathes.
let's have a full pathes for enventor items.
then we don't need to call ecore_file_realpath() at every accesses.
2016-08-09 01:02:46 +09:00
Hermet Park e086a6edbb ++null check 2016-08-09 00:25:43 +09:00
Hermet Park b3afcc4810 file_browser: stabilizing switching main edc file function. 2016-08-08 23:58:08 +09:00
Hermet Park e6e81c29d5 correct memory free order. 2016-08-04 20:20:00 +09:00
Hermet Park fd050aacf2 Support individual group view scale.
Now, groups keep their own view scale on their own contexts.
This will help user simultaneous group editing.
2016-08-03 19:35:04 +09:00
Hermet Park b4d8678595 Support individual group view size.
Now, groups keep their own view size on their own contexts.
This will help user simultaneous group editing.
2016-08-03 15:39:46 +09:00
Taehyub Kim 160f672232 envnetor_smart: keep the each view size
Summary: when group is changed, view information should be updated

Test Plan:
1. launch enventor
2. run group template
3. change the view size
4. change the group
5. change the view size
6. change the group to firxt
7. see the result

Reviewers: Hermet, NikaWhite, Jaehyun_Cho

Reviewed By: Jaehyun_Cho

Differential Revision: https://phab.enlightenment.org/D4207
2016-08-02 22:34:15 +09:00
Jaehyun Cho b783c90092 Fix build break on Windows with EAPI. 2016-07-28 14:31:41 +09:00
Hermet Park 3db26261f7 multi-file: support syntax_colors.
a# Please enter the commit message for your changes. Lines starting
2016-07-27 15:37:46 +09:00
Hermet Park 21dac2992c font: don't abuse elementary configuration setting.
Dont' save elementary config in enventor.
It harms the other application config values.
Most of all, it doesn't need it.
2016-07-27 14:10:13 +09:00
Hermet Park 0462d04c0d multi-file: support quick jump (F5)
if you press F5 on "#include xxxx" line,
Enventor will open that include file.

Conflicts:
	src/lib/edc_parser.c
2016-07-22 16:19:46 +09:00
Thiep Ha 5d1cec3e7b correct returned value of focus_get function.
Function eventor_object_focus_get needs to return
Eina_Bool value.
2016-07-22 11:49:26 +09:00
Hermet Park 32bcf8b985 multi-file: allow to open an empty file. 2016-07-21 20:59:54 +09:00
Hermet Park eda850d9db multi-file: support edc navigator. 2016-07-21 20:53:13 +09:00
Hermet Park 58a1f10608 multi-file: ++implementation.
support live edit function.
2016-07-20 18:52:45 +09:00
Jaehyun Cho 773b93e792 reference: Support keyword reference in multi-file structure.
Show keyword reference of the focused item entry.
Append "collections" to parent keyword list arbitrary if the focused
item is not the main item.
2016-07-19 21:28:18 +09:00
Hermet Park 2d9fd3588f multi-file: close live_view properly if the file is closed.
this commit is about stablizing mult-file functionalities.
2016-07-19 19:28:22 +09:00
Hermet Park 09f19b7654 multi-file: improve a use case.
hide a previous preview if a new represent file hans't any viewable group.
2016-07-17 00:40:08 +09:00
Jaehyun Cho 710621cc9b Support keyword reference function.
Display keyword reference if F5 is pressed while cursor is on the
keyword.
2016-07-09 00:21:50 +09:00
Hermet Park 4b8f989090 multi-file: re-implemented item grouping infra.
Changed item concept that only one item can represent the enventor object.
I'd thought multiple editors of Enventor could be active at the same time,
but it brought Enventor Lib has over-concept feature,
because Enventor App doesn't support it so far.
2016-07-07 20:34:42 +09:00
Hermet Park ace06a6d8b multi-file: itemize redo/undo functions. 2016-07-07 19:13:25 +09:00
Hermet Park 50cb8c7d42 multi-file: highlight a part on current focused item. 2016-07-07 19:06:58 +09:00
Hermet Park d6f61c9963 multi-file: consolidate bodies. 2016-07-07 18:42:13 +09:00
Hermet Park 65a0e198da fix a side effect that missed a main item focus.
this is introduced from c59be9cf1b.
2016-07-07 16:49:14 +09:00
Hermet Park c59be9cf1b multi-file: ++implementation.
1. make it work with template insert feature.
2. dissmiss inactivated item's view sync callbacks.
2016-07-07 16:21:03 +09:00
Hermet Park 71f261bad4 don't switch font info, if the same font comes.
I didn't dig further, but that corrupted enventor menu/setting.
probably, eina_stringshare ocurred memory corrution...?

anyhow, its useless to apply same font again.

@fix T4013
2016-07-07 13:56:16 +09:00
Hermet Park 5b00b70fc2 file_tab: ++implementation.
allow remove item from the tab.
2016-07-04 22:17:38 +09:00
Hermet Park 193ec29fa0 multi-file: support live editor.
Additional implementation.
Now it works for live editing.
2016-07-04 17:53:54 +09:00
Hermet Park 6780f25ad4 multi-file: redoundo implemtation.
Still a lots of changes required... >.<
2016-07-04 15:09:26 +09:00
Hermet Park 4353d98bac multi-file: make multi files work for auto completion. 2016-07-04 13:07:24 +09:00
Hermet Park 6303afd975 multi-file: ++implementation.
+ line deletion and file saving.
2016-07-03 08:50:47 +09:00
Hermet Park e4896f1090 multi-file: ++implementation.
Now it works on search/replace.

API changes.
Below object APIs replaced with item APIs.

enventor_object_text_get()
enventor_object_text_insert()
enventor_object_selection_get()
enventor_object_cursor_pos_get()
enventor_object_cursor_pos_set()
enventor_object_select_none()
enventor_object_select_region_set()
enventor_object_syntax_color_partial_apply()
enventor_object_syntax_color_full_apply()
2016-07-02 17:32:11 +09:00
Hermet Park 68548afdde multi-file: support the function, go to line.
removed enventor_object_max_line_get()
removed enventor_object_goto_line()
added enventor_item_max_line_get()
added enventor_item_goto_line()
2016-07-02 15:39:10 +09:00
Hermet Park bbc8ee13ea code refactoring.
renamed from outline to wireframe.

Conceptually, here feature is close to "wireframe".
2016-07-02 13:58:27 +09:00
Hermet Park e93ab43319 ++ multi file editing feature implementation. 2016-07-01 23:59:17 +09:00
Hermet Park 8c13d63a8e ++ multi file support. 2016-07-01 18:24:14 +09:00
Hermet Park f0623301d9 file_browser/file_tab: ++ multi file support implementaion 2016-06-30 16:50:20 +09:00
Hermet Park e61cfb6124 file_tab: add a partial implmentation. 2016-06-29 20:28:11 +09:00
Taehyub Kim 4100cc9131 edj_viewer: add parts outline highlight feature
Summary:
When we add a live edit item, it is convenient to be support part outline.
so I added part outline feature. It can be toggling.

@T3626

Test Plan:
1. launch enventor
2. activate parts outline item on tools
3. see the parts outline in live edit view

Reviewers: Hermet, NikaWhite, bowonryu, Jaehyun_Cho

Reviewed By: Jaehyun_Cho

Differential Revision: https://phab.enlightenment.org/D4071
2016-06-28 14:20:57 +09:00
Jaehyun Cho 9d5bf61003 Rename Evas.Object to Efl.Canvas.Object.
This commit applies the following efl commit.

evas: Rename Evas.Object to Efl.Canvas.Object
2016-06-21 17:14:37 +09:00