commit python-gtksourceview for openSUSE:Factory
Hello community, here is the log from the commit of package python-gtksourceview for openSUSE:Factory checked in at Wed Mar 31 19:44:39 CEST 2010. -------- --- GNOME/python-gtksourceview/python-gtksourceview.changes 2010-02-23 11:59:23.000000000 +0100 +++ /mounts/work_src_done/STABLE/python-gtksourceview/python-gtksourceview.changes 2010-03-31 02:00:11.000000000 +0200 @@ -1,0 +2,6 @@ +Wed Mar 31 01:58:55 CEST 2010 - vuntz@opensuse.org + +- Update to version 2.10.0: + + Add API to handle "context classes" + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- pygtksourceview-2.9.2.tar.bz2 New: ---- pygtksourceview-2.10.0.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-gtksourceview.spec ++++++ --- /var/tmp/diff_new_pack.yAA6gW/_old 2010-03-31 19:40:17.000000000 +0200 +++ /var/tmp/diff_new_pack.yAA6gW/_new 2010-03-31 19:40:17.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package python-gtksourceview (Version 2.9.2) +# spec file for package python-gtksourceview (Version 2.10.0) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -30,7 +30,7 @@ Url: http://gtksourceview.sourceforge.net/ License: LGPLv2.0 Group: Development/Languages/Python -Version: 2.9.2 +Version: 2.10.0 Release: 1 Summary: Python bindings for the GTK+ source editing widget Source: ftp://ftp.gnome.org/pub/GNOME/sources/%{_name}/2.2/%{_name}-%{version}.tar.bz2 ++++++ pygtksourceview-2.9.2.tar.bz2 -> pygtksourceview-2.10.0.tar.bz2 ++++++ ++++ 17868 lines of diff (skipped) ++++ retrying with extended exclude list diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/pygtksourceview-2.9.2/ChangeLog new/pygtksourceview-2.10.0/ChangeLog --- old/pygtksourceview-2.9.2/ChangeLog 2010-02-22 22:32:38.000000000 +0100 +++ new/pygtksourceview-2.10.0/ChangeLog 2010-03-28 14:41:54.000000000 +0200 @@ -1,3 +1,32 @@ +commit 812857b437c3d175e99a592e0d5166b71101da45 +Author: Paolo Borelli <pborelli@gnome.org> +Date: Sun Mar 28 14:34:55 2010 +0200 + + Release 2.10.0 + + NEWS | 5 +++++ + configure.ac | 4 ++-- + 2 files changed, 7 insertions(+), 2 deletions(-) + +commit 2579e2557195b4a0c99bdf109136ee957af46a6c +Author: Jesse van den Kieboom <jesse.vandenkieboom@epfl.ch> +Date: Mon Jan 4 19:32:04 2010 +0100 + + Added bindings for context classes + + gtksourceview2.defs | 37 +++++++++++++++++++++++++++++++++++++ + gtksourceview2.override | 37 +++++++++++++++++++++++++++++++++++++ + 2 files changed, 74 insertions(+), 0 deletions(-) + +commit e38c2064f7dd040075d353261c51708143416e0a +Author: Paolo Borelli <pborelli@gnome.org> +Date: Mon Feb 22 22:34:37 2010 +0100 + + Post-release version bump + + configure.ac | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + commit f415465f450dd0c2decf8aea4c8a2a70ccf8c9da Author: Paolo Borelli <pborelli@gnome.org> Date: Mon Feb 22 22:32:25 2010 +0100 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/pygtksourceview-2.9.2/NEWS new/pygtksourceview-2.10.0/NEWS --- old/pygtksourceview-2.9.2/NEWS 2010-02-22 22:31:39.000000000 +0100 +++ new/pygtksourceview-2.10.0/NEWS 2010-03-28 14:34:15.000000000 +0200 @@ -1,3 +1,8 @@ +News in 2.10.0 +============== + + o Add API to handle "context classes" + News in 2.9.2 ============= diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/pygtksourceview-2.9.2/configure.ac new/pygtksourceview-2.10.0/configure.ac --- old/pygtksourceview-2.9.2/configure.ac 2010-02-22 22:25:35.000000000 +0100 +++ new/pygtksourceview-2.10.0/configure.ac 2010-03-28 14:34:42.000000000 +0200 @@ -2,8 +2,8 @@ dnl the pygtksourceview version number m4_define(pygtksourceview_major_version, 2) -m4_define(pygtksourceview_minor_version, 9) -m4_define(pygtksourceview_micro_version, 2) +m4_define(pygtksourceview_minor_version, 10) +m4_define(pygtksourceview_micro_version, 0) m4_define(pygtksourceview_version, pygtksourceview_major_version.pygtksourceview_minor_version.pygtksourceview_micro_version) dnl versions of packages we require ... diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/pygtksourceview-2.9.2/gtksourceview2.defs new/pygtksourceview-2.10.0/gtksourceview2.defs --- old/pygtksourceview-2.9.2/gtksourceview2.defs 2010-02-22 22:21:18.000000000 +0100 +++ new/pygtksourceview-2.10.0/gtksourceview2.defs 2010-03-28 14:18:25.000000000 +0200 @@ -382,7 +382,44 @@ ) ) +(define-method iter_has_context_class + (of-object "GtkSourceBuffer") + (c-name "gtk_source_buffer_iter_has_context_class") + (return-type "gboolean") + (parameters + '("GtkTextIter*" "iter") + '("const-gchar*" "context_class") + ) +) + +(define-method get_context_classes_at_iter + (of-object "GtkSourceBuffer") + (c-name "gtk_source_buffer_get_context_classes_at_iter") + (return-type "gchar**") + (parameters + '("GtkTextIter*" "iter") + ) +) +(define-method iter_forward_to_context_class_toggle + (of-object "GtkSourceBuffer") + (c-name "gtk_source_buffer_iter_forward_to_context_class_toggle") + (return-type "gboolean") + (parameters + '("GtkTextIter*" "iter") + '("const-gchar*" "context_class") + ) +) + +(define-method iter_backward_to_context_class_toggle + (of-object "GtkSourceBuffer") + (c-name "gtk_source_buffer_iter_backward_to_context_class_toggle") + (return-type "gboolean") + (parameters + '("GtkTextIter*" "iter") + '("const-gchar*" "context_class") + ) +) ;; From gtksourcegutter.h diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/pygtksourceview-2.9.2/gtksourceview2.override new/pygtksourceview-2.10.0/gtksourceview2.override --- old/pygtksourceview-2.9.2/gtksourceview2.override 2009-12-24 21:30:19.000000000 +0100 +++ new/pygtksourceview-2.10.0/gtksourceview2.override 2010-03-28 14:18:25.000000000 +0200 @@ -1234,3 +1234,40 @@ pygobject_register_wrapper((PyObject *)self); return 0; } + +%% +override gtk_source_buffer_get_context_classes_at_iter kwargs +static PyObject * +_wrap_gtk_source_buffer_get_context_classes_at_iter(PyGObject *self, PyObject *args, PyObject *kwargs) +{ + static char *kwlist[] = { "iter", NULL }; + PyObject *py_iter; + GtkTextIter *iter = NULL; + gchar **context_classes; + + PyObject *ret; + + if (!PyArg_ParseTupleAndKeywords(args, + kwargs, + "Os:GtkSourceBuffer.get_context_classes_at_iter", + kwlist, + &py_iter)) + return NULL; + + if (pyg_boxed_check(py_iter, GTK_TYPE_TEXT_ITER)) + { + iter = pyg_boxed_get(py_iter, GtkTextIter); + } + else + { + PyErr_SetString(PyExc_TypeError, "iter should be a GtkTextIter"); + return NULL; + } + + context_classes = gtk_source_buffer_get_context_classes_at_iter (GTK_SOURCE_BUFFER (self->obj), + iter); + ret = strv_to_pylist (context_classes); + g_strfreev (context_classes); + + return ret; +} ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de