This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch eolian/improvements
in repository efl.

View the commit online.

commit be1766d2ffccf350003d5bf8456a8e2025a3b283
Author: Cedric BAIL <[email protected]>
AuthorDate: Thu Aug 20 18:27:55 2026 -0600

    eo: annotate the getters that hand back an unset field
    
    The first pass found NULL by looking for `return NULL`. That misses the
    larger case: a getter whose whole body is `return sd->field;`. Eo private
    data is calloc'd, so such a field is null until something assigns it, and
    if no constructor does, a caller sees null with no literal `return NULL`
    anywhere to find.
    
    Efl.Text.text is the example the review named. Efl.Ui.Win implements it
    as `return sd->title;`, and the only assignment to sd->title in the file
    sets it to NULL -- a window whose title has never been set answers null,
    and the property said it never would.
    
    Every getter in that position is annotated, 28 of them returns of
    stable API, except Efl.Ui.Widget.focus_manager_create, which returns
    what efl_add() gave it and so is null only if construction failed; it
    joins the allowlist with that reason.
    
    Three of these had no documentation at all on the value, which is how
    Efl.Ui.Item.parent and Efl.Ui.Win.icon_object could be null-returning
    without anything saying so anywhere.
    
    check-nullable.py grew the matching check. It scans only real Eo
    lifecycle hooks -- _efl_object_constructor, _efl_object_finalize, the
    class constructor -- rather than anything named like a helper: a
    "..._add" function may never run, so an assignment there guarantees
    nothing. All four checks are verified to fail when the annotation they
    cover is removed.
    
    Stable coverage after both passes: returns 16 -> 70 of 112,
    in-parameters 16 -> 56, out-parameters 2 -> 6.
    
    Co-Authored-By: Claude Opus 5 <[email protected]>
---
 scripts/check-nullable.py                          | 57 +++++++++++++++++++---
 src/lib/ecore/efl_core_command_line.eo             |  3 +-
 src/lib/efl/interfaces/efl_file.eo                 |  7 +--
 src/lib/efl/interfaces/efl_text.eo                 |  3 +-
 src/lib/efl/interfaces/efl_text_font_properties.eo |  2 +-
 src/lib/efl/interfaces/efl_text_format.eo          |  2 +-
 src/lib/efl/interfaces/efl_ui_i18n.eo              |  2 +-
 src/lib/efl/interfaces/efl_ui_view.eo              |  2 +-
 src/lib/elementary/efl_access_object.eo            |  2 +-
 src/lib/elementary/efl_ui_collection.eo            |  2 +-
 src/lib/elementary/efl_ui_collection_view.eo       |  4 +-
 src/lib/elementary/efl_ui_focus_manager.eo         |  2 +-
 src/lib/elementary/efl_ui_image.eo                 |  2 +-
 src/lib/elementary/efl_ui_item.eo                  |  5 +-
 src/lib/elementary/efl_ui_navigation_layout.eo     |  5 +-
 src/lib/elementary/efl_ui_single_selectable.eo     |  6 ++-
 src/lib/elementary/efl_ui_spotlight_container.eo   |  5 +-
 src/lib/elementary/efl_ui_tab_bar_default_item.eo  |  2 +-
 src/lib/elementary/efl_ui_tab_page.eo              |  3 +-
 src/lib/elementary/efl_ui_widget.eo                |  3 +-
 src/lib/elementary/efl_ui_widget_factory.eo        |  3 +-
 src/lib/elementary/efl_ui_win.eo                   | 10 ++--
 src/lib/evas/canvas/efl_canvas_textblock.eo        |  5 +-
 src/lib/evas/canvas/efl_input_device.eo            |  2 +-
 src/lib/evas/canvas/efl_input_event.eo             |  2 +-
 src/lib/evas/canvas/efl_input_key.eo               |  8 +--
 src/lib/evas/canvas/efl_input_pointer.eo           |  2 +-
 src/lib/evas/canvas/efl_text_cursor_object.eo      |  2 +-
 src/lib/evas/gesture/efl_canvas_gesture_custom.eo  |  3 +-
 .../efl_canvas_gesture_recognizer_custom.eo        |  3 +-
 30 files changed, 109 insertions(+), 50 deletions(-)

