Commit Graph

44 Commits

Author SHA1 Message Date
Vincent Torri cca2d207e6 fix warnings and a missing include
Summary: C functions without parameter should have void. missing inclusion of locale.h for localeconv()

Test Plan: compilation

Reviewers: raster, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D12231
2021-02-01 11:18:51 +00:00
Jaehyun Cho 18bb73f161 edc_parser: Append different string to each candidate list. 2016-11-23 20:50:15 +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
Taehyub Kim a9c1c62cbe ctxpopup: apply coding convention
Summary:
apply codinf convention
@fix

Reviewers: Hermet, Jaehyun_Cho, NikaWhite

Differential Revision: https://phab.enlightenment.org/D4085
2016-06-25 12:27:08 +09:00
Hermet Park 6635a98393 ctxpopup: block whole area if the editor ctxpopup is activated.
Since enventor allowed user to touch outer of editor while its ctxpopup is activated,
the context could be broken.

Block whole area and prevent the context break.

@fix T3752
2016-06-01 23:40:40 +09:00
Hermet Park 8d109970c6 code refactoring.
sanitize duplicated error message code.
2016-04-26 23:13:42 +09:00
Hermet Park 99eee8091e ctxpopup: fix a broken ctxpopup image relay behavior.
grab keys to ensure key events.

fix @T3271
2016-04-26 22:18:05 +09:00
Jaehyun Cho 849c01410c edj_viewer: Check if edj file set is finished.
Check if edj file set is finished and do not call edje_edit functions if
edj file set is not finished.

Test Plan:
1. Open edc
2. Modify edc incorrectly (e.g. Remove semicolon)
3. Save edc
4. Open the saved edc
5. Mouse double click "target" in program.
2016-03-23 23:04:56 +09:00
Hermet Park 6428fd4ede remove compile warnings.
insert brackets to declare structure initial values clearly.
2016-03-05 11:40:18 +09:00
Hermet Park 6d2b4a01b4 remove unused compile warnings. 2016-03-05 11:27:24 +09:00
taehyub 3cb3dfdda7 ctxpopup.c: change sprintf function to snprintf function
Summary:
change sprintf to snprintf for code safety

@fix

Reviewers: Hermet, Jaehyun_Cho, NikaWhite

Differential Revision: https://phab.enlightenment.org/D3757
2016-03-04 16:12:37 +09:00
taehyub d86d1f38ee ctxpopup.c: change strcat function to strncat function
Summary:
change strcat to strncat for code safe

@fix

Reviewers: Hermet, Jaehyun_Cho

Differential Revision: https://phab.enlightenment.org/D3755
2016-03-04 16:06:20 +09:00
Jaehyun Cho 69029879d8 ctxpopup: Reset candidate values by backspace key.
toggle, slider and colorselector values of candidate ctxpopup are reset
by backspace key.
2016-02-26 20:07:04 +09:00
Jaehyun Cho f96c2a92a6 ctxpopup: Refactoring to get sliders easily. 2016-02-26 19:34:07 +09:00
Jaehyun Cho 61a0effa33 ctxpopup: Refactoring to get toggles easily. 2016-02-26 19:32:00 +09:00
Hermet Park ac26094e08 ctxpopup: remove a warning.
casting 64bits data void * type correctly.
2016-02-26 16:55:26 +09:00
taehyub 27f62fc10b add color modification feature to change color easier
Summary:
To make it easier for user to modify color,
I added color modification feature such as colorselector,
color view, color inputs and priority color lists into the ctxpopup.

Test Plan:
1. click the 'color' keyword
2. see the color components of ctxpopup
3. change the color using the components

Reviewers: Jaehyun_Cho, NikaWhite, Hermet

Differential Revision: https://phab.enlightenment.org/D3726
2016-02-26 16:54:21 +09:00
Hermet Park fe41adaa28 support a guide text for editor ctxpopup.
introduce a new smart callback "ctxpopup,activated"

@feature
2016-02-09 17:51:11 +09:00
Hermet Park ab0dab409c stats: add a function to resize a live view.
previously, editor ctxpopup had inc/dec buttons to control values elaboratly.
I removed them because user could control them using mouse wheel.

I believe it's cleaner and nicer ui for enventor.

@feature
2016-02-09 17:19:23 +09:00
Hermet Park c5c352c917 ui: improve editor ctxpopup function.
allow +/- buttons' autorepeat functions.
2016-02-09 15:41:30 +09:00
Hermet Park ab8dc5f3ed ui: improve editor ctxpopup.
remove a entry in the editor ctxpopup.
we don't need to display entry anymore
since the changes is simulteniously applied into the editor text.
2016-02-09 15:32:42 +09:00
Hermet Park 9fda7d3407 improve ux: change editor ctxpopup direction order.
Come to think of it, up/down direction of ctxpopup is more comfortable
to watch the values updation while modifying the values in ctxpopup.
2016-02-09 02:07:44 +09:00
Mykyta Biliavskyi f9a5d71896 Ctxpopup: reload the image content for preview.
The mouse wheel Up/Down to show preview of the
previous/next image. Previously the new ctxpopup
widget was created for each image inside the set.
Now the preview content is reloaded without
creating new ctxpopup widget.

