Commit Graph

2108 Commits

Author SHA1 Message Date
Taehyub Kim a7329630c3 lib util: apply enventor coding convention
Summary: apply enventor coding convention

Reviewers: Jaehyun_Cho, NikaWhite, bowonryu, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D4271
2016-09-01 20:00:13 +09:00
Hermet Park b36401793a updated authors 2016-08-28 02:15:11 +09:00
Hermet Park 47f30db217 back to devel mode. 2016-08-28 01:32:17 +09:00
Hermet Park a7607172bc Revert "Revert "updated eo syntax usage.""
This reverts commit 92e1f996a7.
2016-08-28 01:31:35 +09:00
Hermet Park f1cca70e8d Revert "Revert "wooo.. one more eo change.""
This reverts commit 235bf45929.
2016-08-28 01:31:26 +09:00
Hermet Park 235bf45929 Revert "wooo.. one more eo change."
This reverts commit 9d188e601e.

revert temporarily.
2016-08-28 01:18:28 +09:00
Hermet Park 92e1f996a7 Revert "updated eo syntax usage."
This reverts commit a1cabe509f.

revert temporarily.
2016-08-28 01:18:06 +09:00
Hermet Park 0cc2d947b8 updated po 2016-08-28 01:03:10 +09:00
Hermet Park 572b48a9f9 edc_parser: fix memory leak.
here redundant code caused memory leak.
remove it.
2016-08-28 00:51:17 +09:00
Hermet Park 626c184817 auto_comp: free the all used memory.
clean logic of lexem_nodes was a little aweful
even it missed chunks of memory.

free all of them perfectly.
2016-08-28 00:06:12 +09:00
Hermet Park c6cff4bef8 fix memory corruption at free time.
That list pointer could be corrupted because
inside of the enventor_item_del(), the list head pointer could be modified.
2016-08-27 23:42:15 +09:00
Hermet Park 9504c8a634 edc_editor: fix memory leaks.
evas_textblock_cursor_content_get() requires free the returned data.
2016-08-27 23:25:24 +09:00
Hermet Park bab9f21128 edj_mgr: ++safe code.
nullout to not access invalid memory.
2016-08-27 23:15:30 +09:00
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