diff --git a/scripts/check-nullable.py b/scripts/check-nullable.py
index 0c8897e184..59036bc6c3 100755
--- a/scripts/check-nullable.py
+++ b/scripts/check-nullable.py
@@ -21,6 +21,11 @@ This script fails when they disagree:
   MISSING-NULL  a stable function provably returns NULL on a path that is not
                 an allocation failure or a precondition violation, and is not
                 annotated.
+  MISSING-FIELD a getter hands back a private-data field that no constructor
+                ever assigns. Eo data is calloc'd, so the field is null until
+                something sets it and a caller can see that -- there is no
+                literal `return NULL` to find, which is why this is checked
+                separately.
 
 What `@nullable` means here, and the reason for the ALLOWED_UNANNOTATED list
 below: it marks NULL as a legitimate answer *within the contract* -- "there is
@@ -57,6 +62,7 @@ ALLOWED_UNANNOTATED = {
     'efl_loop_timeout':                      'promise allocation failure only',
     'efl_canvas_textblock_async_layout':     'promise allocation failure only',
     'efl_duplicate':                         'fails only if the new object could not be created',
+    'efl_ui_widget_focus_manager_create':    'returns what efl_add() produced; null only if that failed',
 }
 
 # The same notion eolian itself uses in eo_gen_docs_mentions_null(): "null",
@@ -154,7 +160,7 @@ def c_bodies():
            for f in glob.glob(os.path.join(ROOT, 'src/**/*.c'), recursive=True)}
 
     def body(name):
-        for text in src.values():
+        for f, text in src.items():
             for m in re.finditer(r'\n' + re.escape(name) + r'\s*\(', text):
                 i = text.find(')', m.end())
                 while i != -1 and text[i + 1:].lstrip()[:1] != '{':
@@ -171,10 +177,36 @@ def c_bodies():
                     elif text[j] == '}':
                         depth -= 1
                         if depth == 0:
-                            return text[b:j + 1]
+                            return f, text[b:j + 1]
                     j += 1
         return None
-    return impls, body
+    return impls, body, (lambda f: src[f])
+
+
+# Only these guarantee a field is set before anyone can read it. A plain
+# helper called "..._add" does not: it may never run.
+CTOR = re.compile(r'\n\w*_efl_object_(constructor|finalize)\s*\(|\n_\w+_constructor\s*\(')
+
+
+def field_guaranteed(text, field):
+    """Does a constructor or finalizer in this file assign the field non-null?"""
+    for m in CTOR.finditer(text):
+        b = text.find('{', m.end())
+        if b < 0:
+            continue
+        depth, j = 0, b
+        while j < len(text):
+            if text[j] == '{':
+                depth += 1
+            elif text[j] == '}':
+                depth -= 1
+                if depth == 0:
+                    break
+            j += 1
+        for a in re.finditer(r'->\s*' + re.escape(field) + r'\s*=(?!=)([^;]*);', text[b:j]):
+            if 'NULL' not in a.group(1):
+                return True
+    return False
 
 
 def returns_contract_null(text, strict_params=()):
@@ -218,23 +250,34 @@ def main():
         elif says and not nullable:
             missing_annot.append((cname, name))
 
-    impls, body = c_bodies()
+    impls, body, src_text = c_bodies()
     missing_null = []
+    missing_field = []
     for cname, nullable in sorted(returns.items()):
         if nullable or cname in ALLOWED_UNANNOTATED:
             continue
         for impl in impls.get(cname, []):
-            b = body(impl)
-            if b and returns_contract_null(b, strict.get(cname, ())):
+            fb = body(impl)
+            if not fb:
+                continue
+            f, b = fb
+            if returns_contract_null(b, strict.get(cname, ())):
                 missing_null.append((cname, impl))
                 break
