Commit Graph

121 Commits

Author SHA1 Message Date
Daniel Juyung Seo db5fe2581d elm: Removed unnecessary null check for evas_object_del. 2014-01-22 10:54:52 +09:00
Daniel Juyung Seo 68eca6d62e url: Added underscore(_) to elm internal functions, elm_url_xxx.
- _elm_url_download, _elm_url_cancel, _elm_url_get
- other internal functions in elm_priv.h also have same prefix.
2014-01-21 23:23:37 +09:00
Daniel Juyung Seo a4f3074f9c elm: Removed unnecessary null check for ecore_timer_del,
ecore_animator_del, and ecore_job_del.

As all efl public free apis get null as valid parameter, we do not need
to check null. I also removed some null check for other free apis which
were right next to timer/animator/job del. After this job code got
cleaner.
2014-01-21 23:18:16 +09:00
Yakov Goldberg 3379c124df all widgets: change Eo API for "elm_widget_theme()" to "theme_apply"
There are elm_widget_theme/theme_set/theme_get functions.
    In Eolian these functions will be described as "theme" method and
    "theme" property. There is clash here.
    So add suffix "_apply" to Eo API for "elm_widget_theme".
2014-01-21 11:08:29 +02:00
Daniel Juyung Seo fd5c046dfe elm: Changed __UNUSED__ to EINA_UNUSED. 2014-01-06 23:33:57 +09:00
Daniel Juyung Seo 6d71a23c3a elm lib: removed all the unnecessary empty lines.
being pedantic.
2013-12-15 06:18:35 +09:00
Tom Hacohen 2f1e1554e5 Changed Eo class names to be consistent.
All the class names are now of the format: Elm_Type_Subtype_Extra
2013-11-07 11:44:22 +00:00
Daniel Juyung Seo d22076681b elm: Fixed formatting about smart_event check for code consistency.
- Made it look clearer.
- Removed unnecessary local variables.
- Keep the code sequence consistent.
2013-10-28 23:30:12 +09:00
Jaehyun Cho db2d711d64 [elm_widget] Enable not to add resize object to or delete resize object from sub object when the resize object is set.
Summary: Add one more argument, 'Eina_Bool sub_object' to elm_widget_resize_object_set. If the argument, 'sub_object' is set as EINA_TRUE, the new resize object is added to the sub object and the previous resize object is deleted from the sub object.

Reviewers: Hermet, seoz

CC: Jaehyun_Cho, seoz, raster

Differential Revision: https://phab.enlightenment.org/D265
2013-10-17 01:19:40 +09:00
Daniel Juyung Seo 10c6f78561 elm_photocam.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:15:09 +09:00
Cedric Bail 29af5e1e43 elementary: update to new eo_parent_get/set API. 2013-09-25 13:34:27 +09:00
ChunEon Park d461a8be05 elementary/widgets - set parents before widget constructs their body.
This avoids unnecessary multiple setups when obj and subobj has connected.
2013-08-27 14:19:19 +09:00
Cedric Bail e244017816 elementary: add support for url in Elm_Photocam and gave a look at Nasa Earth picture. 2013-08-12 12:14:45 +09:00
Carsten Haitzler 59e8bc5a35 Fix elm to use key not keyname (so xmodmap works) 2013-07-31 15:16:41 +09:00
Daniel Juyung Seo 6cf684f02a elm: added more "focused" and "unfocused" documentations.
genlist, hover, index, list, map, photocam, progressbar, radio, scroller, slider, slideshow, spinner, toolbar, win.
2013-06-10 14:13:55 +09:00
Daniel Juyung Seo 8bfdbd2ba6 elm: all the focusable widget now emits "focused" and "unfocused" smart callbacks.
1. documentations, NEWS, and ChangeLog will be updated later after some more test.
2. need to check entry.
2013-06-07 01:13:37 +09:00
Daniel Juyung Seo 8723a085e0 elm_photocam.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 21:05:37 +09:00
Daniel Juyung Seo 5f053bf79a elm: refactoring. use more ELM_FREE_FUNC. 2013-05-23 15:54:49 +09:00
Cedric Bail c929b33052 elementary: properly sanitize headers order. 2013-05-03 16:07:06 +09:00
Daniel Zaoui 187d6bf8de Elementary: replace eo_data_get for objects data referencing. 2013-05-01 11:04:09 +03:00
Daniel Juyung Seo 74b3eed5fd elm: print the error message inside elm_widget_sub_object_add().
1. Do not need to print the same error message from all the widget codes.
2. Even though elm_widget_sub_object_add() can be used internally, there should be no error message at all.
   Elm devs should fix it beforehand.
   So it looks ok to print the error message in elm_widget_sub_object_add() to force elm devs to fix it.
