Commit Graph

1665 Commits

Author SHA1 Message Date
Hermet Park fa929055a2 edj_mgr: reduce the edj view caching time to 5 min. 2016-08-17 23:44:58 +09:00
Hermet Park 026728b042 enable file browser, file tab in default.
set initalize base window size.
2016-08-17 22:53:14 +09:00
Taehyub Kim 6dbe2bc4e6 statusbar: disable focus for resize slider bar
Summary: disable focus for resize slider bar

Test Plan:
1. launch enventor
2. show resize ctxpopup using status bar
3. check the focus is disable

Reviewers: Hermet, Jaehyun_Cho, NikaWhite, bowonryu

Differential Revision: https://phab.enlightenment.org/D4232
2016-08-17 22:30:39 +09:00
Taehyub Kim 7e1a4c00a7 edc_editor: add NULL checking in edit_cursor_double_clicked_cb
Summary:
add NULL checking in edit_cursor_double_clicked_cb
@fix

Reviewers: Jaehyun_Cho, NikaWhite, bowonryu, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D4234
2016-08-17 22:29:31 +09:00
Taehyub Kim 950734d000 auto_comp: apply strncpy in context_lexem_thread_cb
Summary:
apply strncpy in context_lexem_thread_cb
@fix

Reviewers: Jaehyun_Cho, NikaWhite, bowonryu, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D4236
2016-08-17 22:28:16 +09:00
Taehyub Kim a47b12bd53 syntax_color: add NULL checking in macro_key_push function
Summary: add NULL checking in macro_key_push function

Reviewers: Jaehyun_Cho, bowonryu, NikaWhite, Hermet

Reviewed By: NikaWhite, Hermet

Differential Revision: https://phab.enlightenment.org/D4235
2016-08-17 22:22:53 +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
Jaehyun Cho e646da1ee0 search: Move "Next" button to the right of "Previous" button. 2016-08-17 15:39:37 +09:00
Taehyub Kim bc5a7b3c36 edc_editor: support to jump to the part define
Summary: add the new feature to jump to the part define

Test Plan:
1. launch enventor
2. click mouse right button on "relative to" part name in text view
3. check selection is on the part define

Reviewers: Hermet, NikaWhite, bowonryu, Jaehyun_Cho

Reviewed By: Jaehyun_Cho

Tags: #enventor

Differential Revision: https://phab.enlightenment.org/D4167
2016-08-16 22:00:01 +09:00
Hermet Park 4b22c006b1 edj_viewer: ++safety.
add a null check.
2016-08-16 17:28:54 +09:00
Hermet Park 693baf4398 fix window os build.
SignalHandlerPointer is not defined.
We can't use it here.
2016-08-16 14:53:00 +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 8fec9ff3c9 edc_parser: fix spinlock infinte loop issue.
nullout pointer properly to not access an invalid memory thread.
2016-08-16 11:32:34 +09:00
Hermet Park 7b23d7964a removed redundant code. 2016-08-16 10:39:06 +09:00
Hermet Park b28c487980 ported crash handling for Windows OS. 2016-08-15 17:08:10 +09:00
Hermet Park eca29287ab file_mgr: support file back tracking feature.
Now, press F4 opens the previous file back.
2016-08-15 16:49:35 +09:00
Hermet Park 5836cc702a edc_edit: code refactoring.
just internal function name change.
2016-08-15 15:00:37 +09:00
Hermet Park 27db1e3245 edj_viewer: set highlight geometry precisely.
change the geometry of highlight to its common geometry,
not actual text area.

This change is for consistency for wireframes,
and I expect user want it.
2016-08-15 14:57:00 +09:00
Hermet Park 7656155bf3 live_edit: dismiss ctxpopup when view position is changed.
ctxpopup position won't be valid anymore if the live edit object's
 position is updated. so dismiss it.
2016-08-15 14:20:53 +09:00
Hermet Park 7f34f53864 wireframes: fix merge conflict. 2016-08-15 14:16:16 +09:00
Taehyub Kim cb47271ff6 wireframes_obj: restore resize and move callback for layout
Summary: restore resize and move callabck for layout

Test Plan:
1. launch enventor
2. open a basic edc
3. add spacer part
4. turn on wireframe
5. resize the view
6. see the result of wireframe

