disable tizen only stuffs that use removed apis
authorWonki Kim <wonki_.kim@samsung.com>
Tue, 12 Mar 2019 06:59:40 +0000 (15:59 +0900)
committerWonki Kim <wonki_.kim@samsung.com>
Tue, 12 Mar 2019 07:10:13 +0000 (16:10 +0900)
there are changes from upstream whaich remove some method on eo definition.
but related changes by the patch has not been written on upstream.
this patch disable tizen only stuffs that use the removed apis to fix build break

Change-Id: I7e3ed460d3478f2729b9512928fb15230c61fdde
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
src/lib/elementary/efl_ui_layout_base.eo
src/lib/elementary/efl_ui_widget.eo
src/lib/elementary/elc_popup.c
src/lib/elementary/elm_notify.c
src/lib/elementary/elm_notify.eo
src/lib/elementary_tizen/elc_ctxpopup.c

index c6dd076..52dc2e0 100644 (file)
@@ -43,14 +43,14 @@ abstract @beta Efl.Ui.Layout_Base extends Efl.Ui.Widget implements Efl.Container
             style: string("default"); [[The style to use, eg "default".]]
          }
       }
-      @property automatic_theme_rotation {
+      @property automatic_theme_rotation @beta {
         [[This flag tells if this object will automatically mirror the rotation changes of the window to this object.
         ]]
         values {
            automatic : bool; [[$true to mirror orientation changes to the theme $false otherwise]]
         }
       }
-      theme_rotation_apply {
+      theme_rotation_apply @beta {
         [[Apply a new rotation value to this object.]]
         params {
           orientation : Efl.Orient; [[The new rotation value.]]
index 1da1202..3f23ad0 100644 (file)
@@ -343,17 +343,6 @@ abstract @beta Efl.Ui.Widget extends Efl.Canvas.Group implements Efl.Access.Obje
          return: bool; [[Indicates if the operation succeeded.]]
          legacy: elm_widget_sub_object_del;
       }
-      on_disabled_update @protected {
-         [[Virtual function called when the widget becomes disabled.
-
-           This may be triggered even if this widget is not disabled, as the
-           parent widget could be disabled and propagate its state.
-         ]]
-         params {
-            disabled: bool; [[The new value of @.disabled.]]
-         }
-         return: bool; [[Indicates if the operation succeeded.]]
-      }
       theme_apply @protected {
          [[Virtual function called when the widget needs to re-apply its theme.
 
index 376f0a6..4c9b21a 100644 (file)
@@ -260,11 +260,13 @@ _scroller_size_calc(Evas_Object *obj)
    /* TIZEN_ONLY(20160623):Apply popup compress mode UX
    sd->max_sc_h = h - (h_title + h_action_area);
    */
+   /*
    if ((sd->dispmode == EVAS_DISPLAY_MODE_COMPRESS) &&
        ((wd->orient_mode == 90) || (wd->orient_mode == 270)))
       sd->max_sc_h = h - h_action_area;
    else
       sd->max_sc_h = h - (h_title + h_action_area + h_pad);
+   */
    /* END */
 }
 
index e7ff705..91cc4fb 100644 (file)
@@ -88,6 +88,7 @@ _notify_theme_apply(Evas_Object *obj)
    /* TIZEN_ONLY(170621): support multiscale problem on TM2
    return elm_widget_theme_object_set(obj, sd->notify, "notify", position, style);
     */
+   /*
    ret = elm_widget_theme_object_set(obj, sd->notify, "notify", position, style);
 
    if (wd->orient_mode != -1)
@@ -98,6 +99,7 @@ _notify_theme_apply(Evas_Object *obj)
      }
 
    return ret;
+   */
    /* END */
 }
 
@@ -847,6 +849,7 @@ _elm_notify_align_get(const Eo *obj EINA_UNUSED, Elm_Notify_Data *sd, double *ho
 }
 
 /* TIZEN_ONLY(170621): support multiscale problem on TM2 */
+/*
 EOLIAN static void
 _elm_notify_efl_ui_widget_on_orientation_update(Eo *obj EINA_UNUSED, Elm_Notify_Data *sd, int orient_mode)
 {
@@ -859,6 +862,7 @@ _elm_notify_efl_ui_widget_on_orientation_update(Eo *obj EINA_UNUSED, Elm_Notify_
         edje_object_signal_emit(sd->notify, buf, "elm");
      }
 }
+*/
 /* END */
 
 static void
index e734dc9..12e7fc1 100644 (file)
@@ -91,7 +91,7 @@ class Elm.Notify extends Efl.Ui.Widget implements Efl.Ui.Focus.Layer, Efl.Conten
       Efl.Part.part_get;
 
       /* TIZEN_ONLY(170621): support multiscale problem on TM2 */
-      Efl.Ui.Widget.on_orientation_update;
+      //Efl.Ui.Widget.on_orientation_update;
       /* END */
       //TIZEN_ONLY(20180607): Restore legacy focus
       Efl.Ui.Widget.focus_direction;
index 0337eef..b9bcb4f 100644 (file)
@@ -1193,10 +1193,12 @@ _on_parent_resize(void *data,
      }
    else
      {
+        /*
         if (wd->orient_mode == 90 || wd->orient_mode == 270)
          elm_widget_theme_object_set
            (data, sd->layout, "ctxpopup", "layout/landscape", elm_widget_style_get(data));
         else
+        */
          elm_widget_theme_object_set
            (data, sd->layout, "ctxpopup", "layout", elm_widget_style_get(data));
         edje_object_part_swallow(sd->layout, "swallow", wd->resize_obj);
@@ -1412,11 +1414,12 @@ _elm_ctxpopup_efl_ui_widget_theme_apply(Eo *obj, Elm_Ctxpopup_Data *sd)
 
    elm_widget_theme_object_set
      (obj, sd->arrow, "ctxpopup", "arrow", elm_widget_style_get(obj));
-
+   /*
    if (wd->orient_mode == 90 || wd->orient_mode == 270)
      elm_widget_theme_object_set
        (obj, sd->layout, "ctxpopup", "layout/landscape", elm_widget_style_get(obj));
    else
+   */
      elm_widget_theme_object_set
        (obj, sd->layout, "ctxpopup", "layout", elm_widget_style_get(obj));
    edje_object_part_swallow(sd->layout, "swallow", wd->resize_obj);
@@ -1857,11 +1860,12 @@ _on_show(void *data EINA_UNUSED,
    //
 
    elm_layout_signal_emit(obj, "elm,state,show", "elm");
-
+   /*
    if (wd->orient_mode == 90 || wd->orient_mode == 270)
      elm_widget_theme_object_set
        (obj, sd->layout, "ctxpopup", "layout/landscape", elm_widget_style_get(obj));
    else
+   */
      elm_widget_theme_object_set
        (obj, sd->layout, "ctxpopup", "layout", elm_widget_style_get(obj));
    edje_object_part_swallow(sd->layout, "swallow", wd->resize_obj);
@@ -2074,9 +2078,11 @@ _elm_ctxpopup_efl_canvas_group_group_add(Eo *obj, Elm_Ctxpopup_Data *priv)
      (priv->box, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
 
    priv->layout = edje_object_add(evas_object_evas_get(obj));
+   /*
    if (wd->orient_mode == 90 || wd->orient_mode == 270)
      elm_widget_theme_object_set(obj, priv->layout, "ctxpopup", "layout/landscape", "default");
    else
+   */
      elm_widget_theme_object_set(obj, priv->layout, "ctxpopup", "layout", "default");
    evas_object_smart_member_add(priv->layout, obj);
    _elm_widget_color_class_parent_set(priv->layout, obj);