Commit Graph

2087 Commits

Author SHA1 Message Date
Hermet Park 3d610f1898 theme: just modify the file permission.
keep the file permission consistency.
2016-08-17 23:30:17 +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
Hermet Park 1fda44ae6d theme layout_setting: code refactoring.
use default state names explicitly.
2016-08-08 17:51:16 +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