Hello community,
here is the log from the commit of package vte for openSUSE:Factory
checked in at Thu May 28 02:49:07 CEST 2009.
--------
--- GNOME/vte/vte.changes 2009-05-05 16:43:07.000000000 +0200
+++ vte/vte.changes 2009-05-27 12:19:35.000000000 +0200
@@ -1,0 +2,9 @@
+Wed May 27 12:18:15 CEST 2009 - vuntz@novell.com
+
+- Update to version 0.20.3:
+ + bgo#583129 - [python] allow passing None as command or
+ directory option
+ + bgo#583078 - [python] allow passing of environment as a
+ dictionary
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
vte-0.20.2.tar.bz2
New:
----
vte-0.20.3.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ vte.spec ++++++
--- /var/tmp/diff_new_pack.As9669/_old 2009-05-28 02:47:48.000000000 +0200
+++ /var/tmp/diff_new_pack.As9669/_new 2009-05-28 02:47:48.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package vte (Version 0.20.2)
+# spec file for package vte (Version 0.20.3)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -30,7 +30,7 @@
License: GPL v2 or later
Group: Development/Libraries/GNOME
AutoReqProv: on
-Version: 0.20.2
+Version: 0.20.3
Release: 1
Summary: Terminal Emulator
Source: ftp://ftp.gnome.org/pub/gnome/sources/vte/0.16/%{name}-%{version}.tar.bz2
@@ -125,6 +125,12 @@
rm -rf $RPM_BUILD_ROOT
%changelog
+* Wed May 27 2009 vuntz@novell.com
+- Update to version 0.20.3:
+ + bgo#583129 - [python] allow passing None as command or
+ directory option
+ + bgo#583078 - [python] allow passing of environment as a
+ dictionary
* Tue May 05 2009 vuntz@novell.com
- Update to version 0.20.2:
+ bgo#567064 - Work around buggy iconv
++++++ vte-0.20.2.tar.bz2 -> vte-0.20.3.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/vte-0.20.2/ChangeLog new/vte-0.20.3/ChangeLog
--- old/vte-0.20.2/ChangeLog 2009-05-04 22:29:13.000000000 +0200
+++ new/vte-0.20.3/ChangeLog 2009-05-26 00:29:05.000000000 +0200
@@ -1,3 +1,58 @@
+commit 416b37dac95c6aa73c9ead3d6841893bfb22c5b8
+Author: Behdad Esfahbod
+Date: Mon May 25 18:27:51 2009 -0400
+
+ 0.20.3 released
+
+ NEWS | 6 ++++++
+ configure.in | 4 ++--
+ 2 files changed, 8 insertions(+), 2 deletions(-)
+
+commit 7e371f09de8fb3e3af16469603523c17c721483c
+Author: Krzesimir Nowak
+Date: Mon May 18 12:34:21 2009 +0200
+
+ Inlined signal docs
+
+ 2009-05-18 Krzesimir Nowak
+
+ * doc/reference/tmpl/vte.sgml: Removed all signal
+ descriptions from <para> </para> markups and arguments.
+ * src/vte.c: Documented all signals and fixed
+ a description of 'set-scroll-adjustments'.
+
+ doc/reference/tmpl/vte.sgml | 155 +++++++++++--------------
+ src/vte.c | 265 ++++++++++++++++++++++++++++++++++++++++--
+ 2 files changed, 322 insertions(+), 98 deletions(-)
+
+commit 218c6e41627021a2964e606ef72165a16ed329bf
+Author: Frédéric Péters
+Date: Mon May 18 22:54:27 2009 +0200
+
+ Bug 583129 – [python] allow passing None as command or directory option
+
+ python/vte.override | 4 ++--
+ 1 files changed, 2 insertions(+), 2 deletions(-)
+
+commit 56727a20b71cd5f960e468444ef544296ddc5edf
+Author: Frédéric Péters
+Date: Mon May 18 17:36:46 2009 +0200
+
+ Bug 583078 – [python] allow passing of environment as a dictionary
+
+ python/vte.override | 92 ++++++++++++++++++++++++++++++++------------------
+ 1 files changed, 59 insertions(+), 33 deletions(-)
+
+commit 7e45bcee12c2a0db998d302f89d126f5df10481b
+Author: Behdad Esfahbod
+Date: Mon May 4 16:29:01 2009 -0400
+
+ Released 0.20.2
+
+ NEWS | 5 +++++
+ configure.in | 4 ++--
+ 2 files changed, 7 insertions(+), 2 deletions(-)
+
commit be8796b8a5bb258214b0f02ec55a373828acca71
Author: Behdad Esfahbod
Date: Mon May 4 14:16:08 2009 -0400
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/vte-0.20.2/configure new/vte-0.20.3/configure
--- old/vte-0.20.2/configure 2009-05-04 22:13:19.000000000 +0200
+++ new/vte-0.20.3/configure 2009-05-26 00:28:29.000000000 +0200
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.63 for vte 0.20.2.
+# Generated by GNU Autoconf 2.63 for vte 0.20.3.
#
# Report bugs to http://bugzilla.gnome.org/enter_bug.cgi?product=vte.
#
@@ -745,8 +745,8 @@
# Identity of this package.
PACKAGE_NAME='vte'
PACKAGE_TARNAME='vte'
-PACKAGE_VERSION='0.20.2'
-PACKAGE_STRING='vte 0.20.2'
+PACKAGE_VERSION='0.20.3'
+PACKAGE_STRING='vte 0.20.3'
PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=vte'
ac_unique_file="src/vte.c"
@@ -1590,7 +1590,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures vte 0.20.2 to adapt to many kinds of systems.
+\`configure' configures vte 0.20.3 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1660,7 +1660,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of vte 0.20.2:";;
+ short | recursive ) echo "Configuration of vte 0.20.3:";;
esac
cat <<\_ACEOF
@@ -1788,7 +1788,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-vte configure 0.20.2
+vte configure 0.20.3
generated by GNU Autoconf 2.63
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1802,7 +1802,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by vte $as_me 0.20.2, which was
+It was created by vte $as_me 0.20.3, which was
generated by GNU Autoconf 2.63. Invocation command line was
$ $0 $@
@@ -2522,7 +2522,7 @@
# Define the identity of the package.
PACKAGE='vte'
- VERSION='0.20.2'
+ VERSION='0.20.3'
cat >>confdefs.h <<_ACEOF
@@ -2695,7 +2695,7 @@
# Libtool shared library versioning stuffs.
# REVISION gets incremented whenever the source code changes without adding
# an API or ABI change.
-LTVERSION_REVISION=2
+LTVERSION_REVISION=3
# CURRENT must be incremented when an API or ABI change (addition or removal)
# is made, and REVISION must be reset to 0 when this happens.
LTVERSION_CURRENT=14
@@ -19496,7 +19496,7 @@
VTE_MINOR_VERSION=20
-VTE_MICRO_VERSION=2
+VTE_MICRO_VERSION=3
################################################################################
@@ -20010,7 +20010,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by vte $as_me 0.20.2, which was
+This file was extended by vte $as_me 0.20.3, which was
generated by GNU Autoconf 2.63. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -20073,7 +20073,7 @@
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_version="\\
-vte config.status 0.20.2
+vte config.status 0.20.3
configured by $0, generated by GNU Autoconf 2.63,
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/vte-0.20.2/configure.in new/vte-0.20.3/configure.in
--- old/vte-0.20.2/configure.in 2009-05-04 22:12:45.000000000 +0200
+++ new/vte-0.20.3/configure.in 2009-05-26 00:26:21.000000000 +0200
@@ -1,6 +1,6 @@
m4_define([vte_version_major],[0])
m4_define([vte_version_minor],[20])
-m4_define([vte_version_micro],[2])
+m4_define([vte_version_micro],[3])
m4_define([vte_version],[vte_version_major.vte_version_minor.vte_version_micro])
AC_PREREQ([2.59])
@@ -20,7 +20,7 @@
# Libtool shared library versioning stuffs.
# REVISION gets incremented whenever the source code changes without adding
# an API or ABI change.
-LTVERSION_REVISION=2
+LTVERSION_REVISION=3
# CURRENT must be incremented when an API or ABI change (addition or removal)
# is made, and REVISION must be reset to 0 when this happens.
LTVERSION_CURRENT=14
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/vte-0.20.2/doc/reference/tmpl/vte.sgml new/vte-0.20.3/doc/reference/tmpl/vte.sgml
--- old/vte-0.20.2/doc/reference/tmpl/vte.sgml 2009-05-04 22:29:14.000000000 +0200
+++ new/vte-0.20.3/doc/reference/tmpl/vte.sgml 2009-05-26 00:29:16.000000000 +0200
@@ -35,246 +35,231 @@
<!-- ##### SIGNAL VteTerminal::beep ##### -->
<para>
-This signal is emitted when the a child sends a beep request to the terminal.
+
</para>
-@vteterminal: the object which received the signal.
+@vteterminal:
<!-- ##### SIGNAL VteTerminal::char-size-changed ##### -->
<para>
-Emitted whenever selection of a new font causes the values of the
-@char_width or @char_height fields to change.
+
</para>
-@vteterminal: the object which received the signal.
-@arg1: the new character cell width.
-@arg2: the new character cell height.
+@vteterminal:
+@arg1:
+@arg2:
<!-- ##### SIGNAL VteTerminal::child-exited ##### -->
<para>
-This signal is emitted when the terminal detects that a child started using
-vte_terminal_fork_command() has exited.
+
</para>
-@vteterminal: the object which received the signal.
+@vteterminal:
<!-- ##### SIGNAL VteTerminal::commit ##### -->
<para>
-Emitted whenever the terminal receives input from the user and prepares to send
-it to the child process. The signal is emitted even when there is no child
-process.
+
</para>
-@vteterminal: the object which received the signal.
-@arg1: a string of text.
-@arg2: the length of that string of text.
+@vteterminal:
+@arg1:
+@arg2:
<!-- ##### SIGNAL VteTerminal::contents-changed ##### -->
<para>
-Emitted whenever the visible appearance of the terminal has changed. Used
-primarily by #VteTerminalAccessible.
+
</para>
-@vteterminal: the object which received the signal.
+@vteterminal:
<!-- ##### SIGNAL VteTerminal::copy-clipboard ##### -->
<para>
-Emitted whenever vte_terminal_copy_clipboard() is called.
+
</para>
-@vteterminal: the object which received the signal.
+@vteterminal:
<!-- ##### SIGNAL VteTerminal::cursor-moved ##### -->
<para>
-Emitted whenever the cursor moves to a new character cell. Used primarily
-by #VteTerminalAccessible.
+
</para>
-@vteterminal: the object which received the signal.
+@vteterminal:
<!-- ##### SIGNAL VteTerminal::decrease-font-size ##### -->
<para>
-Emitted when the user hits the '-' key while holding the Control key.
+
</para>
-@vteterminal: the object which received the signal.
+@vteterminal:
<!-- ##### SIGNAL VteTerminal::deiconify-window ##### -->
<para>
-Emitted at the child application's request.
+
</para>
-@vteterminal: the object which received the signal.
+@vteterminal:
<!-- ##### SIGNAL VteTerminal::emulation-changed ##### -->
<para>
-Emitted whenever the terminal's emulation changes, only possible at the
-parent application's request.
+
</para>
-@vteterminal: the object which received the signal.
+@vteterminal:
<!-- ##### SIGNAL VteTerminal::encoding-changed ##### -->
<para>
-Emitted whenever the terminal's current encoding has changed, either as a
-result of receiving a control sequence which toggled between the local and
-UTF-8 encodings, or at the parent application's request.
+
</para>
-@vteterminal: the object which received the signal.
+@vteterminal:
<!-- ##### SIGNAL VteTerminal::eof ##### -->
<para>
-Emitted when the terminal receives an end-of-file from a child which is running
-in the terminal. This signal is frequently (but not always) emitted with a
-"child-exited" signal.
+
</para>
-@vteterminal: the object which received the signal.
+@vteterminal:
<!-- ##### SIGNAL VteTerminal::icon-title-changed ##### -->
<para>
-Emitted when the terminal's @icon_title field is modified.
+
</para>
-@vteterminal: the object which received the signal.
+@vteterminal:
<!-- ##### SIGNAL VteTerminal::iconify-window ##### -->
<para>
-Emitted at the child application's request.
+
</para>
-@vteterminal: the object which received the signal.
+@vteterminal:
<!-- ##### SIGNAL VteTerminal::increase-font-size ##### -->
<para>
-Emitted when the user hits the '+' key while holding the Control key.
+
</para>
-@vteterminal: the object which received the signal.
+@vteterminal:
<!-- ##### SIGNAL VteTerminal::lower-window ##### -->
<para>
-Emitted at the child application's request.
+
</para>
-@vteterminal: the object which received the signal.
+@vteterminal:
<!-- ##### SIGNAL VteTerminal::maximize-window ##### -->
<para>
-Emitted at the child application's request.
+
</para>
-@vteterminal: the object which received the signal.
+@vteterminal:
<!-- ##### SIGNAL VteTerminal::move-window ##### -->
<para>
-Emitted at the child application's request.
+
</para>
-@vteterminal: the object which received the signal.
-@arg1: the terminal's desired location, X coordinate.
-@arg2: the terminal's desired location, Y coordinate.
+@vteterminal:
+@arg1:
+@arg2:
<!-- ##### SIGNAL VteTerminal::paste-clipboard ##### -->
<para>
-Emitted whenever vte_terminal_paste_clipboard() is called.
+
</para>
-@vteterminal: the object which received the signal.
+@vteterminal:
<!-- ##### SIGNAL VteTerminal::raise-window ##### -->
<para>
-Emitted at the child application's request.
+
</para>
-@vteterminal: the object which received the signal.
+@vteterminal:
<!-- ##### SIGNAL VteTerminal::refresh-window ##### -->
<para>
-Emitted at the child application's request.
+
</para>
-@vteterminal: the object which received the signal.
+@vteterminal:
<!-- ##### SIGNAL VteTerminal::resize-window ##### -->
<para>
-Emitted at the child application's request.
+
</para>
-@vteterminal: the object which received the signal.
-@arg1: the desired width in pixels, including padding.
-@arg2: the desired height in pixels, including padding.
+@vteterminal:
+@arg1:
+@arg2:
<!-- ##### SIGNAL VteTerminal::restore-window ##### -->
<para>
-Emitted at the child application's request.
+
</para>
-@vteterminal: the object which received the signal.
+@vteterminal:
<!-- ##### SIGNAL VteTerminal::selection-changed ##### -->
<para>
-Emitted whenever the contents of terminal's selection changes.
+
</para>
-@vteterminal: the object which received the signal.
+@vteterminal:
<!-- ##### SIGNAL VteTerminal::set-scroll-adjustments ##### -->
<para>
</para>
-@vteterminal: the object which received the signal.
+@vteterminal:
@arg1:
@arg2:
<!-- ##### SIGNAL VteTerminal::status-line-changed ##### -->
<para>
-Emitted whenever the contents of the status line are modified or cleared.
+
</para>
-@vteterminal: the object which received the signal.
+@vteterminal:
<!-- ##### SIGNAL VteTerminal::text-deleted ##### -->
<para>
-An internal signal used for communication between the terminal and its
-accessibility peer. May not be emitted under certain circumstances.
+
</para>
-@vteterminal: the object which received the signal.
+@vteterminal:
<!-- ##### SIGNAL VteTerminal::text-inserted ##### -->
<para>
-An internal signal used for communication between the terminal and its
-accessibility peer. May not be emitted under certain circumstances.
+
</para>
-@vteterminal: the object which received the signal.
+@vteterminal:
<!-- ##### SIGNAL VteTerminal::text-modified ##### -->
<para>
-An internal signal used for communication between the terminal and its
-accessibility peer. May not be emitted under certain circumstances.
+
</para>
-@vteterminal: the object which received the signal.
+@vteterminal:
<!-- ##### SIGNAL VteTerminal::text-scrolled ##### -->
<para>
-An internal signal used for communication between the terminal and its
-accessibility peer. May not be emitted under certain circumstances.
+
</para>
-@vteterminal: the object which received the signal.
-@arg1: the number of lines scrolled.
+@vteterminal:
+@arg1:
<!-- ##### SIGNAL VteTerminal::window-title-changed ##### -->
<para>
-Emitted when the terminal's @window_title field is modified.
+
</para>
-@vteterminal: the object which received the signal.
+@vteterminal:
<!-- ##### ARG VteTerminal:allow-bold ##### -->
<para>
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/vte-0.20.2/NEWS new/vte-0.20.3/NEWS
--- old/vte-0.20.2/NEWS 2009-05-04 22:28:54.000000000 +0200
+++ new/vte-0.20.3/NEWS 2009-05-26 00:27:49.000000000 +0200
@@ -1,3 +1,9 @@
+0.20.3
+=======
+- Bugs fixed in this release:
+ Bug 583129 - [python] allow passing None as command or directory option
+ Bug 583078 - [python] allow passing of environment as a dictionary
+
0.20.2
=======
- Bugs fixed in this release:
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/vte-0.20.2/python/vte.override new/vte-0.20.3/python/vte.override
--- old/vte-0.20.2/python/vte.override 2009-04-18 00:00:30.000000000 +0200
+++ new/vte-0.20.3/python/vte.override 2009-05-18 23:10:42.000000000 +0200
@@ -106,6 +106,55 @@
%%
override vte_terminal_fork_command kwargs
+static int
+_build_envv(PyObject *py_envv, char ***envv)
+{
+ int i, pos, n_envs;
+ PyObject *py_dict_k, *py_dict_v;
+
+ if (py_envv == NULL || py_envv != Py_None) {
+ return 0;
+ }
+
+ if (PyDict_Check(py_envv)) {
+ n_envs = PyMapping_Length(py_envv);
+ *envv = g_new(gchar *, n_envs + 1);
+ pos = 0;
+ i = 0;
+ while (PyDict_Next(py_envv, &pos, &py_dict_k, &py_dict_v)) {
+ *envv[i++] = g_strdup_printf("%s=%s",
+ PyString_AsString(py_dict_k),
+ PyString_AsString(py_dict_v));
+ }
+ *envv[n_envs] = NULL;
+ } else if (PySequence_Check(py_envv)) {
+ n_envs = PySequence_Length(py_envv);
+ *envv = g_new(gchar *, n_envs + 1);
+ for (i = 0; i < n_envs; i++) {
+ PyObject *item = PySequence_GetItem(py_envv, i);
+ Py_DECREF(item); /* PySequence_GetItem INCREF's */
+ *envv[i] = PyString_AsString(item);
+ }
+ *envv[n_envs] = NULL;
+ } else {
+ PyErr_SetString(PyExc_TypeError,
+ "envv must be a sequence or a dictionary");
+ return -1;
+ }
+
+ return n_envs;
+}
+
+static void
+_free_envv(PyObject *py_envv, char **envv)
+{
+ if (PyDict_Check(py_envv)) {
+ g_strfreev(envv);
+ } else {
+ g_free(envv);
+ }
+}
+
static PyObject *
_wrap_vte_terminal_fork_command(PyGObject * self, PyObject * args,
PyObject * kwargs)
@@ -120,7 +169,7 @@
int i, n_args, n_envs;
pid_t pid;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|sOOsOOO:fork_command",
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|zOOzOOO:fork_command",
kwlist, &command, &py_argv, &py_envv,
&directory,
&loglastlog, &logutmp, &logwtmp)) {
@@ -145,21 +194,10 @@
argv[n_args] = NULL;
}
- if (py_envv != NULL && py_envv != Py_None) {
- if (!PySequence_Check(py_envv)) {
- PyErr_SetString(PyExc_TypeError,
- "envv must be a sequence");
- return NULL;
- }
-
- n_envs = PySequence_Length(py_envv);
- envv = g_new(gchar *, n_envs + 1);
- for (i = 0; i < n_envs; i++) {
- PyObject *item = PySequence_GetItem(py_envv, i);
- Py_DECREF(item); /* PySequence_GetItem INCREF's */
- envv[i] = PyString_AsString(item);
- }
- envv[n_envs] = NULL;
+ n_envs = _build_envv(py_envv, &envv);
+ if (n_envs == -1) {
+ g_free(argv);
+ return NULL;
}
pid = vte_terminal_fork_command(VTE_TERMINAL(self->obj),
@@ -172,7 +210,7 @@
PyObject_IsTrue(logwtmp));
if (envv) {
- g_free(envv);
+ _free_envv(py_envv, envv);
}
if (argv) {
@@ -193,30 +231,18 @@
NULL };
PyObject *py_envv = NULL,
*loglastlog = NULL, *logutmp = NULL, *logwtmp = NULL;
- int i, n_args, n_envs;
+ int n_envs;
pid_t pid;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|OsOOO:forkpty",
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|OzOOO:forkpty",
kwlist, &py_envv, &directory,
&loglastlog, &logutmp, &logwtmp)) {
return NULL;
}
- if (py_envv != NULL && py_envv != Py_None) {
- if (!PySequence_Check(py_envv)) {
- PyErr_SetString(PyExc_TypeError,
- "envv must be a sequence");
- return NULL;
- }
-
- n_envs = PySequence_Length(py_envv);
- envv = g_new(gchar *, n_envs + 1);
- for (i = 0; i < n_envs; i++) {
- PyObject *item = PySequence_GetItem(py_envv, i);
- Py_DECREF(item); /* PySequence_GetItem INCREF's */
- envv[i] = PyString_AsString(item);
- }
- envv[n_envs] = NULL;
+ n_envs = _build_envv(py_envv, &envv);
+ if (n_envs == -1) {
+ return NULL;
}
pid = vte_terminal_forkpty(VTE_TERMINAL(self->obj),
@@ -229,7 +255,7 @@
PyObject_IsTrue(logwtmp));
if (envv) {
- g_free(envv);
+ _free_envv(py_envv, envv);
}
return PyInt_FromLong(pid);
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/vte-0.20.2/src/vte.c new/vte-0.20.3/src/vte.c
--- old/vte-0.20.2/src/vte.c 2009-04-18 00:00:30.000000000 +0200
+++ new/vte-0.20.3/src/vte.c 2009-05-26 00:02:50.000000000 +0200
@@ -2606,7 +2606,7 @@
}
/**
- * vte_terminal_set_color_bold
+ * vte_terminal_set_color_bold:
* @terminal: a #VteTerminal
* @bold: the new bold color
*
@@ -2626,7 +2626,7 @@
}
/**
- * vte_terminal_set_color_dim
+ * vte_terminal_set_color_dim:
* @terminal: a #VteTerminal
* @dim: the new dim color
*
@@ -2646,7 +2646,7 @@
}
/**
- * vte_terminal_set_color_foreground
+ * vte_terminal_set_color_foreground:
* @terminal: a #VteTerminal
* @foreground: the new foreground color
*
@@ -2667,7 +2667,7 @@
}
/**
- * vte_terminal_set_color_background
+ * vte_terminal_set_color_background:
* @terminal: a #VteTerminal
* @background: the new background color
*
@@ -2690,7 +2690,7 @@
}
/**
- * vte_terminal_set_color_cursor
+ * vte_terminal_set_color_cursor:
* @terminal: a #VteTerminal
* @cursor_background: the new color to use for the text cursor
*
@@ -2724,7 +2724,7 @@
}
/**
- * vte_terminal_set_color_highlight
+ * vte_terminal_set_color_highlight:
* @terminal: a #VteTerminal
* @highlight_background: the new color to use for highlighted text
*
@@ -2758,7 +2758,7 @@
}
/**
- * vte_terminal_set_colors
+ * vte_terminal_set_colors:
* @terminal: a #VteTerminal
* @foreground: the new foreground color, or %NULL
* @background: the new background color, or %NULL
@@ -2896,7 +2896,7 @@
}
/**
- * vte_terminal_set_opacity
+ * vte_terminal_set_opacity:
* @terminal: a #VteTerminal
* @opacity: the new opacity
*
@@ -11366,8 +11366,9 @@
/**
* VteTerminal::set-scroll-adjustments:
- * @horizontal: the horizontal #GtkAdjustment (unused in #VteTerminal)
- * @vertical: the vertical #GtkAdjustment
+ * @vteterminal: the object which received the signal.
+ * @horizontal: the horizontal #GtkAdjustment (unused in #VteTerminal).
+ * @vertical: the vertical #GtkAdjustment.
*
* Set the scroll adjustments for the terminal. Usually scrolled containers
* like #GtkScrolledWindow will emit this signal to connect two instances
@@ -11386,6 +11387,15 @@
GTK_TYPE_ADJUSTMENT, GTK_TYPE_ADJUSTMENT);
/* Register some signals of our own. */
+
+ /**
+ * VteTerminal::eof:
+ * @vteterminal: the object which received the signal.
+ *
+ * Emitted when the terminal receives an end-of-file from a child which
+ * is running in the terminal. This signal is frequently (but not
+ * always) emitted with a "child-exited" signal.
+ */
klass->eof_signal =
g_signal_new(I_("eof"),
G_OBJECT_CLASS_TYPE(klass),
@@ -11395,6 +11405,14 @@
NULL,
g_cclosure_marshal_VOID__VOID,
G_TYPE_NONE, 0);
+
+ /**
+ * VteTerminal::child-exited:
+ * @vteterminal: the object which received the signal.
+ *
+ * This signal is emitted when the terminal detects that a child started
+ * using vte_terminal_fork_command() has exited.
+ */
klass->child_exited_signal =
g_signal_new(I_("child-exited"),
G_OBJECT_CLASS_TYPE(klass),
@@ -11404,6 +11422,13 @@
NULL,
g_cclosure_marshal_VOID__VOID,
G_TYPE_NONE, 0);
+
+ /**
+ * VteTerminal::window-title-changed:
+ * @vteterminal: the object which received the signal.
+ *
+ * Emitted when the terminal's %window_title field is modified.
+ */
klass->window_title_changed_signal =
g_signal_new(I_("window-title-changed"),
G_OBJECT_CLASS_TYPE(klass),
@@ -11413,6 +11438,13 @@
NULL,
g_cclosure_marshal_VOID__VOID,
G_TYPE_NONE, 0);
+
+ /**
+ * VteTerminal::icon-title-changed:
+ * @vteterminal: the object which received the signal.
+ *
+ * Emitted when the terminal's %icon_title field is modified.
+ */
klass->icon_title_changed_signal =
g_signal_new(I_("icon-title-changed"),
G_OBJECT_CLASS_TYPE(klass),
@@ -11422,6 +11454,15 @@
NULL,
g_cclosure_marshal_VOID__VOID,
G_TYPE_NONE, 0);
+
+ /**
+ * VteTerminal::encoding-changed:
+ * @vteterminal: the object which received the signal.
+ *
+ * Emitted whenever the terminal's current encoding has changed, either
+ * as a result of receiving a control sequence which toggled between the
+ * local and UTF-8 encodings, or at the parent application's request.
+ */
klass->encoding_changed_signal =
g_signal_new(I_("encoding-changed"),
G_OBJECT_CLASS_TYPE(klass),
@@ -11431,6 +11472,17 @@
NULL,
g_cclosure_marshal_VOID__VOID,
G_TYPE_NONE, 0);
+
+ /**
+ * VteTerminal::commit:
+ * @vteterminal: the object which received the signal.
+ * @text: a string of text.
+ * @size: the length of that string of text.
+ *
+ * Emitted whenever the terminal receives input from the user and
+ * prepares to send it to the child process. The signal is emitted even
+ * when there is no child process.
+ */
klass->commit_signal =
g_signal_new(I_("commit"),
G_OBJECT_CLASS_TYPE(klass),
@@ -11440,6 +11492,14 @@
NULL,
_vte_marshal_VOID__STRING_UINT,
G_TYPE_NONE, 2, G_TYPE_STRING, G_TYPE_UINT);
+
+ /**
+ * VteTerminal::emulation-changed:
+ * @vteterminal: the object which received the signal.
+ *
+ * Emitted whenever the terminal's emulation changes, only possible at
+ * the parent application's request.
+ */
klass->emulation_changed_signal =
g_signal_new(I_("emulation-changed"),
G_OBJECT_CLASS_TYPE(klass),
@@ -11449,6 +11509,16 @@
NULL,
g_cclosure_marshal_VOID__VOID,
G_TYPE_NONE, 0);
+
+ /**
+ * VteTerminal::char-size-changed:
+ * @vteterminal: the object which received the signal.
+ * @width: the new character cell width.
+ * @height: the new character cell height.
+ *
+ * Emitted whenever selection of a new font causes the values of the
+ * %char_width or %char_height fields to change.
+ */
klass->char_size_changed_signal =
g_signal_new(I_("char-size-changed"),
G_OBJECT_CLASS_TYPE(klass),
@@ -11458,6 +11528,13 @@
NULL,
_vte_marshal_VOID__UINT_UINT,
G_TYPE_NONE, 2, G_TYPE_UINT, G_TYPE_UINT);
+
+ /**
+ * VteTerminal::selection-changed:
+ * @vteterminal: the object which received the signal.
+ *
+ * Emitted whenever the contents of terminal's selection changes.
+ */
klass->selection_changed_signal =
g_signal_new (I_("selection-changed"),
G_OBJECT_CLASS_TYPE(klass),
@@ -11465,8 +11542,16 @@
G_STRUCT_OFFSET(VteTerminalClass, selection_changed),
NULL,
NULL,
- g_cclosure_marshal_VOID__VOID,
+ g_cclosure_marshal_VOID__VOID,
G_TYPE_NONE, 0);
+
+ /**
+ * VteTerminal::contents-changed:
+ * @vteterminal: the object which received the signal.
+ *
+ * Emitted whenever the visible appearance of the terminal has changed.
+ * Used primarily by #VteTerminalAccessible.
+ */
klass->contents_changed_signal =
g_signal_new(I_("contents-changed"),
G_OBJECT_CLASS_TYPE(klass),
@@ -11476,6 +11561,14 @@
NULL,
g_cclosure_marshal_VOID__VOID,
G_TYPE_NONE, 0);
+
+ /**
+ * VteTerminal::cursor-moved:
+ * @vteterminal: the object which received the signal.
+ *
+ * Emitted whenever the cursor moves to a new character cell. Used
+ * primarily by #VteTerminalAccessible.
+ */
klass->cursor_moved_signal =
g_signal_new(I_("cursor-moved"),
G_OBJECT_CLASS_TYPE(klass),
@@ -11485,6 +11578,13 @@
NULL,
g_cclosure_marshal_VOID__VOID,
G_TYPE_NONE, 0);
+
+ /**
+ * VteTerminal::deiconify-window:
+ * @vteterminal: the object which received the signal.
+ *
+ * Emitted at the child application's request.
+ */
klass->deiconify_window_signal =
g_signal_new(I_("deiconify-window"),
G_OBJECT_CLASS_TYPE(klass),
@@ -11494,6 +11594,13 @@
NULL,
g_cclosure_marshal_VOID__VOID,
G_TYPE_NONE, 0);
+
+ /**
+ * VteTerminal::iconify-window:
+ * @vteterminal: the object which received the signal.
+ *
+ * Emitted at the child application's request.
+ */
klass->iconify_window_signal =
g_signal_new(I_("iconify-window"),
G_OBJECT_CLASS_TYPE(klass),
@@ -11503,6 +11610,13 @@
NULL,
g_cclosure_marshal_VOID__VOID,
G_TYPE_NONE, 0);
+
+ /**
+ * VteTerminal::raise-window:
+ * @vteterminal: the object which received the signal.
+ *
+ * Emitted at the child application's request.
+ */
klass->raise_window_signal =
g_signal_new(I_("raise-window"),
G_OBJECT_CLASS_TYPE(klass),
@@ -11512,6 +11626,13 @@
NULL,
g_cclosure_marshal_VOID__VOID,
G_TYPE_NONE, 0);
+
+ /**
+ * VteTerminal::lower-window:
+ * @vteterminal: the object which received the signal.
+ *
+ * Emitted at the child application's request.
+ */
klass->lower_window_signal =
g_signal_new(I_("lower-window"),
G_OBJECT_CLASS_TYPE(klass),
@@ -11521,6 +11642,13 @@
NULL,
g_cclosure_marshal_VOID__VOID,
G_TYPE_NONE, 0);
+
+ /**
+ * VteTerminal::refresh-window:
+ * @vteterminal: the object which received the signal.
+ *
+ * Emitted at the child application's request.
+ */
klass->refresh_window_signal =
g_signal_new(I_("refresh-window"),
G_OBJECT_CLASS_TYPE(klass),
@@ -11530,6 +11658,13 @@
NULL,
g_cclosure_marshal_VOID__VOID,
G_TYPE_NONE, 0);
+
+ /**
+ * VteTerminal::restore-window:
+ * @vteterminal: the object which received the signal.
+ *
+ * Emitted at the child application's request.
+ */
klass->restore_window_signal =
g_signal_new(I_("restore-window"),
G_OBJECT_CLASS_TYPE(klass),
@@ -11539,6 +11674,13 @@
NULL,
g_cclosure_marshal_VOID__VOID,
G_TYPE_NONE, 0);
+
+ /**
+ * VteTerminal::maximize-window:
+ * @vteterminal: the object which received the signal.
+ *
+ * Emitted at the child application's request.
+ */
klass->maximize_window_signal =
g_signal_new(I_("maximize-window"),
G_OBJECT_CLASS_TYPE(klass),
@@ -11548,6 +11690,15 @@
NULL,
g_cclosure_marshal_VOID__VOID,
G_TYPE_NONE, 0);
+
+ /**
+ * VteTerminal::resize-window:
+ * @vteterminal: the object which received the signal.
+ * @width: the desired width in pixels, including padding.
+ * @height: the desired height in pixels, including padding.
+ *
+ * Emitted at the child application's request.
+ */
klass->resize_window_signal =
g_signal_new(I_("resize-window"),
G_OBJECT_CLASS_TYPE(klass),
@@ -11557,6 +11708,15 @@
NULL,
_vte_marshal_VOID__UINT_UINT,
G_TYPE_NONE, 2, G_TYPE_UINT, G_TYPE_UINT);
+
+ /**
+ * VteTerminal::resize-window:
+ * @vteterminal: the object which received the signal.
+ * @x: the terminal's desired location, X coordinate.
+ * @y: the terminal's desired location, Y coordinate.
+ *
+ * Emitted at the child application's request.
+ */
klass->move_window_signal =
g_signal_new(I_("move-window"),
G_OBJECT_CLASS_TYPE(klass),
@@ -11566,6 +11726,14 @@
NULL,
_vte_marshal_VOID__UINT_UINT,
G_TYPE_NONE, 2, G_TYPE_UINT, G_TYPE_UINT);
+
+ /**
+ * VteTerminal::status-line-changed:
+ * @vteterminal: the object which received the signal.
+ *
+ * Emitted whenever the contents of the status line are modified or
+ * cleared.
+ */
klass->status_line_changed_signal =
g_signal_new(I_("status-line-changed"),
G_OBJECT_CLASS_TYPE(klass),
@@ -11575,6 +11743,13 @@
NULL,
g_cclosure_marshal_VOID__VOID,
G_TYPE_NONE, 0);
+
+ /**
+ * VteTerminal::increase-font-size:
+ * @vteterminal: the object which received the signal.
+ *
+ * Emitted when the user hits the '+' key while holding the Control key.
+ */
klass->increase_font_size_signal =
g_signal_new(I_("increase-font-size"),
G_OBJECT_CLASS_TYPE(klass),
@@ -11584,6 +11759,13 @@
NULL,
g_cclosure_marshal_VOID__VOID,
G_TYPE_NONE, 0);
+
+ /**
+ * VteTerminal::decrease-font-size:
+ * @vteterminal: the object which received the signal.
+ *
+ * Emitted when the user hits the '-' key while holding the Control key.
+ */
klass->decrease_font_size_signal =
g_signal_new(I_("decrease-font-size"),
G_OBJECT_CLASS_TYPE(klass),
@@ -11593,6 +11775,15 @@
NULL,
g_cclosure_marshal_VOID__VOID,
G_TYPE_NONE, 0);
+
+ /**
+ * VteTerminal::text-modified:
+ * @vteterminal: the object which received the signal.
+ *
+ * An internal signal used for communication between the terminal and
+ * its accessibility peer. May not be emitted under certain
+ * circumstances.
+ */
klass->text_modified_signal =
g_signal_new(I_("text-modified"),
G_OBJECT_CLASS_TYPE(klass),
@@ -11602,6 +11793,15 @@
NULL,
g_cclosure_marshal_VOID__VOID,
G_TYPE_NONE, 0);
+
+ /**
+ * VteTerminal::text-inserted:
+ * @vteterminal: the object which received the signal.
+ *
+ * An internal signal used for communication between the terminal and
+ * its accessibility peer. May not be emitted under certain
+ * circumstances.
+ */
klass->text_inserted_signal =
g_signal_new(I_("text-inserted"),
G_OBJECT_CLASS_TYPE(klass),
@@ -11611,6 +11811,15 @@
NULL,
g_cclosure_marshal_VOID__VOID,
G_TYPE_NONE, 0);
+
+ /**
+ * VteTerminal::text-deleted:
+ * @vteterminal: the object which received the signal.
+ *
+ * An internal signal used for communication between the terminal and
+ * its accessibility peer. May not be emitted under certain
+ * circumstances.
+ */
klass->text_deleted_signal =
g_signal_new(I_("text-deleted"),
G_OBJECT_CLASS_TYPE(klass),
@@ -11620,6 +11829,16 @@
NULL,
g_cclosure_marshal_VOID__VOID,
G_TYPE_NONE, 0);
+
+ /**
+ * VteTerminal::text-scrolled:
+ * @vteterminal: the object which received the signal.
+ * @delta: the number of lines scrolled.
+ *
+ * An internal signal used for communication between the terminal and
+ * its accessibility peer. May not be emitted under certain
+ * circumstances.
+ */
klass->text_scrolled_signal =
g_signal_new(I_("text-scrolled"),
G_OBJECT_CLASS_TYPE(klass),
@@ -11629,6 +11848,13 @@
NULL,
g_cclosure_marshal_VOID__INT,
G_TYPE_NONE, 1, G_TYPE_INT);
+
+ /**
+ * VteTerminal::copy-clipboard:
+ * @vteterminal: the object which received the signal.
+ *
+ * Emitted whenever vte_terminal_copy_clipboard() is called.
+ */
signals[COPY_CLIPBOARD] =
g_signal_new(I_("copy-clipboard"),
G_OBJECT_CLASS_TYPE(klass),
@@ -11639,6 +11865,12 @@
g_cclosure_marshal_VOID__VOID,
G_TYPE_NONE, 0);
+ /**
+ * VteTerminal::paste-clipboard:
+ * @vteterminal: the object which received the signal.
+ *
+ * Emitted whenever vte_terminal_paste_clipboard() is called.
+ */
signals[PASTE_CLIPBOARD] =
g_signal_new(I_("paste-clipboard"),
G_OBJECT_CLASS_TYPE(klass),
@@ -11649,6 +11881,13 @@
g_cclosure_marshal_VOID__VOID,
G_TYPE_NONE, 0);
+ /**
+ * VteTerminal::beep:
+ * @vteterminal: the object which received the signal.
+ *
+ * This signal is emitted when the a child sends a beep request to the
+ * terminal.
+ */
g_signal_new(I_("beep"),
G_OBJECT_CLASS_TYPE(klass),
G_SIGNAL_RUN_LAST,
@@ -13374,8 +13613,8 @@
* edges of its visible area. This is necessary for cases where characters in
* the selected font don't themselves include a padding area and the text
* itself would otherwise be contiguous with the window border. Applications
- * which use the widget's #row_count, #column_count, #char_height, and
- * #char_width fields to set geometry hints using
+ * which use the widget's %row_count, %column_count, %char_height, and
+ * %char_width fields to set geometry hints using
* gtk_window_set_geometry_hints() will need to add this value to the base
* size. The values returned in @xpad and @ypad are the total padding used in
* each direction, and do not need to be doubled.
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/vte-0.20.2/src/vteversion.h new/vte-0.20.3/src/vteversion.h
--- old/vte-0.20.2/src/vteversion.h 2009-05-04 22:13:50.000000000 +0200
+++ new/vte-0.20.3/src/vteversion.h 2009-05-26 00:28:49.000000000 +0200
@@ -25,7 +25,7 @@
#define VTE_MAJOR_VERSION (0)
#define VTE_MINOR_VERSION (20)
-#define VTE_MICRO_VERSION (2)
+#define VTE_MICRO_VERSION (3)
#define VTE_CHECK_VERSION(major,minor,micro) \
(VTE_MAJOR_VERSION > (major) || \
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org