Reviewers: Jaehyun_Cho, NikaWhite, bowonryu, Hermet

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

Conflicts:
	src/lib/wireframes_obj.c
2016-08-15 14:09:45 +09:00
Hermet Park e40122daab file_browser: unset main tag at new file.
If user select a new file, then the main file will be this new one.
And then, the previous main file should lose the main tag.
2016-08-12 15:39:25 +09:00
Hermet Park b4655c371c text_setting: reset font style properly. 2016-08-12 15:09:07 +09:00
Hermet Park 8f7c61df8b live_edit: adjust text ui. 2016-08-12 12:28:41 +09:00
Bowon Ryu 498782167f live_edit: update font style and bg.
Test Plan:
1. enventor
2. add live_edit content.
3. observe content.

Reviewers: Hermet, Jaehyun_Cho, herb

Differential Revision: https://phab.enlightenment.org/D4221
2016-08-12 11:32:39 +09:00
Hermet Park a2db164533 file_tab: avoid unnecessary selection behavior.
When list item's close button is clicked, this selection is triggered
prior to the close button clicked callback.
It's useless to perform this selected callback anyway this file tab
item is gonna removed soon. But, due to the list's behavior,
it's unavoidable so we need this tricky animator.
2016-08-12 10:29:53 +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
Jaehyun Cho ea4a177dcf reference: Change reference data name from md to rd.
Change reference data name to rd since rd stands for reference data.
2016-08-11 23:35:18 +09:00
Hermet Park cd70d4e0fa fix a regression bug.
we found a template won't work on enventor launch.
fix it by opening even the same input file.
2016-08-11 20:09:15 +09:00
Hermet Park 4a0df5d7b5 stupid commit d58729f3bc.
we should remove the code that declared sigactions.
2016-08-11 16:17:20 +09:00
Hermet Park d58729f3bc Get rid of the lock file mecahinsm from win32 build.
It needs a portable way to support win32.
2016-08-11 15:31:36 +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
Jaehyun Cho b5e27c58d6 syntax_indent: Fix not to paste string redundantly.
Previously, indentation logic produced a duplicated string if the copied
string ends with spaces.

Test Plan:
1. Open basic template.
2. Cut string right before "}" in the text view.
   (e.g. Copy from 5th line to 7th line right before "}" in basic edc.)
3. Paste the cut string.
4. See that 6th line's string is pasted redundantly.
2016-08-09 21:19:01 +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 64b88b4147 file_mgr: avoid unnecessary item focus. 2016-08-09 01:10:27 +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 780cf89dcc edc_editor: fix missing shortcut key updation. 2016-08-08 23:59:52 +09:00
Hermet Park b3afcc4810 file_browser: stabilizing switching main edc file function. 2016-08-08 23:58:08 +09:00
Hermet Park 997b878fa8 file_browser: support to switch main EDC file.
F2 => set main edc
F3 => quick jump
F4 => revert quick jump (not done yet)
F5 => reference tooltip.
2016-08-08 20:25:05 +09:00
Jaehyun Cho ee438d5fc8 file_browser: Fix memory leak. 2016-08-08 17:24:34 +09:00
Jaehyun Cho 8bcb3aa7b4 reference: Fix memory leak. 2016-08-08 16:13:22 +09:00
Hermet Park 534805a688 build_setting: add a main edc file path.
Support to change main edc file in build setting.
Also, Enventor will support a shortcut key to change main edc file.
2016-08-07 04:35:08 +09:00
Hermet Park c1f05cf8b8 Exit Enventor main logic normally in all cases.
exit call quits Enventor process unexpectedly,
and that made Enventor lose the lock file deletion.
2016-08-07 01:57:47 +09:00
Hermet Park c890ca73b6 file_browser, file_tab: change a default behavior.
Previously, they are disabled if the workspace is not specified.
We don't need this anymore.
Because we gonna support runtime changing for the workspace directory.
2016-08-07 01:41:47 +09:00
Hermet Park dbebb64e32 Change the enventor lock file path.
If usr's system is shutdown unexpectedly,
the lock file wont' be removed properly.

Store the lock file in the OS temporary folder
so it can be removed defintely when OS is turned off.
2016-08-07 01:30:06 +09:00
Hermet Park 4212c9fa98 Limit to an unique enventor instance.
Now, Enventor allows only one enventor instance.
This is sort of a limited way, but it would be better while enventor supports
multiple file editing.

