Commit Graph

88 Commits

Author SHA1 Message Date
Tom Hacohen 27b72840c8 Adjust usage of eo_constructor() according to recent changes. 2015-05-20 13:03:28 +01:00
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
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 9404d296f8 mapbuf: Adjusted to Eo2. 2014-04-10 09:35:01 +01:00
Daniel Zaoui e080a8b856 Eolian: Integration of MapBuf 2014-03-31 08:15:21 +03:00
Daniel Zaoui e2206a1a22 Eolian: Integration of Elm Widget 2014-03-17 09:03:56 +02:00
ChunEon Park 60547a9e1b mapbuf - don't leave the dangling static map pointer that won't be freed.
Some memory profiler tools regard this as the memory leak.
it makes engineers waste time to check this. especially app developers.
2014-02-04 10:27:48 +09:00
Daniel Juyung Seo db5fe2581d elm: Removed unnecessary null check for evas_object_del. 2014-01-22 10:54:52 +09:00
Daniel Juyung Seo c066009c49 elm: Removed unnecessary null check for ecore_idler_del, ecore_idle_enterer_del. 2014-01-22 10:54:28 +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
Carsten Haitzler d9e068a9e5 mapbuf - move index check into eo method and use fixed index size
this also fixes CID 1141033 and CID 1141032
2014-01-10 17:54:51 +09:00
Daniel Juyung Seo fd5c046dfe elm: Changed __UNUSED__ to EINA_UNUSED. 2014-01-06 23:33:57 +09:00
Dennis Schridde 38f1626773 elm_mapbuf: fix format warning
Reviewers: cedric

Reviewed By: cedric

CC: cedric

Differential Revision: https://phab.enlightenment.org/D406

Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
2013-12-26 10:21:49 +09:00
ChunEon Park 175f7cb5fb elementary/mapbuf - added 2 apis, elm_mapbuf_point_color_set(), get().
for gradient color effect, mapbuf supports these 2 apis additionally.
2013-12-20 21:08:24 +09:00
ChunEon Park 9ff56c3abf elementary/mapbuf - update map necessarily.
if the mapbuf is hidden, then there is no need to update map info.
2013-12-20 20:15:16 +09:00
Daniel Juyung Seo 6d71a23c3a elm lib: removed all the unnecessary empty lines.
being pedantic.
2013-12-15 06:18:35 +09:00
ChunEon Park e520c4f519 elementary/mapbuf - reset the mapbuf correctly when the content is removed(unset)
When the content is removed(or unset) the mapbuf didn't clean up the some stuff such as removing event callback for the content.
So the unset content would be tracked still by mapbuf dangling callbacks.
2013-11-22 19:48:24 +09:00
ChunEon Park 2ec0b6556f elementary/mapbuf - set NULL if the content is empty. 2013-11-22 17:41:03 +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
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 810a680f15 elm_mapbuf.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:14:52 +09:00
ChunEon Park 8d74f6ba84 elementary/mapbuf: Dont' move the content to not be calculated. Mapbuf expects
the content is static object and it won't be updated by content position. This
actually reduces the mapbuf calculation time muchly in case of complex layout.
2013-09-29 18:57:10 +09:00
ChunEon Park 672eaa430e elementary/mapbuf - code refactoring.
reduce LOC
2013-09-27 21:58:31 +09:00
ChunEon Park c025526e2d elementary/mapbuf - refactoring mapbuf code.
Disable the map only once the mapbuf is disabled.
2013-09-27 21:55:59 +09:00
ChunEon Park 0c3ca99871 elementary/mapbuf - revert 1850e735698f926cad8303cfe96610b5c58410d1
This makes the mapbuf performance slow down before it enabled the mapbuf.

need more better way.
2013-09-27 21:52:10 +09:00
ChunEon Park 7399e14cf2 elementary/mapbuf - resize content only when mapbuf is resized. 2013-09-26 16:25:48 +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
ChunEon Park 99e1f78ace elementary/mapbuf - fixed comment typo and more intuitive comment. 2013-08-18 20:40:22 +09:00
ChunEon Park 4754c74758 elementary/mapbuf - evas_smart_objects_calculate() call causes many side effects in calculating mapbuf objects$
But it doens't affect to the mapbuf it's special feature, performance. so commented out them.
2013-08-18 20:34:50 +09:00
ChunEon Park aec506d3ef elementary/mapbuf - revert 1f3fd49b4511ba4308a433cee9e7488cb61adaae.
This causes side effects in calculating objects.
2013-08-18 20:16:28 +09:00
ChunEon Park eb7878ff03 elementary/mapbuf - trivial change 2013-08-12 21:51:10 +09:00
ChunEon Park a4cb3c27e0 elementary/Mapbuf - Ensure that content size calculation is correctly finished because the mapbuf is willing to block the size calculation forcely. 2013-08-12 21:46:36 +09:00
ChunEon Park 0817e697c0 elementary/mapbuf - removed white trailing 2013-05-30 02:37:35 +09:00
ChunEon Park fe7118ec67 elementary/mapbuf - fix the mapbuf to be enabled before it's content is entirely rendered.
This will fix the bad-cases that content is not updated properly if they are changed outside of the viewport
2013-05-30 02:31:38 +09:00
Daniel Juyung Seo e5e105342f elm_mapbuf.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:04:07 +09:00
Cedric Bail c929b33052 elementary: properly sanitize headers order. 2013-05-03 16:07:06 +09:00
Cedric Bail eec22b17a2 mapbuf: improve automatic logic. 2013-05-03 16:07:06 +09:00
Cedric Bail 749e806ec4 mapbuf: correctly get the viewport size. 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
Carsten Haitzler 06756cd71d add elm_mapbuf_auto_set/get() 2013-04-09 21:01:42 +09: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
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
ChunEon Park 7fdc6b90bb elementary/mapbuf - removed workaround code that would cause the performance issue.
Sorry, I have no idea now what to do, even mapbuf has much side effects in rendering.




SVN revision: 82322
2013-01-07 07:07:27 +00:00
ChunEon Park e42d402c48 elementary/mapbuf - update mapbuf forcely whenever it's states are changed.
SVN revision: 80730
2012-12-12 04:28:11 +00:00
ChunEon Park 7748dd4d44 elementary/mapbuf - update whenever the content is moved or resized.
SVN revision: 80348
2012-12-06 11:47:26 +00:00