PKG_CHECK_MODULES(SCIM,[isf >= $SCIM_VERSION])
+PKG_CHECK_MODULES(ECORE,[ecore])
AC_SUBST(SCIM_VERSION)
--- /dev/null
+* Tue Aug 27 2013 Jihoon Kim <jihoon48.kim@samsung.com> submit/tizen_2.2/20130703.071152@72d18f1
+- key event isn't processed in some layouts
+
Name: ise-engine-anthy
Summary: Anthy (Japanese) Input Method Engine for ISF
Version: 0.0.0125
-Release: 2
+Release: 3
Group: TO_BE/FILLED_IN
License: LGPL v2.1 or later
URL: http://sourceforge.jp/projects/scim-imengine/
BuildRequires: gettext-tools
BuildRequires: pkgconfig(isf)
BuildRequires: pkgconfig(anthy)
-
+BuildRequires: pkgconfig(ecore)
%description
ISF is an input service framework for TIZEN.
scim_anthy_style_file.cpp \
scim_anthy_utils.cpp
-ise_engine_anthy_la_CFLAGS = @SCIM_CFLAGS@ @SCIM_DEBUG_FLAGS@ @ANTHY_CFLAGS@
-ise_engine_anthy_la_CXXFLAGS = @SCIM_CFLAGS@ @SCIM_DEBUG_FLAGS@ @ANTHY_CFLAGS@
+ise_engine_anthy_la_CFLAGS = @SCIM_CFLAGS@ @SCIM_DEBUG_FLAGS@ @ANTHY_CFLAGS@ @ECORE_CFLAGS@
+ise_engine_anthy_la_CXXFLAGS = @SCIM_CFLAGS@ @SCIM_DEBUG_FLAGS@ @ANTHY_CFLAGS@ @ECORE_CFLAGS@
ise_engine_anthy_la_LDFLAGS = \
-avoid-version \
-module \
@LIBTOOL_EXPORT_OPTIONS@ \
@SCIM_LIBS@ \
- @ANTHY_LIBS@
+ @ANTHY_LIBS@ \
+ @ECORE_LIBS@
#
#include <sys/types.h>
#include <scim.h>
+#include <Ecore_IMF.h>
#include "scim_anthy_factory.h"
#include "scim_anthy_imengine.h"
#include "scim_anthy_prefs.h"
m_prev_input_mode (SCIM_ANTHY_MODE_HIRAGANA),
m_conv_mode (SCIM_ANTHY_CONVERSION_MULTI_SEGMENT),
m_helper_started (false),
- m_timeout_id_seq (0)
+ m_timeout_id_seq (0),
+ m_layout (ECORE_IMF_INPUT_PANEL_LAYOUT_NORMAL)
{
SCIM_DEBUG_IMENGINE(1) << "Create Anthy Instance : ";
{
SCIM_DEBUG_IMENGINE(2) << "process_key_event.\n";
+ switch (m_layout) {
+ case ECORE_IMF_INPUT_PANEL_LAYOUT_PHONENUMBER:
+ case ECORE_IMF_INPUT_PANEL_LAYOUT_IP:
+ case ECORE_IMF_INPUT_PANEL_LAYOUT_MONTH:
+ case ECORE_IMF_INPUT_PANEL_LAYOUT_NUMBERONLY:
+ case ECORE_IMF_INPUT_PANEL_LAYOUT_DATETIME:
+ return false;
+ default:
+ break;
+ }
+
// FIXME!
// for NICOLA thumb shift key
if (get_typing_method () == SCIM_ANTHY_TYPING_METHOD_NICOLA &&
}
void
+AnthyInstance::set_layout (unsigned int layout)
+{
+ m_layout = layout;
+}
+
+void
AnthyInstance::set_preedition (void)
{
update_preedit_string (m_preedit.get_string (),
virtual void reload_config (const ConfigPointer &config);
virtual void flush ();
+ virtual void set_layout (unsigned int layout);
public:
/* actions */
/* timeout */
uint32 m_timeout_id_seq;
TimeoutClosures m_closures;
+
+ unsigned int m_layout;
};
#endif /* __SCIM_ANTHY_IMENGINE_H__ */
/*