@since !! (function AND typedef) Vincent
On Thu, Jun 28, 2012 at 10:17 AM, Enlightenment SVN <[email protected]> wrote: > Log: > add compose sequence decode/hanling to ecore-input. needs manual use > to detect though. needs to be added to edje_entry and terminology. > > > > Author: raster > Date: 2012-06-28 01:17:13 -0700 (Thu, 28 Jun 2012) > New Revision: 72982 > Trac: http://trac.enlightenment.org/e/changeset/72982 > > Added: > trunk/ecore/src/lib/ecore_input/ecore_input_compose.c > trunk/ecore/src/lib/ecore_input/ecore_input_compose.h > Modified: > trunk/ecore/ChangeLog trunk/ecore/src/lib/ecore_input/Ecore_Input.h > trunk/ecore/src/lib/ecore_input/Makefile.am > > Modified: trunk/ecore/ChangeLog > =================================================================== > --- trunk/ecore/ChangeLog 2012-06-28 08:11:45 UTC (rev 72981) > +++ trunk/ecore/ChangeLog 2012-06-28 08:17:13 UTC (rev 72982) > @@ -777,3 +777,10 @@ > > * Fix xim module to pass of Windows key as Mod4, not Mod5 > * Add support for AltGr key in X > + > +2012-06-28 Carsten Haitzler (The Rasterman) > + > + * Add compose sequence handling to ecore_input to be able to > + query a sequence of keysyms for a final compose string (utf8) > + that you free if you get it. > + > > Modified: trunk/ecore/src/lib/ecore_input/Ecore_Input.h > =================================================================== > --- trunk/ecore/src/lib/ecore_input/Ecore_Input.h 2012-06-28 08:11:45 > UTC (rev 72981) > +++ trunk/ecore/src/lib/ecore_input/Ecore_Input.h 2012-06-28 08:17:13 > UTC (rev 72982) > @@ -92,6 +92,13 @@ > ECORE_OUT > } Ecore_Event_IO; > > + typedef enum _Ecore_Compose_State > + { > + ECORE_COMPOSE_NONE, > + ECORE_COMPOSE_MIDDLE, > + ECORE_COMPOSE_DONE > + } Ecore_Compose_State; > + > struct _Ecore_Event_Key > { > const char *keyname; > @@ -215,6 +222,8 @@ > EAPI unsigned int ecore_event_modifier_mask(Ecore_Event_Modifier > modifier); > EAPI Ecore_Event_Modifier ecore_event_update_modifier(const char *key, > Ecore_Event_Modifiers *modifiers, int inc); > > + EAPI Ecore_Compose_State ecore_compose_get(const Eina_List *seq, char > **seqstr_ret); > + > #ifdef __cplusplus > } > #endif > > Modified: trunk/ecore/src/lib/ecore_input/Makefile.am > =================================================================== > --- trunk/ecore/src/lib/ecore_input/Makefile.am 2012-06-28 08:11:45 UTC (rev > 72981) > +++ trunk/ecore/src/lib/ecore_input/Makefile.am 2012-06-28 08:17:13 UTC (rev > 72982) > @@ -12,7 +12,9 @@ > includesdir = $(includedir)/ecore-@VMAJ@ > > libecore_input_la_SOURCES = \ > -ecore_input.c > +ecore_input.c \ > +ecore_input_compose.c \ > +ecore_input_compose.h > > libecore_input_la_LIBADD = \ > $(top_builddir)/src/lib/ecore/libecore.la \ > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > enlightenment-svn mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