+            m = re.search(r'\breturn\s+\w+\s*->\s*([\w.>-]+)\s*;', b)
+            if m:
+                field = re.split(r'[.>-]+', m.group(1))[-1]
+                if not field_guaranteed(src_text(f), field):
+                    missing_field.append((cname, '%s->%s' % (impl, field)))
+                    break
 
     fails = 0
     print('checked %d reference-typed sites in stable API' % len(rows))
     for label, items, hint in (
             ('MISSING-DOC', missing_doc, '@nullable but the documentation never says so'),
             ('MISSING-ANNOT', missing_annot, 'documentation says null is allowed but @nullable is absent'),
-            ('MISSING-NULL', missing_null, 'returns NULL on a contract path but is not @nullable')):
+            ('MISSING-NULL', missing_null, 'returns NULL on a contract path but is not @nullable'),
+            ('MISSING-FIELD', missing_field, 'returns a data field no constructor sets, so it can be null')):
         if not items:
             print('  ok    %-14s none' % label)
             continue
diff --git a/src/lib/ecore/efl_core_command_line.eo b/src/lib/ecore/efl_core_command_line.eo
index 24849be70d..6da3a1e7fe 100644
--- a/src/lib/ecore/efl_core_command_line.eo
+++ b/src/lib/ecore/efl_core_command_line.eo
@@ -45,7 +45,8 @@ mixin @beta Efl.Core.Command_Line requires Efl.Object {
 
       }
       values {
-        commandline : string;
+        commandline : string @nullable; [[The command line, as one shell-style string,
+                                          or $null if none has been set.]]
       }
     }
     command_access {
diff --git a/src/lib/efl/interfaces/efl_file.eo b/src/lib/efl/interfaces/efl_file.eo
index 5fcf455144..ca8e8c8e3d 100644
--- a/src/lib/efl/interfaces/efl_file.eo
+++ b/src/lib/efl/interfaces/efl_file.eo
@@ -36,7 +36,7 @@ mixin Efl.File requires Efl.Object {
          get {
          }
          values {
-            file: string; [[The file path.]]
+            file: string @nullable; [[The file path, or $null if no file is set.]]
          }
       }
       @property file_io {
@@ -72,9 +72,10 @@ mixin Efl.File requires Efl.Object {
          get {
          }
          values {
-            key: string; [[The group that the data belongs to. See the class documentation
+            key: string @nullable; [[The group that the data belongs to. See the class documentation
                            for particular implementations of this interface to see how this
-                           property is used.]]
+                           property is used. $null if the file has no group, or if no
+                           file is set.]]
          }
       }
       @property loaded {
diff --git a/src/lib/efl/interfaces/efl_text.eo b/src/lib/efl/interfaces/efl_text.eo
index 79a5319346..39c0db8bab 100644
--- a/src/lib/efl/interfaces/efl_text.eo
+++ b/src/lib/efl/interfaces/efl_text.eo
@@ -15,7 +15,8 @@ interface Efl.Text
          get {
          }
          values {
-            text: string; [[Text string to display.]]
+            text: string @nullable; [[Text string to display, or $null if the object has
+                                      no text.]]
          }
       }
    }
diff --git a/src/lib/efl/interfaces/efl_text_font_properties.eo b/src/lib/efl/interfaces/efl_text_font_properties.eo
index e4a526072a..d191ad53e9 100644
--- a/src/lib/efl/interfaces/efl_text_font_properties.eo
+++ b/src/lib/efl/interfaces/efl_text_font_properties.eo
@@ -115,7 +115,7 @@ interface Efl.Text_Font_Properties {
          get {
          }
          values {
-            font_source: string; [[The font file's path.]]
+            font_source: string @nullable; [[The font file's path, or $null if none is set.]]
          }
       }
 
diff --git a/src/lib/efl/interfaces/efl_text_format.eo b/src/lib/efl/interfaces/efl_text_format.eo
index 73fa97a67d..23be773057 100644
--- a/src/lib/efl/interfaces/efl_text_format.eo
+++ b/src/lib/efl/interfaces/efl_text_format.eo
@@ -140,7 +140,7 @@ interface Efl.Text_Format {
            Only used to replace characters if @.password is enabled.
          ]]
          values {
-            repch: string; [[Replacement character.]]
+            repch: string @nullable; [[Replacement character. Can be $null.]]
          }
       }
    }
diff --git a/src/lib/efl/interfaces/efl_ui_i18n.eo b/src/lib/efl/interfaces/efl_ui_i18n.eo
index 15e48bb5f9..019a6c4608 100644
--- a/src/lib/efl/interfaces/efl_ui_i18n.eo
+++ b/src/lib/efl/interfaces/efl_ui_i18n.eo
@@ -34,7 +34,7 @@ interface @beta Efl.Ui.I18n
          get {
          }
          values {
-            language: string; [[The current language.]]
+            language: string @nullable; [[The current language, or $null if none is set.]]
           }
       }
    }
