head 1.4; access; symbols pkgsrc-2017Q2:1.3.0.36 pkgsrc-2017Q2-base:1.3 pkgsrc-2017Q1:1.3.0.34 pkgsrc-2017Q1-base:1.3 pkgsrc-2016Q4:1.3.0.32 pkgsrc-2016Q4-base:1.3 pkgsrc-2016Q3:1.3.0.30 pkgsrc-2016Q3-base:1.3 pkgsrc-2016Q2:1.3.0.28 pkgsrc-2016Q2-base:1.3 pkgsrc-2016Q1:1.3.0.26 pkgsrc-2016Q1-base:1.3 pkgsrc-2015Q4:1.3.0.24 pkgsrc-2015Q4-base:1.3 pkgsrc-2015Q3:1.3.0.22 pkgsrc-2015Q3-base:1.3 pkgsrc-2015Q2:1.3.0.20 pkgsrc-2015Q2-base:1.3 pkgsrc-2015Q1:1.3.0.18 pkgsrc-2015Q1-base:1.3 pkgsrc-2014Q4:1.3.0.16 pkgsrc-2014Q4-base:1.3 pkgsrc-2014Q3:1.3.0.14 pkgsrc-2014Q3-base:1.3 pkgsrc-2014Q2:1.3.0.12 pkgsrc-2014Q2-base:1.3 pkgsrc-2014Q1:1.3.0.10 pkgsrc-2014Q1-base:1.3 pkgsrc-2013Q4:1.3.0.8 pkgsrc-2013Q4-base:1.3 pkgsrc-2013Q3:1.3.0.6 pkgsrc-2013Q3-base:1.3 pkgsrc-2013Q2:1.3.0.4 pkgsrc-2013Q2-base:1.3 pkgsrc-2013Q1:1.3.0.2 pkgsrc-2013Q1-base:1.3 pkgsrc-2012Q4:1.2.0.2 pkgsrc-2012Q4-base:1.2 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.4 date 2017.09.04.18.25.05; author wiz; state dead; branches; next 1.3; commitid QVirdZVeqThCoU5A; 1.3 date 2013.03.22.13.29.42; author obache; state Exp; branches; next 1.2; 1.2 date 2012.12.25.21.07.47; author joerg; 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.4 log @Remove scim-python. This project was stopped upstream and work was continued into the ibus platform. @ text @$NetBSD: patch-ad,v 1.3 2013/03/22 13:29:42 obache Exp $ * let to cast with appropriate type. --- src/scim-python-lookup-table.cpp.orig 2008-07-11 04:16:15.000000000 +0000 +++ src/scim-python-lookup-table.cpp @@@@ -86,7 +86,7 @@@@ PyLookupTable::py_set_candidate_labels ( #else int usize = PyUnicode_GET_SIZE (items[i]); gunichar *unistr = g_utf16_to_ucs4 (PyUnicode_AS_UNICODE (items[i]), usize, NULL, NULL, NULL); - _labels.push_back (WideString ((wchar_t *)unistr)); + _labels.push_back (WideString ((scim::ucs4_t *)unistr)); g_free (unistr); #endif } @@@@ -518,7 +518,7 @@@@ PyLookupTable::py_append_candidate (PyLo return NULL; unistr = g_utf16_to_ucs4 (candidate, size, NULL, NULL, NULL); - if (self->lookup_table.append_candidate (WideString ((wchar_t *)unistr), + if (self->lookup_table.append_candidate (WideString ((scim::ucs4_t *)unistr), Attributes_FromTupleOrList (pAttrs))) { result = Py_True; @@@@ -596,7 +596,7 @@@@ PyLookupTable::py_init (PyLookupTableObj void PyLookupTable::py_dealloc (PyLookupTableObject *self) { - self->lookup_table.~LookupTable (); + self->lookup_table.~PyLookupTable (); ((PyObject *)self)->ob_type->tp_free (self); } @ 1.3 log @fixes patch about cast for the case of __STDC_ISO_10646__ @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.2 2012/12/25 21:07:47 joerg Exp $ @ 1.2 log @Call correct destructor. @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.1.1.1 2010/08/08 01:05:04 obache Exp $ d3 1 a3 1 remove unwanted cast. d12 1 a12 1 + _labels.push_back (WideString (unistr)); d21 1 a21 1 + if (self->lookup_table.append_candidate (WideString (unistr), @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ d25 9 @ 1.1.1.1 log @Import scim-python-0.1.13rc1nb1 as inputmethod/scim-python. Python wrapper for Smart Common Input Method platform. @ text @@