Hi, On Mon, Apr 11, 2016 at 11:47:47AM +0200, Pavel Grunt wrote: > Hi, > > git grep "[[:space:]]$" shows one more in the ChangeLog > > Pavel Thanks! I'm sending the v3 shortly ;) > > On Mon, 2016-04-11 at 11:33 +0200, Victor Toso wrote: > > --- > > src/console-kit.c | 10 +++++----- > > src/dummy-session-info.c | 6 +++--- > > src/session-info.h | 6 +++--- > > src/systemd-login.c | 6 +++--- > > src/udscs.c | 8 ++++---- > > src/udscs.h | 8 ++++---- > > src/vdagent-file-xfers.c | 6 +++--- > > src/vdagent-file-xfers.h | 6 +++--- > > src/vdagent-virtio-port.c | 8 ++++---- > > src/vdagent-virtio-port.h | 8 ++++---- > > src/vdagent-x11-randr.c | 6 +++--- > > src/vdagent-x11.c | 8 ++++---- > > src/vdagent-x11.h | 6 +++--- > > src/vdagent.c | 6 +++--- > > src/vdagentd-proto-strings.h | 6 +++--- > > src/vdagentd-proto.h | 6 +++--- > > src/vdagentd-uinput.c | 6 +++--- > > src/vdagentd-uinput.h | 6 +++--- > > src/vdagentd-xorg-conf.h | 6 +++--- > > src/vdagentd.c | 8 ++++---- > > 20 files changed, 68 insertions(+), 68 deletions(-) > > > > diff --git a/src/console-kit.c b/src/console-kit.c > > index 759a81e..6e83bf2 100644 > > --- a/src/console-kit.c > > +++ b/src/console-kit.c > > @@ -7,12 +7,12 @@ > > > > This program is free software: you can redistribute it and/or > > modify > > it under the terms of the GNU General Public License as > > published by > > - the Free Software Foundation, either version 3 of the License, > > or > > + the Free Software Foundation, either version 3 of the License, > > or > > (at your option) any later version. > > > > This program is distributed in the hope that it will be useful, > > - but WITHOUT ANY WARRANTY; without even the implied warranty of > > - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > > + but WITHOUT ANY WARRANTY; without even the implied warranty of > > + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > > GNU General Public License for more details. > > > > You should have received a copy of the GNU General Public > > License > > @@ -59,7 +59,7 @@ struct session_info *session_info_create(int > > verbose) > > free(ck); > > return NULL; > > } > > - > > + > > if (!dbus_connection_get_unix_fd(ck->connection, &ck->fd)) { > > syslog(LOG_ERR, "Unable to get connection fd"); > > session_info_destroy(ck); > > @@ -77,7 +77,7 @@ struct session_info *session_info_create(int > > verbose) > > "path='%s',member='ActiveSessionChanged'", ck->seat); > > dbus_error_init(&error); > > dbus_bus_add_match(ck->connection, match, &error); > > - if (dbus_error_is_set(&error)) { > > + if (dbus_error_is_set(&error)) { > > syslog(LOG_ERR, "Match Error (%s)", error.message); > > session_info_destroy(ck); > > return NULL; > > diff --git a/src/dummy-session-info.c b/src/dummy-session-info.c > > index e188ddc..2f0ae65 100644 > > --- a/src/dummy-session-info.c > > +++ b/src/dummy-session-info.c > > @@ -7,12 +7,12 @@ > > > > This program is free software: you can redistribute it and/or > > modify > > it under the terms of the GNU General Public License as > > published by > > - the Free Software Foundation, either version 3 of the License, > > or > > + the Free Software Foundation, either version 3 of the License, > > or > > (at your option) any later version. > > > > This program is distributed in the hope that it will be useful, > > - but WITHOUT ANY WARRANTY; without even the implied warranty of > > - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > > + but WITHOUT ANY WARRANTY; without even the implied warranty of > > + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > > GNU General Public License for more details. > > > > You should have received a copy of the GNU General Public > > License > > diff --git a/src/session-info.h b/src/session-info.h > > index 67099de..c4f8187 100644 > > --- a/src/session-info.h > > +++ b/src/session-info.h > > @@ -7,12 +7,12 @@ > > > > This program is free software: you can redistribute it and/or > > modify > > it under the terms of the GNU General Public License as > > published by > > - the Free Software Foundation, either version 3 of the License, > > or > > + the Free Software Foundation, either version 3 of the License, > > or > > (at your option) any later version. > > > > This program is distributed in the hope that it will be useful, > > - but WITHOUT ANY WARRANTY; without even the implied warranty of > > - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > > + but WITHOUT ANY WARRANTY; without even the implied warranty of > > + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > > GNU General Public License for more details. > > > > You should have received a copy of the GNU General Public > > License > > diff --git a/src/systemd-login.c b/src/systemd-login.c > > index 73db37f..9ba300a 100644 > > --- a/src/systemd-login.c > > +++ b/src/systemd-login.c > > @@ -7,12 +7,12 @@ > > > > This program is free software: you can redistribute it and/or > > modify > > it under the terms of the GNU General Public License as > > published by > > - the Free Software Foundation, either version 3 of the License, > > or > > + the Free Software Foundation, either version 3 of the License, > > or > > (at your option) any later version. > > > > This program is distributed in the hope that it will be useful, > > - but WITHOUT ANY WARRANTY; without even the implied warranty of > > - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > > + but WITHOUT ANY WARRANTY; without even the implied warranty of > > + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > > GNU General Public License for more details. > > > > You should have received a copy of the GNU General Public > > License > > diff --git a/src/udscs.c b/src/udscs.c > > index 334d54a..427a844 100644 > > --- a/src/udscs.c > > +++ b/src/udscs.c > > @@ -9,12 +9,12 @@ > > > > This program is free software: you can redistribute it and/or > > modify > > it under the terms of the GNU General Public License as > > published by > > - the Free Software Foundation, either version 3 of the License, > > or > > + the Free Software Foundation, either version 3 of the License, > > or > > (at your option) any later version. > > > > This program is distributed in the hope that it will be useful, > > - but WITHOUT ANY WARRANTY; without even the implied warranty of > > - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > > + but WITHOUT ANY WARRANTY; without even the implied warranty of > > + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > > GNU General Public License for more details. > > > > You should have received a copy of the GNU General Public > > License > > @@ -37,7 +37,7 @@ struct udscs_buf { > > uint8_t *buf; > > size_t pos; > > size_t size; > > - > > + > > struct udscs_buf *next; > > }; > > > > diff --git a/src/udscs.h b/src/udscs.h > > index 8b0b14e..e13750c 100644 > > --- a/src/udscs.h > > +++ b/src/udscs.h > > @@ -7,12 +7,12 @@ > > > > This program is free software: you can redistribute it and/or > > modify > > it under the terms of the GNU General Public License as > > published by > > - the Free Software Foundation, either version 3 of the License, > > or > > + the Free Software Foundation, either version 3 of the License, > > or > > (at your option) any later version. > > > > This program is distributed in the hope that it will be useful, > > - but WITHOUT ANY WARRANTY; without even the implied warranty of > > - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > > + but WITHOUT ANY WARRANTY; without even the implied warranty of > > + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > > GNU General Public License for more details. > > > > You should have received a copy of the GNU General Public > > License > > @@ -35,7 +35,7 @@ struct udscs_message_header { > > uint32_t type; > > uint32_t arg1; > > uint32_t arg2; > > - uint32_t size; > > + uint32_t size; > > }; > > > > /* Callbacks with this type will be called when a complete message > > has been > > diff --git a/src/vdagent-file-xfers.c b/src/vdagent-file-xfers.c > > index d8a1b7d..48b3069 100644 > > --- a/src/vdagent-file-xfers.c > > +++ b/src/vdagent-file-xfers.c > > @@ -7,12 +7,12 @@ > > > > This program is free software: you can redistribute it and/or > > modify > > it under the terms of the GNU General Public License as > > published by > > - the Free Software Foundation, either version 3 of the License, > > or > > + the Free Software Foundation, either version 3 of the License, > > or > > (at your option) any later version. > > > > This program is distributed in the hope that it will be useful, > > - but WITHOUT ANY WARRANTY; without even the implied warranty of > > - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > > + but WITHOUT ANY WARRANTY; without even the implied warranty of > > + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > > GNU General Public License for more details. > > > > You should have received a copy of the GNU General Public > > License > > diff --git a/src/vdagent-file-xfers.h b/src/vdagent-file-xfers.h > > index fe5da81..28a71fd 100644 > > --- a/src/vdagent-file-xfers.h > > +++ b/src/vdagent-file-xfers.h > > @@ -7,12 +7,12 @@ > > > > This program is free software: you can redistribute it and/or > > modify > > it under the terms of the GNU General Public License as > > published by > > - the Free Software Foundation, either version 3 of the License, > > or > > + the Free Software Foundation, either version 3 of the License, > > or > > (at your option) any later version. > > > > This program is distributed in the hope that it will be useful, > > - but WITHOUT ANY WARRANTY; without even the implied warranty of > > - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > > + but WITHOUT ANY WARRANTY; without even the implied warranty of > > + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > > GNU General Public License for more details. > > > > You should have received a copy of the GNU General Public > > License > > diff --git a/src/vdagent-virtio-port.c b/src/vdagent-virtio-port.c > > index 722f3ba..6267c74 100644 > > --- a/src/vdagent-virtio-port.c > > +++ b/src/vdagent-virtio-port.c > > @@ -7,12 +7,12 @@ > > > > This program is free software: you can redistribute it and/or > > modify > > it under the terms of the GNU General Public License as > > published by > > - the Free Software Foundation, either version 3 of the License, > > or > > + the Free Software Foundation, either version 3 of the License, > > or > > (at your option) any later version. > > > > This program is distributed in the hope that it will be useful, > > - but WITHOUT ANY WARRANTY; without even the implied warranty of > > - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > > + but WITHOUT ANY WARRANTY; without even the implied warranty of > > + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > > GNU General Public License for more details. > > > > You should have received a copy of the GNU General Public > > License > > @@ -221,7 +221,7 @@ int vdagent_virtio_port_write_start( > > memcpy(new_wbuf->buf + new_wbuf->write_pos, &chunk_header, > > sizeof(chunk_header)); > > new_wbuf->write_pos += sizeof(chunk_header); > > - > > + > > message_header.protocol = VD_AGENT_PROTOCOL; > > message_header.type = message_type; > > message_header.opaque = message_opaque; > > diff --git a/src/vdagent-virtio-port.h b/src/vdagent-virtio-port.h > > index a392ebe..ac766bd 100644 > > --- a/src/vdagent-virtio-port.h > > +++ b/src/vdagent-virtio-port.h > > @@ -7,12 +7,12 @@ > > > > This program is free software: you can redistribute it and/or > > modify > > it under the terms of the GNU General Public License as > > published by > > - the Free Software Foundation, either version 3 of the License, > > or > > + the Free Software Foundation, either version 3 of the License, > > or > > (at your option) any later version. > > > > This program is distributed in the hope that it will be useful, > > - but WITHOUT ANY WARRANTY; without even the implied warranty of > > - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > > + but WITHOUT ANY WARRANTY; without even the implied warranty of > > + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > > GNU General Public License for more details. > > > > You should have received a copy of the GNU General Public > > License > > @@ -55,7 +55,7 @@ typedef void > > (*vdagent_virtio_port_disconnect_callback)( > > struct vdagent_virtio_port *vdagent_virtio_port_create(const char > > *portname, > > vdagent_virtio_port_read_callback read_callback, > > vdagent_virtio_port_disconnect_callback disconnect_callback); > > - > > + > > /* The contents of portp will be made NULL */ > > void vdagent_virtio_port_destroy(struct vdagent_virtio_port > > **vportp); > > > > diff --git a/src/vdagent-x11-randr.c b/src/vdagent-x11-randr.c > > index 939eed6..02089b2 100644 > > --- a/src/vdagent-x11-randr.c > > +++ b/src/vdagent-x11-randr.c > > @@ -9,12 +9,12 @@ > > > > This program is free software: you can redistribute it and/or > > modify > > it under the terms of the GNU General Public License as > > published by > > - the Free Software Foundation, either version 3 of the License, > > or > > + the Free Software Foundation, either version 3 of the License, > > or > > (at your option) any later version. > > > > This program is distributed in the hope that it will be useful, > > - but WITHOUT ANY WARRANTY; without even the implied warranty of > > - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > > + but WITHOUT ANY WARRANTY; without even the implied warranty of > > + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > > GNU General Public License for more details. > > > > You should have received a copy of the GNU General Public > > License > > diff --git a/src/vdagent-x11.c b/src/vdagent-x11.c > > index 9619dc5..da27602 100644 > > --- a/src/vdagent-x11.c > > +++ b/src/vdagent-x11.c > > @@ -23,11 +23,11 @@ > > X11 socket. If events have arrived and have already been read by > > libX11 from > > the socket triggered by other libX11 calls from this file, the > > select for > > read in the main loop, won't see these and our event loop won't > > get called! > > - > > + > > Thus we must make sure that all queued events have been consumed, > > whenever > > we return to the main loop. IOW all (externally callable) > > functions in this > > file must end with calling XPending and consuming all queued > > events. > > - > > + > > Calling XPending when-ever we return to the mainloop also ensures > > any > > pending writes are flushed. */ > > > > @@ -535,7 +535,7 @@ static void vdagent_x11_handle_event(struct > > vdagent_x11 *x11, XEvent event) > > event.xproperty.state == > > PropertyNewValue) { > > vdagent_x11_handle_selection_notify(x11, &event, 1); > > } > > - if (x11->selection_req_data && > > + if (x11->selection_req_data && > > event.xproperty.state == > > PropertyDelete) { > > vdagent_x11_handle_property_delete_notify(x11, &event); > > } > > @@ -1230,7 +1230,7 @@ void vdagent_x11_clipboard_data(struct > > vdagent_x11 *x11, uint8_t selection, > > } > > > > event = &x11->selection_req->event; > > - type_from_event = vdagent_x11_target_to_type(x11, > > + type_from_event = vdagent_x11_target_to_type(x11, > > x11->selection_req- > > >selection, > > event- > > >xselectionrequest.target); > > if (type_from_event != type || > > diff --git a/src/vdagent-x11.h b/src/vdagent-x11.h > > index d64a42a..e67701e 100644 > > --- a/src/vdagent-x11.h > > +++ b/src/vdagent-x11.h > > @@ -7,12 +7,12 @@ > > > > This program is free software: you can redistribute it and/or > > modify > > it under the terms of the GNU General Public License as > > published by > > - the Free Software Foundation, either version 3 of the License, > > or > > + the Free Software Foundation, either version 3 of the License, > > or > > (at your option) any later version. > > > > This program is distributed in the hope that it will be useful, > > - but WITHOUT ANY WARRANTY; without even the implied warranty of > > - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > > + but WITHOUT ANY WARRANTY; without even the implied warranty of > > + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > > GNU General Public License for more details. > > > > You should have received a copy of the GNU General Public > > License > > diff --git a/src/vdagent.c b/src/vdagent.c > > index 4bda38c..9c619ef 100644 > > --- a/src/vdagent.c > > +++ b/src/vdagent.c > > @@ -7,12 +7,12 @@ > > > > This program is free software: you can redistribute it and/or > > modify > > it under the terms of the GNU General Public License as > > published by > > - the Free Software Foundation, either version 3 of the License, > > or > > + the Free Software Foundation, either version 3 of the License, > > or > > (at your option) any later version. > > > > This program is distributed in the hope that it will be useful, > > - but WITHOUT ANY WARRANTY; without even the implied warranty of > > - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > > + but WITHOUT ANY WARRANTY; without even the implied warranty of > > + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > > GNU General Public License for more details. > > > > You should have received a copy of the GNU General Public > > License > > diff --git a/src/vdagentd-proto-strings.h b/src/vdagentd-proto- > > strings.h > > index a3fbd32..86332f9 100644 > > --- a/src/vdagentd-proto-strings.h > > +++ b/src/vdagentd-proto-strings.h > > @@ -7,12 +7,12 @@ > > > > This program is free software: you can redistribute it and/or > > modify > > it under the terms of the GNU General Public License as > > published by > > - the Free Software Foundation, either version 3 of the License, > > or > > + the Free Software Foundation, either version 3 of the License, > > or > > (at your option) any later version. > > > > This program is distributed in the hope that it will be useful, > > - but WITHOUT ANY WARRANTY; without even the implied warranty of > > - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > > + but WITHOUT ANY WARRANTY; without even the implied warranty of > > + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > > GNU General Public License for more details. > > > > You should have received a copy of the GNU General Public > > License > > diff --git a/src/vdagentd-proto.h b/src/vdagentd-proto.h > > index 0dbaaea..b181105 100644 > > --- a/src/vdagentd-proto.h > > +++ b/src/vdagentd-proto.h > > @@ -8,12 +8,12 @@ > > > > This program is free software: you can redistribute it and/or > > modify > > it under the terms of the GNU General Public License as > > published by > > - the Free Software Foundation, either version 3 of the License, > > or > > + the Free Software Foundation, either version 3 of the License, > > or > > (at your option) any later version. > > > > This program is distributed in the hope that it will be useful, > > - but WITHOUT ANY WARRANTY; without even the implied warranty of > > - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > > + but WITHOUT ANY WARRANTY; without even the implied warranty of > > + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > > GNU General Public License for more details. > > > > You should have received a copy of the GNU General Public > > License > > diff --git a/src/vdagentd-uinput.c b/src/vdagentd-uinput.c > > index 47e1b45..5a70530 100644 > > --- a/src/vdagentd-uinput.c > > +++ b/src/vdagentd-uinput.c > > @@ -8,12 +8,12 @@ > > > > This program is free software: you can redistribute it and/or > > modify > > it under the terms of the GNU General Public License as > > published by > > - the Free Software Foundation, either version 3 of the License, > > or > > + the Free Software Foundation, either version 3 of the License, > > or > > (at your option) any later version. > > > > This program is distributed in the hope that it will be useful, > > - but WITHOUT ANY WARRANTY; without even the implied warranty of > > - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > > + but WITHOUT ANY WARRANTY; without even the implied warranty of > > + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > > GNU General Public License for more details. > > > > You should have received a copy of the GNU General Public > > License > > diff --git a/src/vdagentd-uinput.h b/src/vdagentd-uinput.h > > index b9bd9f1..cf1d8eb 100644 > > --- a/src/vdagentd-uinput.h > > +++ b/src/vdagentd-uinput.h > > @@ -8,12 +8,12 @@ > > > > This program is free software: you can redistribute it and/or > > modify > > it under the terms of the GNU General Public License as > > published by > > - the Free Software Foundation, either version 3 of the License, > > or > > + the Free Software Foundation, either version 3 of the License, > > or > > (at your option) any later version. > > > > This program is distributed in the hope that it will be useful, > > - but WITHOUT ANY WARRANTY; without even the implied warranty of > > - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > > + but WITHOUT ANY WARRANTY; without even the implied warranty of > > + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > > GNU General Public License for more details. > > > > You should have received a copy of the GNU General Public > > License > > diff --git a/src/vdagentd-xorg-conf.h b/src/vdagentd-xorg-conf.h > > index c0a2b28..9934359 100644 > > --- a/src/vdagentd-xorg-conf.h > > +++ b/src/vdagentd-xorg-conf.h > > @@ -7,12 +7,12 @@ > > > > This program is free software: you can redistribute it and/or > > modify > > it under the terms of the GNU General Public License as > > published by > > - the Free Software Foundation, either version 3 of the License, > > or > > + the Free Software Foundation, either version 3 of the License, > > or > > (at your option) any later version. > > > > This program is distributed in the hope that it will be useful, > > - but WITHOUT ANY WARRANTY; without even the implied warranty of > > - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > > + but WITHOUT ANY WARRANTY; without even the implied warranty of > > + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > > GNU General Public License for more details. > > > > You should have received a copy of the GNU General Public > > License > > diff --git a/src/vdagentd.c b/src/vdagentd.c > > index a493baf..69332ff 100644 > > --- a/src/vdagentd.c > > +++ b/src/vdagentd.c > > @@ -8,12 +8,12 @@ > > > > This program is free software: you can redistribute it and/or > > modify > > it under the terms of the GNU General Public License as > > published by > > - the Free Software Foundation, either version 3 of the License, > > or > > + the Free Software Foundation, either version 3 of the License, > > or > > (at your option) any later version. > > > > This program is distributed in the hope that it will be useful, > > - but WITHOUT ANY WARRANTY; without even the implied warranty of > > - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > > + but WITHOUT ANY WARRANTY; without even the implied warranty of > > + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > > GNU General Public License for more details. > > > > You should have received a copy of the GNU General Public > > License > > @@ -642,7 +642,7 @@ static void > > update_active_session_connection(struct udscs_connection *new_conn) > > > > release_clipboards(); > > > > - check_xorg_resolution(); > > + check_xorg_resolution(); > > } > > > > static gboolean remove_active_xfers(gpointer key, gpointer value, > > gpointer conn) > _______________________________________________ > Spice-devel mailing list > Spice-devel@xxxxxxxxxxxxxxxxxxxxx > https://lists.freedesktop.org/mailman/listinfo/spice-devel _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel