Commit Graph

155 Commits

Author SHA1 Message Date
Shinwoo Kim 278ceaa12e conform: retry connect to indicator when confrom fails connect.
Summary:
An application starts before the indicator has. In this case,
the application should try to connect again with the indicator.

Test Plan:
1. Start an application without the indicator service.
2. Start the indicator service.

Reviewers: raster, Hermet, woohyun, jaehwan, cedric

Subscribers: seoz

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-11-09 16:00:19 -08:00
Prince Kumar Dubey 02906c7865 conform: if window is in background, indicator must not update the plug information.
Summary:
When the window is in background, for associated conformant, indicator must not update the plug information.
To fix this issue, On window goes to background, the associated plug handled by confromant is deleted.

Test Plan:
On any device (like handset) which should have indicator support, this scenario can be reproduce. I tested on a handset
with gdb attach to running process having window and confromant with indicator support.

Reviewers: raster, Hermet, cedric

Reviewed By: cedric

Subscribers: rajeshps, govi

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-11-09 12:37:09 -08:00
Shilpa Singh 4c271ad347 elm_conformant: display mode set fix
Summary:
Set the display mode to none only when both clipboard and keypad is
hidden.

Signed-Off By: Shashank Pandey <shashank.p@samsung.com>
Signed-Off By: Shilpa Singh <shilpa.singh@samsung.com>
@fix

Test Plan: Keypad opened, Clipboard opened, close clipboard

Reviewers: woohyun, CHAN, Hermet

Reviewed By: Hermet

Subscribers: CHAN, Jaehyun, shashank0990

Differential Revision: https://phab.enlightenment.org/D2968
2015-09-23 09:51:04 +09:00
Vivek Ellur a26270b439 elm_conform: Port evas smart callbacks to eo
Summary:
Changed evas_object_smart_callback_add functions to eo_event_callback_add functions

Signed-off-by: Vivek Ellur <vivek.ellur@samsung.com>

Reviewers: cedric, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D2996
2015-08-28 16:14:31 +09:00
Daniel Zaoui 59730595e3 Eo Events: port more Evas Smart callbacks to Eo
Some Evas Smart callbacks invocations were still inside code
and should have been ported.
2015-07-07 11:24:12 +03:00
Jaehwan Kim e46a2dd3c5 elm_conform: remove smart_callback when it is removed.
The owner of the smart_callbacks is window. so even if the conformant
is deleted, they aren't removed. It can make some problems.

@fix
2015-07-07 16:39:01 +09:00
Jaehwan Kim ff60b8b340 elm_conform: remember window pointer.
When the conformant is removed, elm_widget_sub_object_del is called
before calling _elm_conformant_evas_object_smart_del.
Because parent-child relation about window-conformant is unrelated,
there's no meaning elm_widget_top_get in
_elm_conformant_evas_object_smart_del.

@fix
2015-07-07 16:39:01 +09:00
Tom Hacohen 27b72840c8 Adjust usage of eo_constructor() according to recent changes. 2015-05-20 13:03:28 +01:00
ChunEon Park 856bf8c0df conform: decide indicator visibility in the swallow part. 2015-03-28 20:06:19 +09:00
ChunEon Park c17ea7197e conform: decide indicator visibility in the swallow part. 2015-03-28 19:18:24 +09:00
ChunEon Park 82ee39739d conform: remove redundant declares. 2015-03-17 15:44:27 +09:00
woochan lee fb2144d9e0 conform: Use eo_isa() to check object types.
Summary:
The strcmp(line 738) has been failed since the eo applied.
the widget type get API returned "Elm_Genlist" now.

For fix it, using eo_isa() to check object types instead of string comparison.
@fix

Reviewers: seoz, woohyun, JackDanielZ, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D2148
2015-03-17 15:42:36 +09: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
Daniel Juyung Seo 118bc66bab conform, inwin, progressbar, radio: Fixed wrong part_alias_description implementations and documentations.
@fix
2014-09-05 01:12:22 +09: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
Daniel Juyung Seo 8ffbf246f4 elm: fixed trivial formattings.
Just found them while reading codes.
2014-05-10 23:44:27 +09:00
Tom Hacohen 2cc529dfb1 conformant: Adjusted to Eo2. 2014-04-10 09:35:00 +01:00
Daniel Zaoui ba2a255b8c Eolian: Integration of Conformant 2014-03-20 15:19:49 +02:00
Daniel Zaoui e2206a1a22 Eolian: Integration of Elm Widget 2014-03-17 09:03:56 +02:00
Daniel Juyung Seo 98a08addc4 elm: Defined the same macro, MAX and MIN, in elm_priv.h
MAX and MIN are defined in a couple of places and they was already
defined in elm_priv.h. So use elm_priv.h's one.
I also moved CEIL to elm_priv.h that can be used in another places.
2014-01-23 23:15:39 +09:00
Daniel Juyung Seo 79ddfdd961 conform: Use macro for indicator timer. 2014-01-23 22:58:56 +09:00
Daniel Juyung Seo 0c3c2572b9 elm: Removed unnecessary null check for ecore_event_handler_del. 2014-01-22 10:54:58 +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
Youngbok Shin 585be3a4e1 conform: Fixed to get a geometry from *focus_region_get for show_region_job.
Summary:
The geometry of elm_widget_show_region_get is only updated by elm_widget_show_region_set.
If the geometry of *show_region_get is not updated, the result of show_region_job would be incorrect.
So, we need to get a proper geometry using *focus_region_get for focused object.

Reviewers: seoz, woohyun, Hermet, raster, tasn

Reviewed By: raster

Differential Revision: https://phab.enlightenment.org/D466
2014-01-20 18:54:20 +09:00
Carsten Haitzler 430f98a628 setuid safeness - ensure if an app that is setuid doesn't do bad things
this makes efl ignore certain env vars for thnigs and entirely removes
user modules (that no one ever used) etc. etc. to ensure that *IF* an
app is setuid, there isn't a priv escalation path that is easy.
2014-01-08 20:33:09 +09:00
Daniel Juyung Seo fd5c046dfe elm: Changed __UNUSED__ to EINA_UNUSED. 2014-01-06 23:33:57 +09:00
Daniel Juyung Seo e63dd3110a elm: Unified eina critical manro to CRI.
Being annoyed by different types of eina critical macros - CRI, CRIT,
 CRITICAL -, I concluded to unify them to one. Discussed on IRC and
 finally, CRI was chosen to meet the consistency with other macros -
 ERR, WRN, INF, DBG - in terms of the number of characters.
If there is any missing bits, please let me know.
2013-12-26 13:03:55 +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
ChunEon Park 5cef1e1ea0 Revert "elm_conform.c: Added "virtualkeypad,size,changed" smart callback."
This reverts commit cbd7446f0bf413ad821ac40703d2a2ca728758ef.

Conflicts:

	ChangeLog
	NEWS

Please be more considerable to add this feature.
The function itself is not logical and we don't think it's proper for the conformant yet.
2013-11-04 14:51:06 +09:00
Daniel Juyung Seo 256a4c4524 elm_conform.c: Added "virtualkeypad,size,changed" smart callback.
When the virtualkeypad size is changed, applications get the notice.
Applications can do internal object calculation according to the exact virtualkeypad size.
This is useful when the exact size is important such as webkit usecase.
2013-10-30 16:24:38 +09:00
Daniel Juyung Seo a437e66219 elm_conform.c: Use more ELM_SAFE_FREE macros. 2013-10-29 22:49:57 +09:00
Daniel Juyung Seo 6397761c6a elm_test: Fixed formatting. tab to space.
Changed tab to space before working on the code.
Kinda surprised by the number of tabs we had.
2013-10-14 19:12:32 +09:00
Daniel Juyung Seo 30e7ced193 elm_conform.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:13:57 +09:00
Cedric Bail 29af5e1e43 elementary: update to new eo_parent_get/set API. 2013-09-25 13:34:27 +09:00
ChunEon Park fe0f0a445e elementary/widgets - set parents before widget constructs their body.
This avoids unnecessary setups again when obj <-> sub has connected.
2013-08-27 00:29:45 +09:00
Carsten Haitzler b93ba7b894 stop fetching invalid window id's even thought ecore handles it fine. 2013-07-19 19:56:58 +09:00
ChunEon Park 5eb167c922 elementary/conformant - remove the keyboard area in the conformant if the keyboard state is off. 2013-06-10 13:33:00 +09:00
Daniel Juyung Seo b54fb12f8b elm_conform.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:50:14 +09: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 76eb5c8a1b Add missing HAVE_ELEMENTARY_X guards.
NB: Fixes ticket T107: Building elementary with only wayland support.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-13 12:20:13 +01: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
Jiyoun Park 3f7092477b elm_conform.c : Fix elm_conform didn't change indicator mode when create.
currently mode change func only check one of mode between indmod or indi opacity mode.
2013-03-06 15:36:36 +09:00
Jiyoun Park 66f1a89108 elm_conform : just change DBG message 2013-03-05 13:34:31 +09:00