diff --git a/src/lib/efl/interfaces/efl_ui_view.eo b/src/lib/efl/interfaces/efl_ui_view.eo
index b95bf49a3f..c92662b7bd 100644
--- a/src/lib/efl/interfaces/efl_ui_view.eo
+++ b/src/lib/efl/interfaces/efl_ui_view.eo
@@ -15,7 +15,7 @@ interface Efl.Ui.View
          [[Model that is/will be ]]
          get {} set {}
          values {
-            model: Efl.Model; [[Efl model]]
+            model: Efl.Model @nullable; [[Efl model. Can be $null.]]
          }
       }
    }
diff --git a/src/lib/elementary/efl_access_object.eo b/src/lib/elementary/efl_access_object.eo
index 8edc0fcdd2..ec9e8d559b 100644
--- a/src/lib/elementary/efl_access_object.eo
+++ b/src/lib/elementary/efl_access_object.eo
@@ -401,7 +401,7 @@ mixin @beta Efl.Access.Object requires Efl.Object
          set {
          }
          values {
-            domain: string; [[Translation domain]]
+            domain: string @nullable; [[Translation domain, or $null if none is set.]]
          }
       }
       @property access_type @beta {
diff --git a/src/lib/elementary/efl_ui_collection.eo b/src/lib/elementary/efl_ui_collection.eo
index d890b1656e..2edb2c3bb5 100644
--- a/src/lib/elementary/efl_ui_collection.eo
+++ b/src/lib/elementary/efl_ui_collection.eo
@@ -55,7 +55,7 @@ class Efl.Ui.Collection extends Efl.Ui.Layout_Base implements
          [[Position manager object that handles placement of items.]]
          get {
             values {
-               position_manager : Efl.Ui.Position_Manager.Entity; [[A borrowed handle to the item container.]]
+               position_manager : Efl.Ui.Position_Manager.Entity @nullable; [[A borrowed handle to the item container. Can be $null.]]
             }
          }
          set { }
diff --git a/src/lib/elementary/efl_ui_collection_view.eo b/src/lib/elementary/efl_ui_collection_view.eo
index b665f22b66..fedd2cda3f 100644
--- a/src/lib/elementary/efl_ui_collection_view.eo
+++ b/src/lib/elementary/efl_ui_collection_view.eo
@@ -40,14 +40,14 @@ class Efl.Ui.Collection_View extends Efl.Ui.Layout_Base implements
          get {}
          set {}
          values {
-            factory: Efl.Ui.Factory; [[The factory.]]
+            factory: Efl.Ui.Factory @nullable; [[The factory, or $null if none is set.]]
          }
       }
       @property position_manager @beta {
         [[Position manager object that handles placement of items.]]
         get {
            values {
-              position_manager : Efl.Ui.Position_Manager.Entity; [[ A borrowed reference to the manager. ]]
+              position_manager : Efl.Ui.Position_Manager.Entity @nullable; [[ A borrowed reference to the manager. Can be $null.]]
            }
         }
         set { }
diff --git a/src/lib/elementary/efl_ui_focus_manager.eo b/src/lib/elementary/efl_ui_focus_manager.eo
index b7e0cc2fef..adb7c35af1 100644
--- a/src/lib/elementary/efl_ui_focus_manager.eo
+++ b/src/lib/elementary/efl_ui_focus_manager.eo
@@ -94,7 +94,7 @@ interface Efl.Ui.Focus.Manager {
               anymore.
             ]]
             values {
-                redirect : Efl.Ui.Focus.Manager; [[The new focus manager.]]
+                redirect : Efl.Ui.Focus.Manager @nullable; [[The new focus manager. Can be $null.]]
             }
         }
         @property border_elements {
diff --git a/src/lib/elementary/efl_ui_image.eo b/src/lib/elementary/efl_ui_image.eo
index b5fca8c514..57d0573e87 100644
--- a/src/lib/elementary/efl_ui_image.eo
+++ b/src/lib/elementary/efl_ui_image.eo
@@ -59,7 +59,7 @@ class Efl.Ui.Image extends Efl.Ui.Widget implements Efl.Input.Clickable, Efl.Ui.
          get {
          }
          values {
-            name: string; [[The icon name]]
+            name: string @nullable; [[The icon name, or $null if no standard icon is set.]]
          }
       }
    }
