Commit Graph

94 Commits

Author SHA1 Message Date
Lukasz Stanislawski 2ca1f8a75a atspi: properly include at-spi headers.
Summary:
Change requested by TAsn. Previuosly AT-SPI headers were kept private
and included directly into elementary source code. From now on,
AT-SPI headers can be included from Elementary.h public header, however
will be marked as beta APIs.

Commit includes following changes:
* include all atspi headers into new elm_interfaces.h header.
* marking all at-spi interfaces methods/properties as @protected.
* wrap all common headers with EFL_BETA_API_SUPPORT.
* make some common APIs visible in lib, by adding EAPI attribute
  (if someone decides to use beta APIs).

Test Plan: out-off tree build with gcc, g++

Reviewers: tasn

Reviewed By: tasn

Subscribers: seoz, q66, kuuko

Maniphest Tasks: T1721

Differential Revision: https://phab.enlightenment.org/D1528
2014-10-17 16:57:26 +01:00
Tom Hacohen 7629c147eb Eo related: Change according to recent changes in eo_add().
For more info check out a7560dbc61 in
the EFL tree.
2014-09-25 17:39:34 +01:00
Tom Hacohen 0b9ec03952 Photo: Use file interface. 2014-08-21 11:04:28 +01:00
Zbigniew Kosinski 9ce23f0004 atspi:Set roles for widgets
Reviewers: stanluk, m.jagiello, raster

Differential Revision: https://phab.enlightenment.org/D930
2014-06-11 11:07:16 +09:00
Tom Hacohen efa41c7d75 Elm: Update code to use the new class names generated by eolian. 2014-06-03 11:54:44 +01:00
Tom Hacohen 372c73a1ef photo: Adjusted to Eo2. 2014-04-10 09:35:01 +01:00
Daniel Zaoui 8423df2f41 Eolian: Integration of Photo 2014-03-31 08:18:30 +03:00
Daniel Zaoui e2206a1a22 Eolian: Integration of Elm Widget 2014-03-17 09:03:56 +02: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
Carsten Haitzler 9d4a9900cc option build deps that efl guarantees... now just are assumed and not ifdef'd 2013-11-12 22:56:05 +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 2cc8f13972 elm_photo: Do not call clicked callback when drag and drop started. 2013-10-18 20:33:47 +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 87fe4080fc elm_photo.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:15:06 +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
Daniel Juyung Seo e4e2c38e48 elm_photo.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:09 +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 2267dda5df elm_photo: added getters for some setters.
1. Added elm_obj_photo_size_get, elm_obj_photo_fill_inside_get, elm_obj_photo_editable_get.
2. Added sample code to test_photo.c
2013-04-09 13:23:14 +09:00
Tom Hacohen d75cb616da Change usage of eo_do_super to the new prototype. 2013-03-18 16:15:12 +00:00
Carsten Haitzler 30cc0a85c8 allow dealing with dnd actions and status at src.
SVN revision: 84296
2013-02-22 08:49:08 +00:00
Carsten Haitzler 3faccb1149 much better.. dnd actually works now.. doesnmt get stuck etc... need
to GRAB mouse etc... still not all there yet. cant dnd within ones own
window yet. that's NEXT



SVN revision: 84235
2013-02-19 12:10:02 +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
Daniel Zaoui 0c915e9023 Cleaning: removed include Eo.h in widgets because it was indirectly included by Elementary.h
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 79682
2012-11-26 09:29:01 +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 4cd319f194 elm elm_photo.c: Use longpress_timeout configuration for the longpress time out.
SVN revision: 79285
2012-11-14 10:49:57 +00:00
Daniel Juyung Seo f05a7001f1 elm image, photo, plug, segment_control, thumb: Check button type and on_hold flag on mouse_down/up.
SVN revision: 79284
2012-11-14 10:49:54 +00:00
Gustavo Lima Chaves b47c5855cf [elm] Making photo inheritable.
SVN revision: 74601
2012-07-30 22:35:11 +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 950c0a06f0 [elm] Init fix for photo.
SVN revision: 74021
2012-07-17 18:45:51 +00:00
Gustavo Lima Chaves cd1f900a46 [elm] Forgotten elm icon function to deprecate in favor of an image one.
SVN revision: 73017
2012-06-28 18:40:35 +00:00
Gustavo Lima Chaves a348f6a8f2 [elm] Revive file=NULL path on elm_photo_file_set().
Thanks, Tom, for pointing this out.



