head 1.3; access; symbols pkgsrc-2017Q2:1.2.0.36 pkgsrc-2017Q2-base:1.2 pkgsrc-2017Q1:1.2.0.34 pkgsrc-2017Q1-base:1.2 pkgsrc-2016Q4:1.2.0.32 pkgsrc-2016Q4-base:1.2 pkgsrc-2016Q3:1.2.0.30 pkgsrc-2016Q3-base:1.2 pkgsrc-2016Q2:1.2.0.28 pkgsrc-2016Q2-base:1.2 pkgsrc-2016Q1:1.2.0.26 pkgsrc-2016Q1-base:1.2 pkgsrc-2015Q4:1.2.0.24 pkgsrc-2015Q4-base:1.2 pkgsrc-2015Q3:1.2.0.22 pkgsrc-2015Q3-base:1.2 pkgsrc-2015Q2:1.2.0.20 pkgsrc-2015Q2-base:1.2 pkgsrc-2015Q1:1.2.0.18 pkgsrc-2015Q1-base:1.2 pkgsrc-2014Q4:1.2.0.16 pkgsrc-2014Q4-base:1.2 pkgsrc-2014Q3:1.2.0.14 pkgsrc-2014Q3-base:1.2 pkgsrc-2014Q2:1.2.0.12 pkgsrc-2014Q2-base:1.2 pkgsrc-2014Q1:1.2.0.10 pkgsrc-2014Q1-base:1.2 pkgsrc-2013Q4:1.2.0.8 pkgsrc-2013Q4-base:1.2 pkgsrc-2013Q3:1.2.0.6 pkgsrc-2013Q3-base:1.2 pkgsrc-2013Q2:1.2.0.4 pkgsrc-2013Q2-base:1.2 pkgsrc-2013Q1:1.2.0.2 pkgsrc-2013Q1-base:1.2 pkgsrc-2012Q4:1.1.1.1.0.20 pkgsrc-2012Q4-base:1.1.1.1 pkgsrc-2012Q3:1.1.1.1.0.18 pkgsrc-2012Q3-base:1.1.1.1 pkgsrc-2012Q2:1.1.1.1.0.16 pkgsrc-2012Q2-base:1.1.1.1 pkgsrc-2012Q1:1.1.1.1.0.14 pkgsrc-2012Q1-base:1.1.1.1 pkgsrc-2011Q4:1.1.1.1.0.12 pkgsrc-2011Q4-base:1.1.1.1 pkgsrc-2011Q3:1.1.1.1.0.10 pkgsrc-2011Q3-base:1.1.1.1 pkgsrc-2011Q2:1.1.1.1.0.8 pkgsrc-2011Q2-base:1.1.1.1 pkgsrc-2011Q1:1.1.1.1.0.6 pkgsrc-2011Q1-base:1.1.1.1 pkgsrc-2010Q4:1.1.1.1.0.4 pkgsrc-2010Q4-base:1.1.1.1 pkgsrc-2010Q3:1.1.1.1.0.2 pkgsrc-2010Q3-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.3 date 2017.09.04.18.25.05; author wiz; state dead; branches; next 1.2; commitid QVirdZVeqThCoU5A; 1.2 date 2013.03.22.13.29.42; author obache; state Exp; branches; next 1.1; 1.1 date 2010.08.08.01.05.04; author obache; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2010.08.08.01.05.04; author obache; state Exp; branches; next ; desc @@ 1.3 log @Remove scim-python. This project was stopped upstream and work was continued into the ibus platform. @ text @$NetBSD: patch-ac,v 1.2 2013/03/22 13:29:42 obache Exp $ * let to cast with appropriate type. --- src/scim-python-factory.cpp.orig 2008-07-11 04:16:15.000000000 +0000 +++ src/scim-python-factory.cpp @@@@ -130,18 +130,18 @@@@ PyIMEngineFactory::get_attr_unicode (cha if (pValue) { if (PyUnicode_Check (pValue)) { #if Py_UNICODE_SIZE == 4 - result = (wchar_t *)PyUnicode_AS_UNICODE (pValue); + result = (scim::ucs4_t *)PyUnicode_AS_UNICODE (pValue); #else gunichar *unistr = g_utf16_to_ucs4 (PyUnicode_AS_UNICODE (pValue), PyUnicode_GET_SIZE (pValue), NULL, NULL, NULL); - result = (wchar_t *) unistr; + result = WideString((scim::ucs4_t *)unistr); g_free (unistr); #endif } else if (PyString_Check (pValue)) { gunichar *unistr = g_utf8_to_ucs4 (PyString_AsString (pValue), PyString_GET_SIZE (pValue), NULL, NULL, NULL); - result = (wchar_t *)unistr; + result = WideString((scim::ucs4_t *)unistr); g_free (unistr); } Py_DECREF (pValue); @ 1.2 log @fixes patch about cast for the case of __STDC_ISO_10646__ @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.1.1.1 2010/08/08 01:05:04 obache Exp $ @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 add wanted convert. d7 6 a12 1 @@@@ -134,14 +134,14 @@@@ PyIMEngineFactory::get_attr_unicode (cha d17 1 a17 1 + result = WideString(unistr); d25 1 a25 1 + result = WideString(unistr); @ 1.1.1.1 log @Import scim-python-0.1.13rc1nb1 as inputmethod/scim-python. Python wrapper for Smart Common Input Method platform. @ text @@