diff --git a/src/lib/elementary/efl_ui_item.eo b/src/lib/elementary/efl_ui_item.eo
index 016636dfa0..8a789a144c 100644
--- a/src/lib/elementary/efl_ui_item.eo
+++ b/src/lib/elementary/efl_ui_item.eo
@@ -46,7 +46,7 @@ abstract Efl.Ui.Item extends Efl.Ui.Layout_Base implements Efl.Ui.Selectable, Ef
            from the container.
          ]]
          values {
-            container : Efl.Ui.Widget; [[The container this item is in.]]
+            container : Efl.Ui.Widget @nullable; [[The container this item is in. Can be $null.]]
          }
       }
       @property item_parent {
@@ -57,7 +57,8 @@ abstract Efl.Ui.Item extends Efl.Ui.Layout_Base implements Efl.Ui.Selectable, Ef
            When the object is invalidated, the item parent is set to $NULL and still cannot be reset.
          ]]
          values {
-            parent : Efl.Ui.Item;
+            parent : Efl.Ui.Item @nullable; [[The item this one is nested in, or $null
+                                              if it is not nested in another item.]]
          }
       }
       @property calc_locked {
diff --git a/src/lib/elementary/efl_ui_navigation_layout.eo b/src/lib/elementary/efl_ui_navigation_layout.eo
index 1ddac7367b..0d1f8e0676 100644
--- a/src/lib/elementary/efl_ui_navigation_layout.eo
+++ b/src/lib/elementary/efl_ui_navigation_layout.eo
@@ -16,8 +16,9 @@ class @beta Efl.Ui.Navigation_Layout extends Efl.Ui.Layout_Base implements Efl.C
          get {
          }
          values {
-            value: Efl.Ui.Layout_Base;
-               [[The bar object located at the top area of the Navigation Layout.
+            value: Efl.Ui.Layout_Base @nullable;
+               [[The bar object located at the top area of the Navigation Layout,
+                 or $null if it has none.
                ]]
          }
       }
diff --git a/src/lib/elementary/efl_ui_single_selectable.eo b/src/lib/elementary/efl_ui_single_selectable.eo
index 6e65c0a0ac..30dfaf36c6 100644
--- a/src/lib/elementary/efl_ui_single_selectable.eo
+++ b/src/lib/elementary/efl_ui_single_selectable.eo
@@ -14,7 +14,8 @@ interface Efl.Ui.Single_Selectable {
 
         }
         values {
-          selectable : Efl.Ui.Selectable; [[The latest selected item.]]
+          selectable : Efl.Ui.Selectable @nullable; [[The latest selected item, or $null if
+                                                     nothing has been selected.]]
         }
       }
       @property fallback_selection {
@@ -27,7 +28,8 @@ interface Efl.Ui.Single_Selectable {
            Setting this property as a result of selection events results in undefined behavior.
          ]]
          values {
-            fallback : Efl.Ui.Selectable;
+            fallback : Efl.Ui.Selectable @nullable; [[The selectable to fall back to, or
+                                                     $null if there is none.]]
          }
       }
       @property allow_manual_deselection {
diff --git a/src/lib/elementary/efl_ui_spotlight_container.eo b/src/lib/elementary/efl_ui_spotlight_container.eo
index 12f5c808ef..b7279945c4 100644
--- a/src/lib/elementary/efl_ui_spotlight_container.eo
+++ b/src/lib/elementary/efl_ui_spotlight_container.eo
@@ -66,8 +66,9 @@ class Efl.Ui.Spotlight.Container extends Efl.Ui.Widget implements Efl.Pack_Linea
            Changing this value might trigger an animation.
          ]]
          values {
-            element : Efl.Ui.Widget; [[Sub-widget that has the spotlight.
-            The element has to be added prior to this call via the @Efl.Pack_Linear interface.]]
+            element : Efl.Ui.Widget @nullable; [[Sub-widget that has the spotlight.
+            The element has to be added prior to this call via the @Efl.Pack_Linear interface.
+            $null when no sub-widget has the spotlight.]]
          }
       }
       @property spotlight_size {
diff --git a/src/lib/elementary/efl_ui_tab_bar_default_item.eo b/src/lib/elementary/efl_ui_tab_bar_default_item.eo
index 7feb31d981..44bcbee193 100644
--- a/src/lib/elementary/efl_ui_tab_bar_default_item.eo
+++ b/src/lib/elementary/efl_ui_tab_bar_default_item.eo
@@ -11,7 +11,7 @@ class @beta Efl.Ui.Tab_Bar_Default_Item extends Efl.Ui.Default_Item
           The content will be re-set (means, the old content is deleted).
         ]]
         values {
-          standard_name : string; [[The icon name, names are defined as standard free desktop icon names.]]
+          standard_name : string @nullable; [[The icon name, names are defined as standard free desktop icon names. Can be $null.]]
         }
       }
    }