3. Got additional code cleanups.
2013-04-03 11:28:53 +09:00
Tom Hacohen d75cb616da Change usage of eo_do_super to the new prototype. 2013-03-18 16:15:12 +00:00
Daniel Juyung Seo 78c042cdbe elm *.c: fixed formatting with EINA_LIST_FREE.
EINA_LIST_FREE (xxx) -> EINA_LIST_FREE(xxx)
2013-03-09 13:23:42 +09:00
Jaehwan Kim d58d971e6f Add the option about sending signals in content_pos_set.
When the scroller is resized, the signals("elm,action,scroll", "elm,edge,top" so on) shouldn't be sent,
because it's not a scroll-action. So in this case, the content_pos_set should be called without the signals.
2013-02-28 15:18:51 +09:00
ChunEon Park ff3150ee09 elemenatry/photocam - oopss sorry my fault.
SVN revision: 84081
2013-02-19 08:10:34 +00:00
ChunEon Park f8b3da532a elemenatry/photocam - reverted 84074
SVN revision: 84075
2013-02-19 08:05:50 +00:00
ChunEon Park 6af1925282 elementary/photocam - removed unused
SVN revision: 84074
2013-02-19 08:00:49 +00:00
ChunEon Park 844b5805ff elementary/widget - don't handle tthe resize objects in widget infrastructure. Acutally these resize objects are sub objects so we don't need to care them separately. This caused overhead in some cases(ie, theme change)
SVN revision: 83990
2013-02-16 13:39:59 +00:00
Daniel Zaoui cdd1eea853 Replace supported_types
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 83803
2013-02-10 07:52:31 +00:00
Daniel Juyung Seo ffa9c1e793 elm: Refactoring.
Smart data is already initialized so we do not need to re-initialize them if the value equals to 0, NULL, or EINA_FALSE.
Sometimes re-initializing smart data explicitly is needed for readability. So there are left overs.

SVN revision: 82228
2013-01-04 19:10:19 +00:00
Jiyoun Park 2b6e8f8384 sorry indentation
SVN revision: 81781
2012-12-28 03:59:36 +00:00
Jiyoun Park 831f70a845 fix elm_photocam file set's error handle code
SVN revision: 81779
2012-12-28 03:54:24 +00:00
Yakov Goldberg 5c98343198 We have ported to Eo all the widgets of elementary. We didn't change the inheritance itself, only the mechanism, as done previously in Evas, Ecore and Edje. We removed totally the previous inheritance mechanism.
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 79668
2012-11-26 06:32:53 +00:00
Daniel Juyung Seo 30dba54610 elm: Fixed indentations for EINA_LIST/INLIST_FOREACH(_SAFE).
SVN revision: 77244
2012-10-01 07:36:27 +00:00
Gustavo Lima Chaves 39ebd3a128 [elm] Photocam now inheritable.
SVN revision: 74606
2012-07-30 22:36:06 +00:00
Gustavo Lima Chaves a2f1c95825 [elm] Fix on focus handle on photocam.
SVN revision: 74255
2012-07-20 14:58:33 +00:00
Gustavo Lima Chaves 584c53c1be [elm] New elm_widget_add() usage spread.
SVN revision: 74148
2012-07-18 21:03:39 +00:00
Gustavo Lima Chaves 0d1638272e [elm] More initting code placement fix -- photocam.
SVN revision: 74001
2012-07-17 16:38:07 +00:00
Gustavo Lima Chaves fffbdfce6a [elm] Elm photocam on scrollable iface, now.
SVN revision: 73311
2012-07-04 21:43:29 +00:00
Jihoon Kim 7046f87e3a elementary: ignore key event of keypad when NumLock is turned on in win, scroller, slider, video, photocam, map, slideshow, and spinner.
SVN revision: 69952
2012-04-06 10:34:03 +00:00
Jiyoun Park 9ce3da3627 remove deprecated code related with
elm_photocam_region_
elm_photocam_gesture_
function.


SVN revision: 69224
2012-03-12 07:06:43 +00:00
Mikael SANS 44fa969639 elementary/elm_photocam: change api name and add 'do_gesture' variable
SVN revision: 68859
2012-03-06 23:56:02 +00:00
Mikael SANS f81590a0be elementary/elm_photocam: add multi-touch zoom gesture
SVN revision: 68426
2012-02-24 17:58:29 +00:00
Sanjeev BA 8a496e93ab Fix elm_photocam API and cnp documentation.
Signed-off-by: Sanjeev BA <eflelev8@gmail.com>

SVN revision: 68373
2012-02-24 02:26:03 +00:00
Michael BOUCHAUD 631ed501c5 elementary: photocam fix region get, here x and y can be negative
SVN revision: 66328
2011-12-19 10:06:32 +00:00
Michael BOUCHAUD a5f7da8e7a elementary: photocam fix calc of zoom, need a double here
SVN revision: 66327
2011-12-19 10:00:25 +00:00
Michael BOUCHAUD 118ef0bbf8 elementary: now photocam support all image formats (if evas support it sure :D)
SVN revision: 66229
2011-12-14 21:03:55 +00:00
Michael BOUCHAUD 17cdac8d95 elementary: add ELM_PHOTOCAM_ZOOM_MODE_AUTO_FIT_IN a new policy for zoom in elm_photocam
SVN revision: 65958
2011-12-06 15:11:59 +00:00
RAJEEV RANJAN 3983da5dbf elementary/photocam - [E-devel] [Patch] elm_photocam patch
a. Handled memory allocation failure in function grid_create inside source file src/lib/elm_photocam.c of package elementary.
b. Fixed Memory leak in functiongrid_create due to return without releasing memory allocated for variable g of type Grid *.

Signed-Off-By: RAJEEV RANJAN <rajeev.r@samsung.com>
Signed-Off-By: PRINCE KUMAR DUBEY <prince.dubey@samsung.com>
Signed-Off-By: ChunEon Park <hermet@hermet.pe.kr>



SVN revision: 65698
2011-11-30 00:12:10 +00:00
Michael BOUCHAUD 1397db8791 elementary: typo
SVN revision: 64695
2011-11-03 13:26:55 +00:00