SVN revision: 71686
2012-06-04 16:23:31 +00:00
Gustavo Lima Chaves bbf0a4345e [elm] And now remove deprecated calls usage (WRT
icon/image thing).



SVN revision: 71473
2012-05-28 21:50:11 +00:00
Stefan Schmidt 1eb70c0498 elementary: But var also into ifdefs for people without ethumb in elm
SVN revision: 71458
2012-05-28 13:08:48 +00:00
Gustavo Lima Chaves 4f8b51b1aa [elm] And here comes image, icon and photo on the
new schema.
els_icon smart object was brought to be the base of the image widget,
in the form of an image class.

An elm icon is now a elm image, with a little more on top of it.

An elm photo is a now base widget aggregating an icon.

Toolbar's internal usage of the former els_icon is now changed to
icons, instead.

Some naviframe instantiations were set to enable events during
transitions, because this code is buggy and my chages exposed the
problem. It will be fixed as soon as I get to port Naviframe.



SVN revision: 71429
2012-05-25 19:53:59 +00:00
Daniel Juyung Seo 7908a77ad8 elm: Fixed formatting.
SVN revision: 69700
2012-03-28 09:02:22 +00:00
Carsten Haitzler 1b1489da31 elm_thumb_ethumb_client_connected ->
elm_thumb_ethumb_client_connected_get()

more consistent name.



SVN revision: 68001
2012-02-16 05:58:23 +00:00
Mike Blumenkrantz 8638957866 aspect_ratio_retained -> aspect_fixed
SVN revision: 66926
2012-01-06 05:55:51 +00:00
Hyoyoung Chang 781a6ab4db From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] elm_photo - add aspect_ratio_retained_{set/get}
Date: Fri, 6 Jan 2012 12:20:33 +0900

Dear all.

elm_photo doesn't have resizing functions which are not follow
original photo file ratio (vertical/horizontal).
so i copied aspect_ration_reatined functions from elm_image.
also it fixes photo menu bug in elementary_test.
currently photo window has a bug which cannot display non-square
images correctly.

Thanks


SVN revision: 66924
2012-01-06 05:50:33 +00:00
Mike Blumenkrantz 378c5828f4 me no likey sprintf
SVN revision: 66774
2012-01-03 04:52:03 +00:00
Hyoyoung Chang 5e0f5b8960 From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] elm_cnp_helper - bugfix duplicated drag objs
Date: Tue, 3 Jan 2012 13:41:09 +0900

Dear all.

Currently, dragging is only supported in elm_photo.
Normally it works well but in overlapped region, elm_photo makes
multiple drag events.
However multiple objs dragging isn't supported by elm_cnp_helper(also
in xdnd specs)
It better to block multiple dragging events.

Also I fixed dragdonecb's data argument position.

Thank you.


SVN revision: 66773
2012-01-03 04:44:48 +00:00
Cedric BAIL f950fe64b3 elementary: reorder ethumb callback parameters.
SVN revision: 66609
2011-12-28 16:27:45 +00:00
Hyoyoung Chang 84554addb8 From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] elm_cnp_helper - change elm_cnp_selection_set and code cleanup
Date: Tue, 27 Dec 2011 20:15:14 +0900

Dear all.

As discomfitor suggested, I cleanup some codes.
elm_cnp_selection_set : add buffer length argument and check for image type.
(i think it's urgent issue before elm_cnp_selection_set api is widely used.)
enum defines : add 'type' prefix.

Thanks


SVN revision: 66566
2011-12-27 11:24:13 +00:00
Cedric BAIL f7e4327955 ethumb: cleanup API.
SVN revision: 65660
2011-11-28 23:24:32 +00:00