Commit Graph

7893 Commits

Author SHA1 Message Date
Daniel Juyung Seo 6f65981864 elm_config.c: ELM_SAFE_FREE adoption.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 20:49:54 +09:00
Daniel Juyung Seo 1045cab8a7 elm_colorselector.c: ELM_SAFE_FREE adoption.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 20:47:36 +09:00
Daniel Juyung Seo 652ad1417f elm_cnp.c: ELM_SAFE_FREE adoption.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 20:47:08 +09:00
Daniel Juyung Seo 70988bc471 elm_priv.h: ELM_SAFE_FREE adoption.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 20:44:39 +09:00
Daniel Juyung Seo 602b04c578 elm_clock.c: ELM_SAFE_FREE adoption.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 20:44:08 +09:00
Daniel Juyung Seo d567f121ff elm_calendar.c: ELM_SAFE_FREE adoption for calendar.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 20:41:37 +09:00
Daniel Juyung Seo a9e5a2bf63 elm_button.c: ELM_SAFE_FREE adoption for button.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 20:41:01 +09:00
Daniel Juyung Seo 6320433058 elm_box.c: ELM_SAFE_FREE adoption for box.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 20:40:06 +09:00
Daniel Juyung Seo 7eef2d1892 elm_bg.c: ELM_SAFE_FREE adoption for bg.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 20:22:54 +09:00
Daniel Juyung Seo b0f793baa7 elm_access.c: ELM_SAFE_FREE adoption for access.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 20:22:16 +09:00
Daniel Juyung Seo 9e3517fbcd elc_popup.c: ELM_SAFE_FREE adoption for popup.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 20:20:58 +09:00
Daniel Juyung Seo 6ac249e370 elc_player: ELM_SAFE_FREE adoption.
1. ELM_FREE_FUNC -> ELM_SAFE_FREE
2. There were a lot of suggestions and consideration in the mailing list.
ELM_SAFE_FREE will be used only when it checks the pointer, deletes it, and initializes it to NULL.

ex)
if (timer)
  {
     ecore_timer_del(timer);
     timer = NULL;
  }
=>
ELM_SAFE_FREE(timer, ecore_timer_del);

My first aim was to remove many human mistakes but it looks like people want more optimized code in a code level.
So this macro will be used only for reducing 5 lines of code into 1 line.
Otherwise, I will just call xxx_del() manually.

3. ELM_SAFE_FREE can be used for other del or free functions such as ecore_job_del, ecore_animator_del, eina_stringshare_del, free, ...
2013-05-29 20:11:47 +09:00
Daniel Juyung Seo 5e6538eda1 test_icon_desktops.c: print out more useful information. 2013-05-29 00:38:11 +09:00
Daniel Juyung Seo 55a14655a2 elm_widget.c: formatting fix.
I am surprised that one space can annoy me.
2013-05-29 00:38:11 +09:00
Chris Michael e78ddf7a40 Add code to make Wayland Drag-n-Drop work in elementary client apps now.
NB: Handle with care ... code is still a bit experimental

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-28 12:01:24 +01:00
Chris Michael 6f82959191 Add elm_drag_action_set support for wayland and start on
elm_drag_start support.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-28 12:01:24 +01:00
Chris Michael 91a9693c79 Add elm drag item container support for wayland
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-28 12:01:24 +01:00
Chris Michael f69ec73e4b Add elm drop target support for wayland.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-28 11:50:51 +01:00
Seunggyun Kim 1bcd211857 Current elm_config has _elm_config->glayer_long_tap_start_timeout and _elm_config->glayer_double_tap_timeout variable but there is no api related to those.
Apps like setting want to change gesture tap timeout value on runtime.