Unless it perfectly covers scenarios that overwrite editor code from other
process, Enventor will limit its process count.
2016-08-06 05:03:40 +09:00
Hermet Park 726eabd442 edj_viewer: fix a bug that scale is applied one step after.
Logically, it used previous scale factor in updating live view.
update the scale factor first then update the live view!
2016-08-06 01:58:58 +09:00
Hermet Park 001aae25d8 newfile: sort template list in alphabetical order. 2016-08-06 01:48:06 +09:00
Taehyub Kim 4f3e016ca9 wirefrmaes_obj: update wireframe when it is animated
Summary:
when animation is working, wire frame is not updated.
so I fixed it.

Test Plan:
1. launch enventor.
2. run animation template
3. see the result about update of wireframe

Reviewers: Jaehyun_Cho, NikaWhite, Hermet

Differential Revision: https://phab.enlightenment.org/D4214
2016-08-05 17:01:48 +09:00
Hermet Park b663b04096 edc_editor: add missing null out. 2016-08-05 16:34:20 +09:00
Hermet Park b987e70045 fix memory leaks. 2016-08-04 23:48:50 +09:00
Hermet Park 1901cd4699 auto_comp: this is the last thread safe code.
there is a quite complex case that non-thread safe code
that may occur crash or wrong behavior of enventor.

just improve the thread safe code to avoid the situation.
2016-08-04 23:25:52 +09:00
Hermet Park 13305c77af auto_comp: ++safe code
don't free auto comp instance if its internal thread is working.
2016-08-04 22:57:24 +09:00
Hermet Park 86b9124e53 syntax_color: ++ safe code.
don't free color instance if its internal thread is working.
2016-08-04 20:54:21 +09:00
Hermet Park 1a9d5dcba7 edc_editor: one more thread safe code.
This patch is another same fix to e24efc9c7e.
2016-08-04 20:45:42 +09:00
Hermet Park e6e81c29d5 correct memory free order. 2016-08-04 20:20:00 +09:00
Jaehyun Cho a4b07dad96 edc_editor: Fix to remove focus highlight on template selection button.
This patch is temporary patch to remove focus highlight on template
selection button of new file open. (enventor -t)
Without this patch, en_edit cannot get focus because its visibility is
set with false.
2016-08-04 20:14:40 +09:00
Hermet Park e24efc9c7e edc_parser: fix the memory corruption.
just realized that ecore_thread_cancel() wont call the thread cancel function instantly.
and this broke parser sequences that memory corruption.

Fix that situation to not write invalid memory.
2016-08-04 19:52:29 +09:00
Hermet Park b25d5dffa8 lib: thread optimization.
get out of threads if they are canceled.
threads don't need to perform their logic totally.
2016-08-04 19:25:18 +09:00
Hermet Park c5f59c63b8 edc_editor: fix a potential error.
Terminate redoundo instance after edc editor private resources are removed.
Redoundo has a entry delete callback, and it frees the redoundo private memory there.

But, if a redoundo instance is removed before entry delete callback is called,
invalid memory access will be happened.

Acutally this's broken memory.

So prevent this scenario by correcting function call order.

@fix
2016-08-04 19:10:21 +09:00
Bowon Ryu 4b693973b0 help: bug fix. entry scroller doesn't reset.
Test Plan:
1. enventor
2. press F1
3. select list item (shortcut keys)
4. scroll down
5. back
6. select list item (shortcut keys)
7. observe scroller's position

Reviewers: Hermet, Jaehyun_Cho, herb

Differential Revision: https://phab.enlightenment.org/D4213
2016-08-04 17:35:20 +09:00
Hermet Park fb4c8b70a8 edj_viewer: safety code.
+ null check
2016-08-03 19:55:58 +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 d57b173d39 file_tab: actually, list item allows to use tooltip. 2016-08-03 18:34:48 +09:00
Hermet Park 98e833ef37 file_tab: support full path tooltip info. 2016-08-03 18:30:49 +09:00
Hermet Park 43cfa31a14 edc_editor: show an image on cursor "images.image" 2016-08-03 16:39:26 +09:00
Jaehyun Cho 8878662778 main: Remove unused variables. 2016-08-03 15:56:03 +09:00
Hermet Park 010fc88fac setting: updated tooltip msg. 2016-08-03 15:53:32 +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
Hermet Park f7c0be87b7 wireframe: fix an issue that wireframe disappeared.
While adding new live objects, some of wireframes is disappeared.
Actually, they were blocked by new live object content.

