Commit Graph

1646 Commits

Author SHA1 Message Date
Taehyub Kim 6ba3339d25 template: fix the fixed condition for relative_to
Summary:
fix the fixed condifion for relative_to.
the condition was wrong, so I fixed it.

Test Plan:
1. Launch Enventor
2. Click a Live Edit Item
3. Check fixed_w and fixed_h
4. Insert the Live Edit Item

Reviewers: Hermet, Jaehyun_Cho, NikaWhite

Differential Revision: https://phab.enlightenment.org/D3943
2016-05-16 23:30:26 +09:00
Taehyub Kim afd04c7469 enventor_smart: fix mirror mode for relative_to
Summary:
When we apply mirror mode, we need to considering swap relative_to,
but exist code was not checking null pointer.
so I fixed the logic.

Test Plan:
1. Launch Enventor
2. Apply Mirror Mode
3. Insert a live edit item with relative_set setting

Reviewers: Hermet, Jaehyun_Cho, NikaWhite

Differential Revision: https://phab.enlightenment.org/D3942
2016-05-16 23:28:30 +09:00
Jaehyun Cho 9ab099dd4c edc_navigator: Fix warnings. 2016-05-16 22:55:30 +09:00
Jaehyun Cho 03ffd3a8c4 file_browser: Fix warnings. 2016-05-16 22:45:16 +09:00
Jaehyun Cho 54698e69d9 enventor: Fix eo. 2016-05-16 00:29:02 +09:00
Hermet Park 87b107604b template: apply lazy style for spacer template. 2016-05-15 17:57:49 +09:00
Jaehyun Cho 5268e282d5 file_browser: Set NULL to freed data pointer to prevent double free.
To prevent double free when genlist items are expanded and contracted,
set NULL to freed data pointer.
2016-05-14 19:59:19 +09:00
Jaehyun Cho 2b40c0a170 file_browser: Fix to display refresh button only on workspace.
Previously, refresh button is displayed on all directories.
Now, refresh button is displayed only on workspace directory.
2016-05-14 19:41:35 +09:00
Hermet Park 682d95c1f0 edc_navigator: remove redundant code.
genlit fixed content the re-usage issue.
now this code it no more necessary here.
2016-05-14 19:32:35 +09:00
Hermet Park 96f1fc1c28 update a usage of namingspace for evas object smart. 2016-05-13 00:45:48 +09:00
Taehyub 5194059b40 live_edit: Add new feature about setting relative_to among the exist parts
Summary:
Add new interface feature about setting relative_to to make relationship esaily
between part and part. Now, we can make the relationship using just mouse interface.

Test Plan:
1. launch enventor
2. add live edit item using live edit toolbar
3. drag the item to the another part
4. move a control point that you want to make a relationship to the another part edge
5. and then relative_to ctxpopup is shown
6. select the relative_to item in the ctxpopup
7. insert the live edit item with double click
8. check the inserted code whether it is make relationship or not

Reviewers: Jaehyun_Cho, NikaWhite, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D3936
2016-05-11 21:57:51 +09:00
Hermet Park b1b1583b54 tools: fixed 0 1; warning issue. 2016-05-10 23:29:59 +09:00
Jaehyun Cho 5dbfbd64f3 tools: Divide tools into live view tools and text editor tools.
Now tools are divided into live view tools and text editor tools based
on their functions.
Region for file browser tools and edc navigator tools is also reserved.
2016-05-10 23:19:36 +09:00
Jaehyun Cho 7a85d0bc3b live_edit: Remove unused code.
live_edit does not need trigger any more. Therefore, code related to
trigger is removed.
2016-05-10 23:19:04 +09:00
Hermet Park 5450bcdf1b file_browser: just comment fixed. 2016-05-08 04:52:33 +09:00
Hermet Park 5c21ca9ba9 file_browser: refactoring internals.
remove unnecessary edc usage.

and don't surprise even though refresh button generation is wierd.
That is about genlist bug and will be fixed there soon.
2016-05-08 04:49:55 +09:00
Hermet Park c20a47bced edc_edit: code refactoring.
toggle option for ctxpopup should be global.
so, take care of this in enventor object data.

This is a partial change for multiple edc editor.
2016-05-08 03:16:46 +09:00
Hermet Park a77f756735 edc_edit: fixed redo undo short cut keys.
there were still wrong implementation. fixed them.
2016-05-08 03:11:04 +09:00
Hermet Park 47bbaf731b edc_edit: fix broken ctrl+z, ctrl+r short-cut key events.
This was introduced from previous patches.
Now initialization point of edit_data is next to the efl lib initialization.
This broke this and now i fixed this with dispatching way.
2016-05-08 02:55:46 +09:00
Hermet Park 512e13a626 redoundo: fix invalid timer usage.
don't access freed timer.

@fix
2016-05-08 02:36:52 +09:00
Hermet Park 0b27ce5474 redoundo: code refactoring.
toggle option for redoundo should be global.
so, take care of this in enventor object data.
2016-05-08 02:34:31 +09:00
Hermet Park e36b84e53d internal changes for supporting multiple editor.
loose the dependency of edc_edit with enventor instance.
2016-05-07 23:14:45 +09:00
Hermet Park 047c9ff238 refactoring for multiple edc editor.
move editor attributes out of edc_edit.
since those attributes should be applied through editors.
2016-05-07 17:35:07 +09:00
Hermet Park ae7f3e30b3 redoundo: do coupling with edc_edit instance.
one redoundo should work with it's owner editor.