So I added below APIs.
elm_config_glayer_long_tap_start_timeout_set/get
elm_config_glayer_double_tap_timeout_set/get
2013-05-28 19:11:14 +09:00
Carsten Haitzler 7a69eb2163 fix xdg config changes (not enabled yet but changes added segv). 2013-05-28 15:19:33 +09:00
Carsten Haitzler 643c9cff24 allow xdg dir usage if you add -DDOXDG to CFLAGS. 2013-05-28 12:31:59 +09:00
Jihoon Kim e9692aa769 Add ELM_INPUT_PANEL_LAYOUT_DATETIME 2013-05-27 16:20:18 +09:00
Tae-Hwan Kim 10a212a709 [list] Add signal emit hook.
Add signal emit hook same as genlist.
2013-05-27 13:25:18 +09:00
Daniel Juyung Seo 82ecdfbb25 elm popup,flipselector: removed unnecessary type casting and type check. 2013-05-27 01:20:05 +09:00
maxerba d4a181fb1c updating esperanto translation 2013-05-24 21:41:00 +02:00
Daniel Zaoui a40bed2a38 Elementary: Fix scroller APIs to be usable by all the widgets using the
scrollable interface.
2013-05-24 16:31:25 +03:00
ChunEon Park 71bee6ddeb elementary/widget - plase update display mode whenever sub object is set 2013-05-24 18:34:37 +09:00
ChunEon Park 86f7d566c6 elementary/widget - removed elm_widgetdisplay_mode_get().
since INHERIT_MODE is removed and it' doesn't need to care here anymore.
2013-05-24 18:25:16 +09:00
Daniel Juyung Seo ef8701a173 elm: more ELM_FREE_FUNC cleanups. 2013-05-24 00:58:38 +09:00
Daniel Juyung Seo 07911ab648 test_colorselector.c: refactoring.
1. intuitive smart callback names.
2. better printf contents.
3. avoid unnecessary casting.
4. use a proper space.
2013-05-23 19:11:57 +09:00
Ryuan Choi cbe6ae16b0 elm_colorselector: Can't receive "changed" signal when clicked color palette.
As document mentioned, "changed" should be emitted when the color value is changed.
So, this patch emits "changed" signal when color value is really changed.
In addition, fixed some formatting issue of test_colorselector.
2013-05-23 18:47:07 +09:00
Daniel Juyung Seo f2ce520e21 entry.edc: Reduced entry hander size. It was too big compared with other widgets. 2013-05-23 18:40:10 +09:00
Daniel Juyung Seo b28104166a elm_colorselector.c: fixed my mistake :( 2013-05-23 17:27:09 +09:00
Daniel Juyung Seo a6376e31b1 elm_colorselector.c: Set the colorselector color first before calling "color,item,selected" callback.
Special thanks to Ryuan Choi. This was detected while reviewing his patch.
2013-05-23 17:24:13 +09:00
Daniel Juyung Seo d2ec066da5 elm_web.c: fixed typo. special thanks to ryuan choi. 2013-05-23 16:39:58 +09:00
Daniel Juyung Seo 5f053bf79a elm: refactoring. use more ELM_FREE_FUNC. 2013-05-23 15:54:49 +09:00
Hosang Kim 5eda949b8f [toolbar] fixed code for verification(ecore_job_add)
make a pair for job event, check the event is alive before adding event.
2013-05-22 16:55:23 +09:00
Daniel Juyung Seo 893a36be40 elm_priv.h: space-- 2013-05-22 13:10:32 +09:00
Rafael Antognolli 34af955495 elm/framespace: Get the framespace from the theme.
Additionally, if the frame object can't be created (no theme group
available), do not use it. This will enable us to have a borderless
elm theme.
2013-05-21 16:32:48 -03:00
Daniel Juyung Seo ac25946a19 elm: introduce ELM_FREE_FUNC for code quality enhancement.
There are pros and cons but this
1. reduces human mistakes.
2. enhances readability.
3. enhances code quality.
4. removes future bug.
5. was adopted from enlightenment.

This is not all. I will work on enhancing elementary more and more.
2013-05-22 02:24:02 +09:00
Chris Michael d62689ca06 Set a sensible size for the dnd test window.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-21 11:00:02 +01:00
Daniel Juyung Seo e1e24cdeab test_icon_desktops.c: use elm_genlist_item_class_new/free() apis. 2013-05-21 16:12:52 +09:00
Thiep Ha 7c70300e1e Add selection handlers to entry 2013-05-21 09:17:26 +09:00
Tom Hacohen 09589956a6 elm_config_clouseau_enable_* -> elm_config_clouseau_enabled_*.
Thanks to SeoZ for reporting this.
2013-05-20 17:38:00 +01:00
Daniel Juyung Seo 2d7b273b7c elm_diskselector.c: fixed potential bug of diskselector.
set the variable to NULL after freeing the list.
2013-05-21 01:25:08 +09:00
Tom Hacohen de1c965029 Made clouseau_enable an elm_config option.
You can now just use elementary_config to enable and disable clouseau on
run-time.
2013-05-20 14:46:44 +01:00
ChunEon Park 1e9ef8aa5b elemenatry/naviframe - don't pop the view if the freeze_event is enabled and some views are alreadying popping. 2013-05-20 20:43:22 +09:00
Doug Newgard 901c037aa7 Elementary: Minor cleanup of eldbus in configure.ac.
Just realigns things and corrects names and versions.
2013-05-20 20:38:44 +09:00
ChunEon Park 7c652d8a77 elementary/ews_wm - prevent to add a duplicated animator. 2013-05-20 19:17:57 +09:00
ChunEon Park 7f7cc5ad39 elementary/win - prevent to add the timer multiple times. 2013-05-20 19:09:13 +09:00