fix T2974
2015-12-28 17:10:13 +09:00
Mykyta Biliavskyi c8fdf43e9a Fix compilation warnings for enventor library. 2015-09-15 17:39:51 +00:00
Mykyta Biliavskyi 1955c96144 Ctxpopup: dismiss ctxpopup after the candidate chosen.
Summary:
Add the elm_ctxpopup_dismiss call inside the
candidate select callback function.
Delete unused function ctxpopup_candidate_selected_cb.

Test Plan:
change  rel1.to param using candidate list.
After select candidate - ctxpopup should be dismissed.

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D3043
2015-09-14 15:25:36 +00:00
Mykyta Biliavskyi 0a64eab88b Candidate list: filter the generated program names.
Summary:
for cases when candidate list contain
names of programs, all generated names will be
ignored.
The generated name is started with: "program_0x" - template.

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D2970
2015-09-04 15:39:00 +09:00
ChunEon Park 7e6fbfde90 ctxpopup: cutout slider updation.
we don't need to update slider changes multiple times under the animator callback.
2015-07-09 15:31:37 +09:00
ChunEon Park b654fee78a ctxpopup: remove a space in the generated code just around ';' 2015-07-02 21:39:15 +09:00
ChunEon Park 92c09a0a39 ctxpopup: support dramatic updation for live view.
a little slow, but it's better than before.

added smart callback, @live_view,updated
renamed smart callback, @ctxpopup,selected -> @ctxpopup,changed
2015-07-01 01:25:04 +09:00
Mykyta Biliavskyi c7cd1ee563 Fix -Wint-to-pointer-cast compiler warning in ctxpopup.c 2015-06-24 13:21:34 +09:00
Mykyta Biliavskyi 4e4dd4400c Fix candidate popup positioning is wrong.
Ctxpopup will not show, if the size of
editable area is smaller, than ctxpopup wth content.

@fix T2180
2015-06-09 16:00:51 +09:00
ChunEon Park cdab9f0a5d clean up code for supporting dllexport in win32. 2015-02-28 15:13:23 +09:00
ChunEon Park 96d4919a6b enable ENVENTOR BETA API in configure. 2015-02-28 14:50:17 +09:00
Michelle Legrand 05a848fddd lib: add export/import for libraries on Windows
Summary: Exporting/Importing Enventor dll for Win32.

Differential Revision: https://phab.enlightenment.org/D2040
2015-02-28 14:33:18 +09:00
ChunEon Park 5e8f437df5 fix all annoying warnings. 2015-02-27 17:26:02 +09:00
Jaehyun Cho 0abb1870dc ctxpopup: Fix the focus order of up/down buttons. 2015-02-27 16:48:02 +09:00
Jaehyun Cho ec28195641 ctxpopup: Fix to initialize string buffer.
Summary: Fix to initialize string buffer before calling strcat().

Reviewers: Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D1831
2014-12-30 11:52:14 +09:00
ChunEon Park ef6ac44737 lib/ctxpopup: simpler toogle message 2014-12-19 14:44:09 +09:00
Jaehyun Cho 528389b95c ctxpopup: Support toggle candidate.
Summary:
Support toggle candidate.
         @feature

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D1789
2014-12-19 14:36:49 +09:00
Jaehyun Cho 48e56a4c4c ctxpopup: Change slider candidate style to contain type and entry.
Summary:
Change slider candidate style to contain value type and entry.
@feature

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D1743
2014-12-16 09:08:15 +09:00
Jaehyun Cho b33e0e824e ctxpopup: Disable autoscroll while ctxpopup is visible.
Summary:
Disable autoscroll while ctxpopup is visible.
         This fixes the incorrect region show problem when ctxpopup is opened
         and also enables slider and buttons in ctxpopup can get focus.
         @fix

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D1731
2014-12-09 11:19:07 +09:00
Jaehyun Cho f05dca3a22 Change the way of activating candidate ctxpopup.
Summary:
Change the way of activating candidate ctxpopup.
         @feature

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D1729
2014-12-09 11:09:36 +09:00
ChunEon Park 7adb7fc5ae lib/ctxpopup: disable slider focus.
There is a editor auto scroll problem.
We don't need focus on slider so disable the slider focus that triggered the problem.

Please fix it later if possible.
2014-11-03 17:26:08 +09:00
ChunEon Park e5927b37eb library support.
current enventor apis are under beta apis.
im notice you these apis could be changed soon.
2014-09-30 23:56:16 +09:00