diff --git a/src/lib/elementary/efl_ui_tab_page.eo b/src/lib/elementary/efl_ui_tab_page.eo
index 4d16864162..e15c3eb214 100644
--- a/src/lib/elementary/efl_ui_tab_page.eo
+++ b/src/lib/elementary/efl_ui_tab_page.eo
@@ -17,7 +17,8 @@ class @beta Efl.Ui.Tab_Page extends Efl.Ui.Layout_Base implements Efl.Content
 
          }
          values {
-            item : Efl.Ui.Tab_Bar_Default_Item; [[The @Efl.Ui.Tab_Bar_Default_Item for the tab bar.]]
+            item : Efl.Ui.Tab_Bar_Default_Item @nullable; [[The @Efl.Ui.Tab_Bar_Default_Item for
+                                                            the tab bar, or $null if there is none.]]
          }
       }
    }
diff --git a/src/lib/elementary/efl_ui_widget.eo b/src/lib/elementary/efl_ui_widget.eo
index 2e08eb25fe..3890651a11 100644
--- a/src/lib/elementary/efl_ui_widget.eo
+++ b/src/lib/elementary/efl_ui_widget.eo
@@ -197,7 +197,8 @@ abstract Efl.Ui.Widget extends Efl.Canvas.Group implements Efl.Access.Object,
          get {
          }
          values {
-            parent: Efl.Ui.Widget; [[Widget parent object]]
+            parent: Efl.Ui.Widget @nullable; [[Widget parent object, or $null for a
+                                               top-level widget.]]
          }
       }
 
diff --git a/src/lib/elementary/efl_ui_widget_factory.eo b/src/lib/elementary/efl_ui_widget_factory.eo
index bb5610dfec..c9ffb6925f 100644
--- a/src/lib/elementary/efl_ui_widget_factory.eo
+++ b/src/lib/elementary/efl_ui_widget_factory.eo
@@ -13,7 +13,8 @@ class Efl.Ui.Widget_Factory extends Efl.Loop_Consumer implements Efl.Ui.Factory,
          get {}
          set {}
          values {
-            klass: const(Efl.Class); [[The class identifier to create item from.]]
+            klass: const(Efl.Class) @nullable; [[The class identifier to create items from,
+                                                or $null if none is set.]]
          }
       }
    }