Fix by re-adding them as smart members.
2016-08-03 13:46:59 +09:00
Hermet Park 96c767611b file_tab: fix a crash issue.
when user close a non selected file tab item,
Enventor occasionaly has a crash.
As investested, it seemed like an EFL issue.
But we can easily fix this by moving the function call.
2016-08-03 00:55:40 +09:00
Hermet Park af4ec62a1b edc_editor: ++secure code.
just in case, if the animator is called after ed instance is removed.
2016-08-03 00:38:03 +09:00
Taehyub Kim a6b495dc9c envnetor_smart: fix the view resize callback
Summary: fix the view resize callback

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/D4208
2016-08-02 22:49:28 +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 b32a30bd41 text_setting: Fix not to access unassigned array.
This fixes commit 6bf75f2044
2016-08-02 17:19:14 +09:00
Hermet Park 4468f9283c file_mgr: compare file pathes precisely.
Actually, it needs to compare realpath for files
to confirm to newly open or not.
2016-08-01 19:28:41 +09:00
Hermet Park 6bf75f2044 text_setting: apply lazy style to syntax color template code. 2016-08-01 16:54:52 +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 147541a628 help: updated about contents. 2016-07-27 13:00:47 +09:00
Jaehyun Cho 7448325239 help: Remove redundant wrap setting and Change wrap type.
Remove redundant wrap set with argument EINA_TRUE.
Change wrap type from mixed to word.
2016-07-27 10:33:11 +09:00
Jaehyun Cho 2c1b4ed275 reference: Fix incorrect variable types. 2016-07-26 23:13:20 +09:00
Hermet Park b67897a8ca live_edit: add fixed width & height tooltip msg. 2016-07-26 11:46:42 +09:00
Hermet Park 93ae1d6f95 help: code refactoring.
remove unseless lines and add descriptive comments.
2016-07-25 21:13:45 +09:00
Bowon Ryu 0822f1f246 help: updated help.
Summary: GUI composed of the edc layout.

Test Plan:
1. enventor
2. press F1 Key

Reviewers: Hermet, Jaehyun_Cho, herb

Differential Revision: https://phab.enlightenment.org/D4187
2016-07-25 21:09:15 +09:00
Hermet Park 32dbf96259 live_edit: fix broken relative popup.
If a relative part has a long name,
its text will be drawn over the popup box.

Set it's maximum size to prevent this.
2016-07-25 19:21:13 +09:00
Hermet Park 17ba4a2cd3 help: code refactoring.
Replaced bg to image.
Put the bg image resource into enventor theme.
2016-07-25 16:29:20 +09:00
Bowon Ryu 09ea8541bb help: updated help
Test Plan:
1. enventor
2. press F1 Key

Reviewers: Jaehyun_Cho, Hermet

Differential Revision: https://phab.enlightenment.org/D4178
2016-07-25 16:02:08 +09:00
Jaehyun Cho cf92ba7a67 edc_parse: Check more cases to update EDC info correctly.
"#if", "#endif", and "#define" cases are checked to update EDC
information correctly.

This fixes commit 2fc82c79d3
2016-07-22 19:24:33 +09:00
Jaehyun Cho 7def9a7865 edc_parser: Fix to parse "#define" expression correctly.
Update pointer after parsing "#define" expression.
Parse other expressions after parsing "#define" expression.
2016-07-22 19:09:00 +09:00
Jaehyun Cho b8beb179be edc_parser: Parse utf8 text instead of markup text. 2016-07-22 19:00:12 +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
Jaehyun Cho 8b8aa1fdfe edc_parser: Fix to move pointer correctly. 2016-07-22 15:06:24 +09:00
Jaehyun Cho 7331eb0390 edc_parser: Fix to use "\n" instead of <br/> on parsing utf8. 2016-07-22 15:06:23 +09:00
Jaehyun Cho 9edd41ac45 edc_parser: Replace char* to const char*.
Replace char* to const char* because the string is not modified.
2016-07-22 15:02:28 +09:00
Jaehyun Cho 2fc82c79d3 Revert "Support to use macro as a group name."
This reverts commit 335575eb84

