Hermet Park
c213443fb1
file_tab: fix memory leak.
2016-08-27 16:38:40 +09:00
Hermet Park
7a947c2dd9
sytax_color: fix invalid memory access.
...
array index was over the range by 1.
fixed.
2016-08-27 16:36:51 +09:00
Hermet Park
cab3e34fa4
editor/parser: fix memory leaks detected by valgrind.
2016-08-27 16:26:41 +09:00
Hermet Park
755da93bff
auto_comp: fix memory leak.
2016-08-27 15:58:12 +09:00
Hermet Park
c9ac1d8f50
fix make distcheck errors.
2016-08-27 15:45:58 +09:00
Hermet Park
bf82057a78
update readme.
...
remove elementary package dependency
2016-08-27 15:40:27 +09:00
Hermet Park
64bd230f2c
updated Enventor introduction.
2016-08-27 15:37:34 +09:00
Hermet Park
6442ca1b4e
bump up version.
2016-08-26 20:41:21 +09:00
Hermet Park
9cbb90bd26
updated NEWS.
2016-08-26 20:29:48 +09:00
Hermet Park
cf740c2ae1
win32: fix the build break.
2016-08-26 17:17:25 +09:00
Hermet Park
caa2a39d65
win32: use a mutex to gurantee single instance app.
...
We found a corner case that the pc power is shut-down.
in that case lock file won't be removed and Enventor won't be
launched forever.
So use a mutex to recover this scenario additionally.
I tested all the scenarios that I can imagine,
and now it perfectly works fine!
2016-08-26 00:20:38 +09:00
Hermet Park
a0b9d4e911
edc_editor: rewrite 5ea2c05dec
...
We found a side effect from that patch. So rewrite it with an other approach.
It's a hackish but no idea except it :(
2016-08-25 17:22:47 +09:00
Jaehyun Cho
b3a5acf761
Revert "build: Support relative resource paths in sub edc file."
...
This reverts commit c17f2f3e37
.
2016-08-24 21:24:40 +09:00
Jaehyun Cho
1cf5123192
Revert "build: Fix changing working directory correctly in all OS."
...
This reverts commit 60c5967920
.
2016-08-24 21:24:25 +09:00
Jaehyun Cho
18b86be0f4
Revert "build: Fix warnings of the usage of chdir() and _chdir()."
...
This reverts commit 3bcf72a918
.
2016-08-24 21:24:18 +09:00
Jaehyun Cho
571342bf2e
Revert "code refactoring."
...
This reverts commit 6d5ce9daca
.
2016-08-24 21:24:06 +09:00
Hermet Park
6d5ce9daca
code refactoring.
...
centralize divergent logics.
2016-08-24 17:21:21 +09:00
Hermet Park
a709380b32
edc_navigator: support vector type icon.
2016-08-24 17:16:24 +09:00
Jaehyun Cho
3bcf72a918
build: Fix warnings of the usage of chdir() and _chdir().
2016-08-24 17:09:22 +09:00
Jaehyun Cho
60c5967920
build: Fix changing working directory correctly in all OS.
2016-08-24 17:01:33 +09:00
Hermet Park
5ea2c05dec
edc_editor: fix syntax color issue.
...
Some cases, the edc editor can't apply syntax color
when it opens a new edc file.
we can cover this scanerio by trying syntax color logic again
until it's succeed.
@T4275
2016-08-24 16:40:18 +09:00
Hermet Park
b87adfb06c
live_edit: eeek typo.
2016-08-24 16:20:20 +09:00
Hermet Park
cd18635424
live_edit: fix wrong rounding() usage.
...
Probably, It needs to overwrite the rounded value to the origins,
but it missed.
2016-08-24 16:18:04 +09:00
Hermet Park
522e843414
file_mgr: fix the crash issue.
...
In some senario, file mgr lost focused item
and it's invalid memorry caused a crash issue.
now it's fixed.
2016-08-24 15:59:01 +09:00
Hermet Park
c45c13d8bc
cleanup unused warning.
2016-08-24 12:53:11 +09:00
Jaehyun Cho
f5eb5361d2
main: Do not set default new file with template option (-t).
...
Template option (-t) creates a new file with the selected template.
Therefore, template option (-t) does not need to set default new file.
2016-08-24 09:51:39 +09:00
Jaehyun Cho
202fecd511
file_mgr: Do not replace current main file if it is the new main file.
...
Replace the current main file to a sub file if it is not the new main
file.
2016-08-24 09:43:20 +09:00
Jaehyun Cho
b6d9930e0a
file_mgr: Remove redundant code.
2016-08-23 23:39:58 +09:00
Jaehyun Cho
5ae577f5ea
file_mgr: Fix condition.
...
Fix condition based on the commit,
265626a86b
2016-08-23 23:34:39 +09:00
Jaehyun Cho
c17f2f3e37
build: Support relative resource paths in sub edc file.
...
Relative resource paths in sub edc files are based on the current working
directory.
To support relative resource paths in sub edc files, set main edc file's
directory as the working directory when edje_cc is executed.
Test Plan:
1. Create "main.edc" in "./edc/" directory.
2. Create "sub.edc" in "./edc/sub/" directory.
3. Create "icon.png" in "./edc/image/" directory.
4. "main.edc" includes "sub.edc". (i.e. #include "./sub/sub.edc")
5. "sub.edc" uses "icon.png".
(i.e. images.image: "./image/icon.png" COMP;)
6. Open "main.edc" in the current working directory.
(i.e. enventor -w ./edc ./edc/main.edc -i ./edc/image)
2016-08-23 21:42:13 +09:00
Hermet Park
13fa36376c
file_tab: bring in item when it's selected.
2016-08-23 09:33:23 +09:00
Hermet Park
63f3fae337
edj_viewer: fix the invalid size of part highlight for the text part.
...
My previous patch made a side effect that part highting size
wont be correct for the text part.
For now, disable the logic.
2016-08-23 09:07:40 +09:00
Hermet Park
30c32488e0
live_edit: multiply base_scale to the live edit object.
...
Previously, live edit object doesn't have base scale value
so text and textblock size is incorrect.
Now, its fixed.
2016-08-23 08:53:37 +09:00
Hermet Park
1e5ae3db45
stablize unstable worker threads.
...
Still there are unsafe thread functions that access invalid memory.
fix all of them.
2016-08-23 08:05:14 +09:00
Hermet Park
d3b0347ffd
eeek. stupid. simple mistake.
2016-08-23 04:29:16 +09:00
Hermet Park
a4952ba96e
re-implement the method for guranteeing the singleton instance on win32.
...
I found some crash issues that enventor couldn't catch the event.
Have no idea what kinds of the crashes but probably it'd out of the signal
handling.
So re-implement the way of supporting the locking file mechanism
to use the win32 basic File functionality that gurantee removing file
when Enventor is closed in normal or abnormal, either cases.
2016-08-23 04:20:23 +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
Hermet Park
6c5edd4e34
theme: fix the wrong layout.
...
Tools should be overlaid on the content.
Previously, console was over the tools layer but it's wrong.
2016-08-23 01:07:50 +09:00
Hermet Park
0ffbb836c7
file_tab: bring in selected item properly.
...
When an item is newly added or selected, it should be brought in the view.
2016-08-22 22:52:37 +09:00
Hermet Park
ddb4a44147
autocomp: add snapshot part.
2016-08-22 22:37:18 +09:00
Hermet Park
0633ff5ec9
syntax keyword: add "snapshot" keyword.
2016-08-22 22:35:28 +09:00
Jaehyun Cho
0f4b53b57a
live_edit: Apply base scale in live edit.
...
When a part is added in live edit, base scale is applied to the minimum
size of the part.
2016-08-22 18:44:46 +09:00
Jaehyun Cho
c4a02f9d05
Revert "live_edit: Apply base scale in live edit."
...
This reverts commit 05d92ed1c3
.
2016-08-22 17:56:36 +09:00
Jaehyun Cho
1bc328d6de
reference: Add keyword "base_scale".
2016-08-22 17:52:20 +09:00
Jaehyun Cho
9138b6be75
autocomp: Add keyword "base_scale".
2016-08-22 17:52:19 +09:00
Jaehyun Cho
05d92ed1c3
live_edit: Apply base scale in live edit.
...
When a part is added in live edit, base scale is applied to the part.
2016-08-22 01:34:22 +09:00
Jaehyun Cho
231ffaa7e1
lib: Add enventor_object_base_scale_get().
2016-08-19 18:28:48 +09:00
Jaehyun Cho
675990ad3f
live_edit: Apply round-off to view size and min size calculation.
...
To compute accurate view size and min size, apply round-off to view size
and min size calculation.
2016-08-19 18:28:47 +09:00
Jaehyun Cho
5126538a87
live_edit: Fix to reduce round-off error.
...
Round off values in the end to reduce round-off error.
2016-08-19 18:28:45 +09:00
Hermet Park
265626a86b
fix a invalid memoray access.
...
The focused_item could be invalid if the enventor item is removed before seting it null.
Also, the previous warning is no more invalid because
it was introduced by unsafe threads workers that was already fixed before.
2016-08-19 16:24:16 +09:00