diff --git a/src/lib/elementary/efl_ui_win.eo b/src/lib/elementary/efl_ui_win.eo
index e5e3bd123d..213ca943c6 100644
--- a/src/lib/elementary/efl_ui_win.eo
+++ b/src/lib/elementary/efl_ui_win.eo
@@ -303,8 +303,9 @@ class Efl.Ui.Win extends Efl.Ui.Widget implements Efl.Canvas.Scene, Efl.Access.W
          }
          get {
             values {
-               icon: const(Efl.Canvas.Object);
-                  [[The Evas image object to use for an icon.]]
+               icon: const(Efl.Canvas.Object) @nullable;
+                  [[The Evas image object used as an icon, or $null if the
+                    window has none.]]
             }
          }
       }
@@ -422,7 +423,7 @@ class Efl.Ui.Win extends Efl.Ui.Widget implements Efl.Canvas.Scene, Efl.Access.W
          get {
          }
          values {
-            name: string; [[Window name]]
+            name: string @nullable; [[Window name, or $null if the window has none.]]
          }
       }
       @property win_type @beta {
@@ -766,7 +767,8 @@ class Efl.Ui.Win extends Efl.Ui.Widget implements Efl.Canvas.Scene, Efl.Access.W
          get {
          }
          values {
-            style: string; [[The name of the focus highlight style.]]
+            style: string @nullable; [[The name of the focus highlight style, or $null if
+                                      none is set.]]
          }
       }
       @property focus_highlight_animate {
diff --git a/src/lib/evas/canvas/efl_canvas_textblock.eo b/src/lib/evas/canvas/efl_canvas_textblock.eo
index b242752df9..6e6ac300d1 100644
--- a/src/lib/evas/canvas/efl_canvas_textblock.eo
+++ b/src/lib/evas/canvas/efl_canvas_textblock.eo
@@ -338,8 +338,9 @@ class Efl.Canvas.Textblock extends Efl.Canvas.Object implements Efl.Text,
          ]]
          get {}
          values {
-            style: string; [[A whitespace-separated list of $[attribute=value] pairs, for example,
-                             $[font=sans font_size=30 color=white].]]
+            style: string @nullable; [[A whitespace-separated list of $[attribute=value] pairs, for example,
+                             $[font=sans font_size=30 color=white]. $null if the object
+                             has no style set.]]
          }
       }
       @property size_formatted {
diff --git a/src/lib/evas/canvas/efl_input_device.eo b/src/lib/evas/canvas/efl_input_device.eo
index 8b78a622aa..f9ab076ca2 100644
--- a/src/lib/evas/canvas/efl_input_device.eo
+++ b/src/lib/evas/canvas/efl_input_device.eo
@@ -37,7 +37,7 @@ class Efl.Input.Device extends Efl.Object
       @property source {
           [[Device source property]]
          values {
-            src: Efl.Input.Device; [[Input device]]
+            src: Efl.Input.Device @nullable; [[Input device. Can be $null.]]
          }
       }
       @property seat {
diff --git a/src/lib/evas/canvas/efl_input_event.eo b/src/lib/evas/canvas/efl_input_event.eo
index 080ef90460..60ba3f5ff1 100644
--- a/src/lib/evas/canvas/efl_input_event.eo
+++ b/src/lib/evas/canvas/efl_input_event.eo
@@ -33,7 +33,7 @@ mixin Efl.Input.Event requires Efl.Object extends Efl.Duplicate
       @property device @pure_virtual {
          [[Input device that originated this event.]]
          values {
-            dev: Efl.Input.Device; [[Input device origin]]
+            dev: Efl.Input.Device @nullable; [[Input device origin. Can be $null.]]
          }
       }
       @property event_flags @pure_virtual {
diff --git a/src/lib/evas/canvas/efl_input_key.eo b/src/lib/evas/canvas/efl_input_key.eo
index 3fb6eb65ec..458538cf3a 100644
--- a/src/lib/evas/canvas/efl_input_key.eo
+++ b/src/lib/evas/canvas/efl_input_key.eo
@@ -23,7 +23,7 @@ class Efl.Input.Key extends Efl.Object implements Efl.Input.Event, Efl.Input.Sta
            physical key.
          ]]
          values {
-            val: string; [[Name of the key that produced this event.]]
+            val: string @nullable; [[Name of the key that produced this event. Can be $null.]]
          }
       }
       @property key_sym {
@@ -38,7 +38,7 @@ class Efl.Input.Key extends Efl.Object implements Efl.Input.Event, Efl.Input.Sta
            symbol, in keyboard shortcuts for example.
          ]]
          values {
-            val: string; [[Symbol name produced by key event.]]
+            val: string @nullable; [[Symbol name produced by key event. Can be $null.]]
          }
       }
       @property string {
@@ -46,7 +46,7 @@ class Efl.Input.Key extends Efl.Object implements Efl.Input.Event, Efl.Input.Sta
            added.
          ]]
          values {
-            val: string; [[Visible string produced by this key event, in UTF8.]]
+            val: string @nullable; [[Visible string produced by this key event, in UTF8. Can be $null.]]
          }
       }
       @property compose_string {
@@ -56,7 +56,7 @@ class Efl.Input.Key extends Efl.Object implements Efl.Input.Event, Efl.Input.Sta
            Note: This string replaces the previous one.
          ]]
          values {
-            val: string; [[Composed string in UTF8.]]
+            val: string @nullable; [[Composed string in UTF8. Can be $null.]]
          }
       }
       @property key_code {
diff --git a/src/lib/evas/canvas/efl_input_pointer.eo b/src/lib/evas/canvas/efl_input_pointer.eo
index 32d5d4a84d..0b4a62efa4 100644
--- a/src/lib/evas/canvas/efl_input_pointer.eo
+++ b/src/lib/evas/canvas/efl_input_pointer.eo
@@ -121,7 +121,7 @@ class Efl.Input.Pointer extends Efl.Object implements Efl.Input.Event, Efl.Input
            propagation or repetition of the event.
          ]]
          values {
-            src: Efl.Object; [[Source object: @Efl.Gfx.Entity]]
+            src: Efl.Object @nullable; [[Source object: @Efl.Gfx.Entity. Can be $null.]]
          }
       }
       @property button_flags {
diff --git a/src/lib/evas/canvas/efl_text_cursor_object.eo b/src/lib/evas/canvas/efl_text_cursor_object.eo
index 9c936047c9..fe9cfc029f 100644
--- a/src/lib/evas/canvas/efl_text_cursor_object.eo
+++ b/src/lib/evas/canvas/efl_text_cursor_object.eo
@@ -224,7 +224,7 @@ abstract Efl.Text_Cursor.Object extends Efl.Object implements Efl.Duplicate{
          [[The text object this cursor is associated with.]]
          get { }
          values {
-            text_obj: Efl.Canvas.Object; [[The text object.]]
+            text_obj: Efl.Canvas.Object @nullable; [[The text object. Can be $null.]]
          }
       }
    }