Although using macro as a group name is not a common usage, but it takes
a lot of efforts to maintain and implement new features based on this.
2016-07-22 14:32:26 +09:00
Hermet Park cbb7caa834 file_mgr: reset contexts when file focus is moved on.
We need to reset goto, search, live edit even edc navigator context
if the selected file is switched to other.
2016-07-22 13:34:56 +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 d0f6bb2e36 syntax_color: improve macro keywords.
Set macro colors to the end of a strcuture,
if the define continues to the next lines with line wrapping.
2016-07-21 21:48:21 +09:00
Hermet Park f18efb732a edc_parser: fix typos. 2016-07-21 21:03:59 +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 505ea04e28 edc_editor: removed unused var. 2016-07-21 17:31:17 +09:00
Taehyub Kim 5ddaa8dbe5 live_edit: add more condition for min size of live edit item
Summary:
In case of the live edit item has min size without relative to part,
the size of the item should not be changed.
To cover this case, I added more condition

Test Plan:
1. launch envnetor
2. click a live edit item on tools
3. check the fixed option without "relative to" setting
4. insert the item with mouse double click
5. see the min size of the item while the view size is changing

Reviewers: Jaehyun_Cho, NikaWhite, bowonryu, Hermet

Differential Revision: https://phab.enlightenment.org/D4173
2016-07-21 17:25:11 +09:00
Hermet Park 7d88c580e1 goto: fix the go to window closing issue.
When go to window is unfocused, window is closed.
Though this behavior was intended, the functionality was not quite nice.
Even this caused a weired behavior(bug) on windows that,
go to window was closed when it's minimized.

So get rid of this policy!

