# Process this file with autoconf to produce a configure script
#AC_INIT(scim, 1.4.7, suzhe@tsinghua.org.cn)
-AC_INIT(isf, 2.3.6006, isf@samsung.com)
+AC_INIT(isf, 2.3.6011, isf@samsung.com)
AC_CONFIG_SRCDIR([ism/src/scim.h])
m4_pattern_allow([^AS_])
# ISF version
ISF_MAJOR_VERSION=2
ISF_MINOR_VERSION=3
-ISF_MICRO_VERSION=6006
+ISF_MICRO_VERSION=6011
ISF_VERSION=$ISF_MAJOR_VERSION.$ISF_MINOR_VERSION.$ISF_MICRO_VERSION
+isf (2.3.6011-1slp2+1) unstable; urgency=low
+
+ * [immodule] Fix P121127-4709: Add cursor position checking
+ * Git: framework/uifw/isf
+ * Tag: isf_2.3.6011-1slp2+1
+
+ -- Li Zhang <li2012.zhang@samsung.com> Tue, 11 Dec 2012 19:43:00 +0900
+
isf (2.3.6006-1slp2+1) unstable; urgency=low
* [immodule] Set correct ic for input_panel_show () and input_panel_hide ()
SCIM_DEBUG_FRONTEND(2) << "Surrounding text: " << surrounding <<"\n";
SCIM_DEBUG_FRONTEND(2) << "Cursor Index : " << cursor_index <<"\n";
WideString before = utf8_mbstowcs (String (surrounding));
+ if (cursor_index > before.length())
+ return false;
+ WideString after = before;
before = before.substr (0, cursor_index);
- WideString after = utf8_mbstowcs (String (surrounding));
after = after.substr (cursor_index, after.length () - cursor_index);
if (maxlen_before > 0 && ((unsigned int)maxlen_before) < before.length ())
before = WideString (before.begin () + (before.length () - maxlen_before), before.end ());
Name: isf
Summary: Input Service Framework
-Version: 2.3.6006
+Version: 2.3.6011
Release: 1
Group: TO_BE/FILLED_IN
License: LGPL
+ISF 2.3.6011 :
+ 1. [immodule] Fix P121127-4709: Add cursor position checking
+
+
ISF 2.3.6006 :
1. [immodule] Set correct ic for input_panel_show () and input_panel_hide ()
2. [immodule] Fix prevent issue. c_str() returns temporary pointer