diff --git a/src/lib/evas/gesture/efl_canvas_gesture_custom.eo b/src/lib/evas/gesture/efl_canvas_gesture_custom.eo
index c8fe7ad909..f0ca4cbe27 100644
--- a/src/lib/evas/gesture/efl_canvas_gesture_custom.eo
+++ b/src/lib/evas/gesture/efl_canvas_gesture_custom.eo
@@ -21,7 +21,8 @@ class @beta Efl.Canvas.Gesture_Custom extends Efl.Canvas.Gesture
          set @protected {
          }
          values {
-            gesture_name: string; [[The name of the custom gesture.]]
+            gesture_name: string @nullable; [[The name of the custom gesture, or $null
+                                              if it has none.]]
          }
       }
    }
diff --git a/src/lib/evas/gesture/efl_canvas_gesture_recognizer_custom.eo b/src/lib/evas/gesture/efl_canvas_gesture_recognizer_custom.eo
index 92f9786e75..f47d1c685e 100644
--- a/src/lib/evas/gesture/efl_canvas_gesture_recognizer_custom.eo
+++ b/src/lib/evas/gesture/efl_canvas_gesture_recognizer_custom.eo
@@ -16,7 +16,8 @@ abstract @beta Efl.Canvas.Gesture_Recognizer_Custom extends Efl.Canvas.Gesture_R
          set {
          }
          values {
-            gesture_name: string; [[The name of the gesture recognizer.]]
+            gesture_name: string @nullable; [[The name of the gesture recognizer, or $null
+                                              if it has none.]]
          }
       }
    }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to