@fix T3922
2016-07-21 17:13:21 +09:00
Jaehyun Cho 75f33b8f98 reference: Support keyword inheritance.
Support keyword inheritance by using #inherit expression.
(e.g. #inherit "collections.group.parts.part";)
2016-07-21 10:33:29 +09:00
Jaehyun Cho 04b5206d51 reference: Fix memory leak. 2016-07-21 10:30:02 +09:00
Jaehyun Cho 493e0dc0dd reference: Remove unused internal function. 2016-07-21 09:19:14 +09:00
Jaehyun Cho 8b0f1e175e reference: Add comments about how functions work. 2016-07-21 09:15:14 +09:00
Hermet Park 1cfb9985fb file_browser: skip folder items if their names are started with .
On the linux system, A folder, which name is started with . is intended hidden folders.
So skip appending them in default.
2016-07-20 19:43:47 +09:00
Hermet Park 449fa28899 workspace: set workspace path current path in default.
If user don't specify the workspace path,
Enventor set the workspace path to current directory path
while turning off file browser and file tab function in default.
2016-07-20 19:29:39 +09:00
Hermet Park 46fc271678 file_browser: compare file names exactly.
previously, it didn't care the relative paths.
compare file names but file paths exclusively.
2016-07-20 19:12:17 +09:00
Hermet Park f98b075d1e live_edit: add exceptional case.
If the live view size hasn't been set up yet,
live edit won't be functional.

Handles the case then displays the exceptional case message.
2016-07-20 18:59:15 +09:00
Hermet Park 58a1f10608 multi-file: ++implementation.
support live edit function.
2016-07-20 18:52:45 +09:00
Jaehyun Cho a768577e6c reference: Code refactoring to expand functionality. 2016-07-20 18:29:32 +09:00
Hermet Park 63f9dc9dee live_edit: rearrange objects stack.
Previously each live edit components are messed up in stacking.
Restacked by putting wireframe, dummy objects
below live edit object, control points, align lines and texts.

This required a totally hackishy method but there are no other solution so far.

@fix T4026
2016-07-20 15:00:37 +09:00
Hermet Park a5ecd83696 live_edit: fix typo? 2016-07-20 13:48:49 +09:00
Hermet Park d883a8c715 live_edit: don't displayed over the scroller.
Set a smart parent to actual view object so the control point
and texts to be clipped properly.
2016-07-20 13:46:51 +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
Jaehyun Cho 44e36e8b69 reference: Fix position of keyword reference layout. 2016-07-19 21:04:40 +09:00
Hermet Park 02a50da5d6 template: fix a invalid coordinates code generation.
fix a side effect of localizing floats.

_posix_fp() uses static stringbuffer.
If this function is called multiple times in printf(),
previous buffer data will be invalid.

we are calling this for x, y twice in one func.
2016-07-19 20:18:12 +09:00
Jaehyun Cho 763d7b2669 reference: Check dot('.') grammar to identify parent keyword.
Check dot('.') grammer (e.g. image.normal) to identify parent keyword.
2016-07-19 19:50:21 +09:00
Hermet Park 50b32ef8f4 live_edit: code refactoring.
remove hackish code.
you can write code prettier!
2016-07-19 19:47:43 +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
Jaehyun Cho 5179e31f39 file_browser: Display sorted file list based on file type. 2016-07-19 17:00:48 +09:00
Jaehyun Cho f567d51776 reference: Fix to handle one character keyword.
Fix to handle one character keyword such as "x" and "y".
2016-07-19 13:23:26 +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
Hermet Park d85f045099 preference_setting: update tooltip message. 2016-07-15 21:12:21 +09:00
Hermet Park a70270a9d9 arrange shortcut key
removed line number toggle.
f5 -> quick jump.
f6 -> reference tooltip.
2016-07-15 19:50:39 +09:00
Hermet Park cb46ee7d14 tools: use lower-case name for consistency. 2016-07-14 20:14:12 +09:00
Hermet Park 7ebc3e8c3c live_edit: updated tooltip msg. 2016-07-14 20:04:40 +09:00
Jean Guyomarc'h e910826ade template: don't localize floats in the edje editor
Summary:
Enventor live edit would generate invalid code with
the french locale.
Indeed, french uses a comma (",") as the decimal point,
instead of the dot. With localization enabled, printf()
would automatically localized the floating point,
introducing a comma in the edje code where a dot is
expected...

To avoid this, we now enclose the floats we don't want
to be localized (use the implicit POSIX local: with a dot)
in a function that looks the current locale and replace
the decimal point with a dot.

Test Plan:
(1) Without the patch, call LC_ALL=C enventor and see live
    edit if correct.
(2) Without the patch, call LC_ALL=fr_FR.UTF-8 envetor and
    see live edit generate invalid edje code.
(3) Apply the patch, and repeat steps (1) and (2) and observe
    that both cases now success.

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D4146
2016-07-14 13:58:06 +09:00
Bowon Ryu 8e0a3d8a98 console: apply syntax color for console error message
Summary:
current error message is hard to read.
if the message has a syntax color, then it will be better.

Reviewers: Hermet, herb, Jaehyun_Cho

Reviewed By: Jaehyun_Cho

Differential Revision: https://phab.enlightenment.org/D4124
2016-07-13 11:00:48 +09:00
Jaehyun Cho b570f792ff file_browser: Code refactoring to fix file search crash.
Previously, searching files in file browser causes crash.
Now, each file browser data contains genlist item and the genlist item
is also deleted when the file browser data is deallocated.
2016-07-11 21:29:58 +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 64bf39cc83 syntax_indent: fix a incorrect parsing.
Current cursor can be moving over by 1.
it occured broken indentation in a template insert corner case.
2016-07-07 16:33:59 +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 0384f50f01 multi-file: find the first group when edc item has a focus.
This properly switchs a current focused item view on realtime.
That means, when user switch files, it will display the first group
view in a new selected file.
2016-07-07 12:03:53 +09:00
Taehyub Kim 18030c6532 tempalate: change the description
Summary: change the description

Test Plan:
1. open new file
2. see the template name

Reviewers: Jaehyun_Cho, NikaWhite, bowonryu, Hermet

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

Conflicts:
	data/templates/Makefile.am
2016-07-07 11:09:46 +09:00
Hermet Park e2506983ad file_tab: free item memory properly.
when file tab is terminated, free used memory.
2016-07-06 15:04:47 +09:00
Hermet Park 0176bda440 file_tab: fix invalid memory access.
list item selected callback passed file tab item, not file data!
2016-07-06 14:49:41 +09:00