This is a refactoring for multiple edc editor.
2016-05-07 04:14:47 +09:00
Hermet Park dc916f0dfe syntax_indent: code refactoring.
1. reuse exisiting strbuf.
2. fix code convention.
3. coupling with editor entry.
2016-05-07 02:58:26 +09:00
Hermet Park fa3dc0cc3a just rename file.
indent -> syntax_indent
2016-05-07 02:32:05 +09:00
Hermet Park fa1d1fc6d7 syntax_color: reorganize internals for multiple edc editor.
place a global syntax color source to share throught editor instances.

This is a partial change for supporting multiple edc files.
2016-05-07 01:46:58 +09:00
Jaehyun Cho 1b5054c1eb file_browser: Disable functions if workspace is not set.
Workspace layout is disabled to disable functions in file browser if
workspace is not set.
2016-05-04 15:10:26 +09:00
Jaehyun Cho b34c637273 file_browser: Add file search function.
If a search word is input, then files which contain the search word in
their file names are displayed.
To show file icons clearly in search mode, file icon images of file
browser are modified.

@T3579
2016-05-04 15:10:25 +09:00
Taehyub Kim 279eea73eb live_edit: add new feature about auto align
Summary:
when we are layouting using live edit item,
It is hart to align the inserting item among the exist parts.
so add auto align feature to align easily.

Test Plan:
1. launch enventor
2. add a live item using the toolbar
3. move and resize the live item in live view
4. check the auto align function when the item near another part

Reviewers: Jaehyun_Cho, NikaWhite, Hermet

Differential Revision: https://phab.enlightenment.org/D3884
2016-05-03 16:53:07 +09:00
Jaehyun Cho cfc55700ce file_browser: Expand current directory only.
Previously, file browser expands all directory hierarchy.
Now, file browser expands current directory only.
Moreover, directory's sub file data is created when the directory is
expanded to support deep directory hierarchy.
2016-05-03 14:47:33 +09:00
Jaehyun Cho 5e4cbcfc9c file_browser: Fix crash that occurs when file does not exist.
ecore_file_exists() returns EINA_FALSE for some cases although the given
file exists. This commit is for the above malfunction cases.
2016-05-03 13:11:23 +09:00
Hermet Park d5a3c29f36 file_browser: adjust refresh button position. 2016-05-02 22:55:33 +09:00
Jaehyun Cho 037f9d4283 file_browser: Apply resource file icons.
Apply edc, image, sound, and font file icons.
2016-05-02 19:45:44 +09:00
Jaehyun Cho a030df08d1 file_browser: Fix "Workspace" text position. 2016-05-02 19:45:03 +09:00
Jaehyun Cho a176e619e6 file_browser: Support "Show All Files" function.
By default, file browser shows resource type files only such as edc,
image, sound, and font type files.
If the "Show All Files" check is on, then file browser shows all types
of files.

@T3390
2016-05-02 15:49:14 +09:00
Jaehyun Cho 48fb17f938 file_browser: Change refresh button.
Change the refresh button to an icon button and move it next to the
"Workspace".
2016-05-02 15:49:00 +09:00
Jaehyun Cho f84eeb951e file_browser: Remove "Collections EDC".
Normally collections edc is included in the workspace directory.
Therefore, "Collections EDC" item is removed from the file browser.
2016-05-02 15:48:58 +09:00
Hermet Park 084fbd4b62 add TODO for multiple file editor. 2016-05-01 22:26:12 +09:00
Hermet Park 22fc5a96e5 edc_parser: fix wrong value.
base_scale shouldn't be zero.
2016-05-01 22:07:42 +09:00
Hermet Park 6946d1f715 additional implementation for multiple edc editor.
some missing implementation from bea4735e02.
2016-05-01 22:05:20 +09:00
Hermet Park 3db7a0a7c8 remove EINA_REF
This looks quitely unnecesary. go away from here.
2016-05-01 21:21:40 +09:00
Hermet Park bea4735e02 Change Enventor API.
This is a partial change for supporting multiple edc files.

enventor_object_file_set() -> enventor_object_main_file_set()
2016-05-01 21:16:31 +09:00
Hermet Park e08cc69795 code refactoring
change declarations type of enventor object

from Evas_Object to Enventor_Object
2016-05-01 20:27:08 +09:00
Hermet Park 9c2748d95b code refactoring.
put declarations at proper positions.
2016-05-01 17:31:37 +09:00
Hermet Park bd78cafef4 theme: update invert size icon. 2016-05-01 16:22:05 +09:00
Hermet Park dfd4a1acde theme: update expand icon design. 2016-05-01 16:04:04 +09:00
Hermet Park c33f835836 live_edit: fix center guide text positioning problem.
This problem looks it just introduced from copy & paste...

@fix T3568
2016-04-28 22:45:20 +09:00
Jaehyun Cho 0f3740630e file_browser: Add refresh button.
When refresh button is clicked, then all directories in file browser are
updated.
2016-04-28 17:51:09 +09:00
Hermet Park 8c6da49ae1 colorpalette: remove fixed warnings. 2016-04-27 00:06:25 +09:00