Commit Graph

2106 Commits

Author SHA1 Message Date
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 8aeac17e4d reference: Apply #inherit expression to part type keywords. 2016-07-21 10:37:37 +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
Hermet Park b43d92abbe template: clear MobileLayout code. 2016-07-19 14:01:52 +09:00
Bowon Ryu fda5113662 templates: updated mobile layout
Summary: This sample similar to general mobile layout.

Test Plan:
1. enventor
2. esc -> New
3. BasicMobileApp

Reviewers: Jaehyun_Cho, herb, Hermet

Differential Revision: https://phab.enlightenment.org/D4161
2016-07-19 13:48:24 +09:00
Jaehyun Cho cf280a4c83 reference: Add part type keywords.
box, group, image, part, proxy, rect, spacer, swallow, table, text,
textblock, vector, and their children keywords are added.

Notice that most of properties of part types are the same. Now the
descriptions of the properties are duplicated.

Notice that external part type is not added since there is no
description about external part type.
2016-07-19 13:32:30 +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
Jaehyun Cho 3a4bbab8d2 reference: Add keywords in group block.
alias, broadcast_signal, inherit, limits, max, min, script, and their
children keywords are added.

The descriptions refer the following website.
https://developer.tizen.org/dev-guide/2.3.1/org.tizen.guides/html/native/ui/edc_part_block_n.htm
2016-07-18 19:17:37 +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 adc7ba1c48 reference: Add resource type keywords.
color_classes, data, fonts, images, sounds, styles, and their children
keywords are added.

The descriptions refer the following website.
https://developer.tizen.org/dev-guide/2.3.1/org.tizen.guides/html/native/ui/edc_part_block_n.htm
2016-07-16 01:24:09 +09:00
Jaehyun Cho dedad7bbad reference: Modify keywords' descriptions. 2016-07-16 01:24:07 +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 6ebb0d1ba5 Revert "templates: updated button"
This reverts commit 25e6943e33.

This patch didn't intended...
2016-07-15 19:18:51 +09:00
Hermet Park 12d9df1ce1 template: updated watchface resource. 2016-07-15 19:18:29 +09:00
Hermet Park deb1e1bfbf template: add guidance comments in list item. 2016-07-15 19:14:27 +09:00
Hermet Park d78d731d93 template: updated list item content. 2016-07-15 19:12:19 +09:00
Bowon Ryu 25e6943e33 templates: updated button
Test Plan:
1. enventor
2. esc -> New
3. Button

Reviewers: Hermet, Jaehyun_Cho, herb

Differential Revision: https://phab.enlightenment.org/D4162
2016-07-15 18:55:36 +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
Hermet Park 18083fbdbf updated SHORTCUT manual. 2016-07-14 19:52:05 +09:00
Hermet Park 29c89341fa updated authors. 2016-07-14 14:01:50 +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
Hermet Park bc3a11dbb8 update syntax color keywords. 2016-07-13 11:58:27 +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