Raster, Ecore_IMF and edje should be applied according to your layout type
insertion in elm.

Would you please review and apply this patch for ecore_imf and edje?

On Monday, January 2, 2012, Enlightenment SVN wrote:

> Log:
> add a password mode.
>
>
>
> Author:       raster
> Date:         2012-01-02 04:03:33 -0800 (Mon, 02 Jan 2012)
> New Revision: 66751
> Trac:         http://trac.enlightenment.org/e/changeset/66751
>
> Modified:
>  trunk/elementary/src/lib/elm_entry.h
>
> Modified: trunk/elementary/src/lib/elm_entry.h
> ===================================================================
> --- trunk/elementary/src/lib/elm_entry.h        2012-01-02 12:01:17 UTC
> (rev 66750)
> +++ trunk/elementary/src/lib/elm_entry.h        2012-01-02 12:03:33 UTC
> (rev 66751)
> @@ -28,6 +28,7 @@
>    ELM_INPUT_PANEL_LAYOUT_NUMBERONLY, /**< Number Only layout */
>    ELM_INPUT_PANEL_LAYOUT_HEX, /**< Hexadecimal layout */
>    ELM_INPUT_PANEL_LAYOUT_TERMINAL, /**< Command-line terminal layout */
> +   ELM_INPUT_PANEL_LAYOUT_PASSWORD /**< Like normal, but no auto-correct,
> no auto-capitalization etc. */
>  } Elm_Input_Panel_Layout; /**< Type of input panel (virtual keyboard) to
> use - this is a hint and may not provide exactly what is desired. */
>
>  typedef enum
>
>
>
> ------------------------------------------------------------------------------
> Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
> infrastructure or vast IT resources to deliver seamless, secure access to
> virtual desktops. With this all-in-one solution, easily deploy virtual
> desktops for less than the cost of PCs and save 60% on VDI infrastructure
> costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
> _______________________________________________
> enlightenment-svn mailing list
> [email protected] <javascript:;>
> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
>
Index: src/lib/ecore_imf/ecore_imf_context.c
===================================================================
--- src/lib/ecore_imf/ecore_imf_context.c       (revision 66783)
+++ src/lib/ecore_imf/ecore_imf_context.c       (working copy)
@@ -1134,7 +1134,7 @@ ecore_imf_context_input_panel_layout_get (Ecore_IM
      {
         ECORE_MAGIC_FAIL(ctx, ECORE_MAGIC_CONTEXT,
                          "ecore_imf_context_input_panel_layout_get");
-        return ECORE_IMF_INPUT_PANEL_LAYOUT_INVALID;
+        return ECORE_IMF_INPUT_PANEL_LAYOUT_NORMAL;
      }
 
    if (ctx->klass->input_panel_layout_get)
@@ -1142,7 +1142,7 @@ ecore_imf_context_input_panel_layout_get (Ecore_IM
         return ctx->input_panel_layout;
      }
    else
-     return ECORE_IMF_INPUT_PANEL_LAYOUT_INVALID;
+     return ECORE_IMF_INPUT_PANEL_LAYOUT_NORMAL;
 }
 
 /**
Index: src/lib/ecore_imf/Ecore_IMF.h
===================================================================
--- src/lib/ecore_imf/Ecore_IMF.h       (revision 66783)
+++ src/lib/ecore_imf/Ecore_IMF.h       (working copy)
@@ -138,8 +138,10 @@ typedef enum
    ECORE_IMF_INPUT_PANEL_LAYOUT_IP,              /**< IP layout */
    ECORE_IMF_INPUT_PANEL_LAYOUT_MONTH,           /**< Month layout */
    ECORE_IMF_INPUT_PANEL_LAYOUT_NUMBERONLY,      /**< Number Only layout */
-   ECORE_IMF_INPUT_PANEL_LAYOUT_INVALID
-} Ecore_IMF_Input_Panel_Layout;
+   ECORE_IMF_INPUT_PANEL_LAYOUT_HEX,             /**< Hexadecimal layout */
+   ECORE_IMF_INPUT_PANEL_LAYOUT_TERMINAL,        /**< Command-line terminal 
layout */
+   ECORE_IMF_INPUT_PANEL_LAYOUT_PASSWORD         /**< Like normal, but no 
auto-correct, no auto-capitalization etc. */
+} Ecore_IMF_Input_Panel_Layout; /**< Type of input panel (virtual keyboard) to 
use - this is a hint and may not provide exactly what is desired. */
 
 typedef enum
 {
Index: src/lib/edje_util.c
===================================================================
--- src/lib/edje_util.c (revision 66783)
+++ src/lib/edje_util.c (working copy)
@@ -1748,14 +1748,14 @@ edje_object_part_text_input_panel_layout_get(const
    Edje_Real_Part *rp;
 
    ed = _edje_fetch(obj);
-   if ((!ed) || (!part)) return EDJE_INPUT_PANEL_LAYOUT_INVALID;
+   if ((!ed) || (!part)) return EDJE_INPUT_PANEL_LAYOUT_NORMAL;
    rp = _edje_real_part_recursive_get(ed, part);
    if (!rp) return EINA_FALSE;
    if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE)
      {
         return _edje_entry_input_panel_layout_get(rp);
      }
-   return EDJE_INPUT_PANEL_LAYOUT_INVALID;
+   return EDJE_INPUT_PANEL_LAYOUT_NORMAL;
 }
 
 EAPI void
Index: src/lib/Edje.h
===================================================================
--- src/lib/Edje.h      (revision 66783)
+++ src/lib/Edje.h      (working copy)
@@ -804,8 +804,10 @@ typedef enum
    EDJE_INPUT_PANEL_LAYOUT_IP,              /**< IP layout */
    EDJE_INPUT_PANEL_LAYOUT_MONTH,           /**< Month layout */
    EDJE_INPUT_PANEL_LAYOUT_NUMBERONLY,      /**< Number Only layout */
-   EDJE_INPUT_PANEL_LAYOUT_INVALID
-} Edje_Input_Panel_Layout;
+   EDJE_INPUT_PANEL_LAYOUT_HEX,             /**< Hexadecimal layout */
+   EDJE_INPUT_PANEL_LAYOUT_TERMINAL,        /**< Command-line terminal layout 
*/
+   EDJE_INPUT_PANEL_LAYOUT_PASSWORD         /**< Like normal, but no 
auto-correct, no auto-capitalization etc. */
+} Edje_Input_Panel_Layout; /**< Type of input panel (virtual keyboard) to use 
- this is a hint and may not provide exactly what is desired. */
 
 /**
  * @brief Converts type identifier to string nicer representation.
Index: src/lib/edje_entry.c
===================================================================
--- src/lib/edje_entry.c        (revision 66783)
+++ src/lib/edje_entry.c        (working copy)
@@ -2844,13 +2844,13 @@ Edje_Input_Panel_Layout
 _edje_entry_input_panel_layout_get(Edje_Real_Part *rp)
 {
    Entry *en = rp->entry_data;
-   if (!en) return EDJE_INPUT_PANEL_LAYOUT_INVALID;
+   if (!en) return EDJE_INPUT_PANEL_LAYOUT_NORMAL;
 #ifdef HAVE_ECORE_IMF
    if (en->imf_context)
      return ecore_imf_context_input_panel_layout_get(en->imf_context);
 #endif
 
-   return EDJE_INPUT_PANEL_LAYOUT_INVALID;
+   return EDJE_INPUT_PANEL_LAYOUT_NORMAL;
 }
 
 static void
------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to