From 02d56750bda532e9a0b4e4d9efcde82ae44fdc38 Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" Date: Tue, 10 Jan 2012 15:03:38 +0000 Subject: Remove trailing blank lines Remove any blank lines at the end of all source files --- TODO.multiclient | 1 - autogen.sh | 1 - client/application.cpp | 1 - client/application.h | 1 - client/audio_channels.h | 1 - client/audio_devices.h | 1 - client/cache.hpp | 1 - client/canvas.h | 1 - client/client_net_socket.cpp | 1 - client/cmd_line_parser.cpp | 1 - client/cmd_line_parser.h | 1 - client/common.h | 1 - client/cursor.cpp | 1 - client/cursor.h | 1 - client/cursor_channel.cpp | 1 - client/cursor_channel.h | 1 - client/debug.h | 1 - client/demarshallers.h | 1 - client/display_channel.cpp | 1 - client/display_channel.h | 1 - client/event_sources.h | 1 - client/glz_decode_tmpl.c | 1 - client/glz_decoded_image.h | 1 - client/glz_decoder.cpp | 1 - client/glz_decoder.h | 1 - client/glz_decoder_config.h | 1 - client/glz_decoder_window.cpp | 1 - client/glz_decoder_window.h | 1 - client/gui/Makefile.am | 1 - client/gui/gui.cpp | 1 - client/gui/gui.h | 1 - client/gui/resource_provider.cpp | 1 - client/gui/resource_provider.h | 1 - client/gui/softrenderer.cpp | 1 - client/gui/softrenderer.h | 1 - client/gui/softtexture.cpp | 1 - client/gui/softtexture.h | 1 - client/hot_keys.cpp | 1 - client/hot_keys.h | 1 - client/icon.h | 1 - client/inputs_channel.cpp | 1 - client/inputs_channel.h | 1 - client/inputs_handler.h | 1 - client/jpeg_decoder.h | 1 - client/menu.h | 1 - client/monitor.h | 1 - client/pixels_source.h | 1 - client/platform.h | 1 - client/playback_channel.cpp | 1 - client/read_write_mutex.h | 1 - client/record_channel.cpp | 1 - client/red_channel.cpp | 1 - client/red_channel.h | 1 - client/red_client.cpp | 1 - client/red_client.h | 1 - client/red_drawable.h | 1 - client/red_gdi_canvas.cpp | 1 - client/red_gdi_canvas.h | 1 - client/red_gl_canvas.cpp | 1 - client/red_gl_canvas.h | 1 - client/red_key.h | 1 - client/red_peer.h | 1 - client/red_pixmap.h | 1 - client/red_pixmap_gdi.h | 1 - client/red_pixmap_gl.h | 1 - client/red_pixmap_sw.h | 1 - client/red_sw_canvas.cpp | 1 - client/red_sw_canvas.h | 1 - client/red_types.h | 1 - client/red_window.h | 1 - client/screen.cpp | 1 - client/screen.h | 1 - client/screen_layer.cpp | 1 - client/screen_layer.h | 1 - client/shared_cache.hpp | 1 - client/smartcard_channel.cpp | 1 - client/smartcard_channel.h | 1 - client/threads.cpp | 1 - client/threads.h | 1 - client/utils.cpp | 1 - client/utils.h | 1 - client/windows/atomic_count.h | 1 - client/windows/event_sources_p.cpp | 1 - client/windows/event_sources_p.h | 1 - client/windows/main.cpp | 1 - client/windows/my_getopt.cpp | 1 - client/windows/named_pipe.cpp | 1 - client/windows/named_pipe.h | 1 - client/windows/pixels_source.cpp | 1 - client/windows/pixels_source_p.h | 1 - client/windows/platform_utils.cpp | 1 - client/windows/platform_utils.h | 1 - client/windows/playback.cpp | 1 - client/windows/playback.h | 1 - client/windows/record.cpp | 1 - client/windows/record.h | 1 - client/windows/red_drawable.cpp | 1 - client/windows/red_pixmap.cpp | 1 - client/windows/red_pixmap_gdi.cpp | 1 - client/windows/red_pixmap_sw.cpp | 1 - client/windows/red_window_p.h | 1 - client/windows/stdint.h | 3 --- client/windows/win_platform.h | 1 - client/x11/.gitignore | 2 +- client/x11/atomic_count.h | 1 - client/x11/event_sources_p.h | 1 - client/x11/main.cpp | 1 - client/x11/named_pipe.cpp | 1 - client/x11/named_pipe.h | 1 - client/x11/pixels_source.cpp | 1 - client/x11/pixels_source_p.h | 1 - client/x11/platform_utils.h | 1 - client/x11/playback.cpp | 1 - client/x11/playback.h | 1 - client/x11/record.cpp | 1 - client/x11/record.h | 1 - client/x11/red_drawable.cpp | 1 - client/x11/red_pixmap.cpp | 1 - client/x11/red_pixmap_gl.cpp | 1 - client/x11/red_pixmap_sw.cpp | 1 - client/x11/red_window.cpp | 1 - client/x11/red_window_p.h | 1 - client/x11/res.cpp | 1 - client/x11/res.h | 1 - client/x11/resource.h | 1 - client/x11/x_icon.cpp | 1 - client/x11/x_icon.h | 1 - client/x11/x_platform.h | 1 - common/Makefile.am | 1 - common/canvas_utils.c | 1 - common/gdi_canvas.c | 1 - common/glc.c | 1 - common/lz.c | 1 - common/lz_decompress_tmpl.c | 1 - common/ogl_ctx.c | 1 - common/ogl_ctx.h | 1 - common/quic.c | 1 - common/quic.h | 1 - common/quic_config.h | 1 - common/quic_family_tmpl.c | 1 - common/quic_rgb_tmpl.c | 1 - common/quic_tmpl.c | 1 - common/rect.h | 1 - common/region.c | 1 - common/region.h | 1 - common/ring.h | 1 - common/rop3.h | 1 - python_modules/Makefile.am | 1 - python_modules/spice_parser.py | 1 - server/demarshallers.h | 1 - server/glz_encode_tmpl.c | 1 - server/glz_encoder.c | 1 - server/glz_encoder.h | 1 - server/glz_encoder_config.h | 1 - server/glz_encoder_dictionary.c | 1 - server/glz_encoder_dictionary.h | 1 - server/glz_encoder_dictionary_protected.h | 1 - server/inputs_channel.c | 1 - server/inputs_channel.h | 1 - server/main_channel.c | 1 - server/red_bitmap_utils.h | 1 - server/red_common.h | 1 - server/red_parse_qxl.c | 1 - server/red_tunnel_worker.c | 1 - server/red_worker.h | 1 - server/reds.h | 1 - server/smartcard.h | 1 - server/snd_worker.c | 1 - server/snd_worker.h | 1 - server/spice-experimental.h | 1 - server/stat.h | 1 - server/tests/README | 1 - server/tests/basic_event_loop.c | 1 - server/tests/test_display_base.c | 1 - server/tests/test_display_no_ssl.c | 1 - server/tests/test_display_streaming.c | 1 - server/tests/test_empty_success.c | 1 - server/tests/test_fail_on_null_core_interface.c | 1 - server/tests/test_just_sockets_no_ssl.c | 1 - tools/bitmap_to_c.c | 1 - tools/icon_to_c.c | 1 - tools/reds_stat.c | 1 - 182 files changed, 1 insertion(+), 184 deletions(-) diff --git a/TODO.multiclient b/TODO.multiclient index 92d8a7d5..5dcdb210 100644 --- a/TODO.multiclient +++ b/TODO.multiclient @@ -13,4 +13,3 @@ Chardev channel: allow adding a chardev channel without any server changes: qemu -spicevmc name=generic,channelname=bla,id=bla -mon chardev=bla Note: client will still need to decide what to do with it of course. So the channelname will have to have a predefined meaning. - diff --git a/autogen.sh b/autogen.sh index 217cc22e..48ee9a2f 100755 --- a/autogen.sh +++ b/autogen.sh @@ -164,4 +164,3 @@ cd $ORIGDIR || exit $? rm -f config.cache do_cmd $srcdir/configure --enable-maintainer-mode ${1+"$@"} || exit 1 - diff --git a/client/application.cpp b/client/application.cpp index b92b6484..08fa4fcb 100644 --- a/client/application.cpp +++ b/client/application.cpp @@ -2670,4 +2670,3 @@ int Application::main(int argc, char** argv, const char* version_str) cleanup_globals(); return ret; } - diff --git a/client/application.h b/client/application.h index db8d4e80..ac51cd2a 100644 --- a/client/application.h +++ b/client/application.h @@ -407,4 +407,3 @@ private: }; #endif - diff --git a/client/audio_channels.h b/client/audio_channels.h index 2722e20e..d38a79eb 100644 --- a/client/audio_channels.h +++ b/client/audio_channels.h @@ -106,4 +106,3 @@ private: }; #endif - diff --git a/client/audio_devices.h b/client/audio_devices.h index 85478acf..a1da1f72 100644 --- a/client/audio_devices.h +++ b/client/audio_devices.h @@ -49,4 +49,3 @@ public: }; #endif - diff --git a/client/cache.hpp b/client/cache.hpp index 66874002..42e6873d 100644 --- a/client/cache.hpp +++ b/client/cache.hpp @@ -118,4 +118,3 @@ private: }; #endif - diff --git a/client/canvas.h b/client/canvas.h index a9cdecd9..5a34bdc5 100644 --- a/client/canvas.h +++ b/client/canvas.h @@ -350,4 +350,3 @@ private: #endif - diff --git a/client/client_net_socket.cpp b/client/client_net_socket.cpp index 412c1fd5..e9f1e770 100644 --- a/client/client_net_socket.cpp +++ b/client/client_net_socket.cpp @@ -386,4 +386,3 @@ void ClientNetSocket::apply_disconnect() _close_pending = false; _fin_pending = false; } - diff --git a/client/cmd_line_parser.cpp b/client/cmd_line_parser.cpp index f2b32909..25ce05bf 100644 --- a/client/cmd_line_parser.cpp +++ b/client/cmd_line_parser.cpp @@ -517,4 +517,3 @@ void CmdLineParser::show_help() os << "\n"; Platform::term_printf(os.str().c_str()); } - diff --git a/client/cmd_line_parser.h b/client/cmd_line_parser.h index 5faf52bd..1ce1807d 100644 --- a/client/cmd_line_parser.h +++ b/client/cmd_line_parser.h @@ -102,4 +102,3 @@ private: }; #endif - diff --git a/client/common.h b/client/common.h index e9572bd7..268057a6 100644 --- a/client/common.h +++ b/client/common.h @@ -88,4 +88,3 @@ extern const char* PACKAGE_VERSION; #include "red_types.h" #endif - diff --git a/client/cursor.cpp b/client/cursor.cpp index 2ca2cd7f..e9e3006d 100644 --- a/client/cursor.cpp +++ b/client/cursor.cpp @@ -113,4 +113,3 @@ int LocalCursor::get_size_bits(const SpiceCursorHeader& header, int& size) return 0; } } - diff --git a/client/cursor.h b/client/cursor.h index f5084cd9..16b7fc52 100644 --- a/client/cursor.h +++ b/client/cursor.h @@ -70,4 +70,3 @@ private: }; #endif - diff --git a/client/cursor_channel.cpp b/client/cursor_channel.cpp index 12e2470b..e317dfa2 100644 --- a/client/cursor_channel.cpp +++ b/client/cursor_channel.cpp @@ -667,4 +667,3 @@ ChannelFactory& CursorChannel::Factory() { return factory; } - diff --git a/client/cursor_channel.h b/client/cursor_channel.h index c9e32b4d..3458c5f4 100644 --- a/client/cursor_channel.h +++ b/client/cursor_channel.h @@ -91,4 +91,3 @@ private: }; #endif - diff --git a/client/debug.h b/client/debug.h index c72ccd88..f2cc2990 100644 --- a/client/debug.h +++ b/client/debug.h @@ -90,4 +90,3 @@ void spice_log_cleanup(void); } #endif // _H_DEBUG - diff --git a/client/demarshallers.h b/client/demarshallers.h index 6d54ecea..90084cf2 100644 --- a/client/demarshallers.h +++ b/client/demarshallers.h @@ -25,4 +25,3 @@ spice_parse_channel_func_t spice_get_server_channel_parser(uint32_t channel, uns spice_parse_channel_func_t spice_get_server_channel_parser1(uint32_t channel, unsigned int *max_message_type); #endif - diff --git a/client/display_channel.cpp b/client/display_channel.cpp index 2e0613c2..22391220 100644 --- a/client/display_channel.cpp +++ b/client/display_channel.cpp @@ -1840,4 +1840,3 @@ ChannelFactory& DisplayChannel::Factory() { return factory; } - diff --git a/client/display_channel.h b/client/display_channel.h index 61109edf..7cdd55c8 100644 --- a/client/display_channel.h +++ b/client/display_channel.h @@ -241,4 +241,3 @@ private: }; #endif - diff --git a/client/event_sources.h b/client/event_sources.h index 5983f399..0db8ce6f 100644 --- a/client/event_sources.h +++ b/client/event_sources.h @@ -92,4 +92,3 @@ class EventSources::Handle: public EventSource, public Handle_p { }; #endif - diff --git a/client/glz_decode_tmpl.c b/client/glz_decode_tmpl.c index 2e4f1369..6aaf63b3 100644 --- a/client/glz_decode_tmpl.c +++ b/client/glz_decode_tmpl.c @@ -335,4 +335,3 @@ static size_t FNAME(decode)(GlzDecoderWindow &window, uint8_t* in_buf, #undef COPY_COMP_PIXEL #undef COPY_PLT_ENTRY #undef CAST_PLT_DISTANCE - diff --git a/client/glz_decoded_image.h b/client/glz_decoded_image.h index 6827d6dc..2e607f81 100644 --- a/client/glz_decoded_image.h +++ b/client/glz_decoded_image.h @@ -62,4 +62,3 @@ inline uint8_t* GlzDecodedImage::get_pixel_ref(int offset) } #endif - diff --git a/client/glz_decoder.cpp b/client/glz_decoder.cpp index dea1a1be..e5dd0fa8 100644 --- a/client/glz_decoder.cpp +++ b/client/glz_decoder.cpp @@ -299,4 +299,3 @@ void GlzDecoder::decode(uint8_t *data, SpicePalette *palette, void *opaque_usr_i _images_window.post_decode(decoded_image); } - diff --git a/client/glz_decoder.h b/client/glz_decoder.h index 35b0a3ed..a0352cc1 100644 --- a/client/glz_decoder.h +++ b/client/glz_decoder.h @@ -82,4 +82,3 @@ private: }; #endif // _H_GLZ_DECODER - diff --git a/client/glz_decoder_config.h b/client/glz_decoder_config.h index 835e2a70..52fa52d3 100644 --- a/client/glz_decoder_config.h +++ b/client/glz_decoder_config.h @@ -64,4 +64,3 @@ public: #define GLZ_DECODE_TO_RGB32 #endif //_H_GLZ_DECODER_CONFIG - diff --git a/client/glz_decoder_window.cpp b/client/glz_decoder_window.cpp index 54fdbdc8..51d44abc 100644 --- a/client/glz_decoder_window.cpp +++ b/client/glz_decoder_window.cpp @@ -327,4 +327,3 @@ inline int GlzDecoderWindow::calc_image_win_idx(uint64_t image_id) { return (int)((_head_idx + _n_images - 1 - (_tail_image_id - image_id)) % _images_capacity); } - diff --git a/client/glz_decoder_window.h b/client/glz_decoder_window.h index e061c736..f89d18f0 100644 --- a/client/glz_decoder_window.h +++ b/client/glz_decoder_window.h @@ -120,4 +120,3 @@ inline uint8_t *GlzDecoderWindow::get_ref_pixel(DecodedImageWinId decoded_image_ } #endif // _H_GLZ_DECODER_WINDOW - diff --git a/client/gui/Makefile.am b/client/gui/Makefile.am index e1204c92..81e4f88e 100644 --- a/client/gui/Makefile.am +++ b/client/gui/Makefile.am @@ -18,4 +18,3 @@ EXTRA_DIST = \ taharez_look.scheme.c \ taharez_look.tga.c \ $(NULL) - diff --git a/client/gui/gui.cpp b/client/gui/gui.cpp index abfe1110..6dd4ceab 100644 --- a/client/gui/gui.cpp +++ b/client/gui/gui.cpp @@ -1412,4 +1412,3 @@ bool GUI::message_box(MessageType type, const char *text, const ButtonsList& but } return _dialog->message_box(type, text, buttons, _response_handler); } - diff --git a/client/gui/gui.h b/client/gui/gui.h index 457c3512..b93b42a2 100644 --- a/client/gui/gui.h +++ b/client/gui/gui.h @@ -141,4 +141,3 @@ private: }; #endif - diff --git a/client/gui/resource_provider.cpp b/client/gui/resource_provider.cpp index b80ce092..3c0b897a 100644 --- a/client/gui/resource_provider.cpp +++ b/client/gui/resource_provider.cpp @@ -146,4 +146,3 @@ const char* res_get_string(int id) return NULL; } - diff --git a/client/gui/resource_provider.h b/client/gui/resource_provider.h index 6f59cb8a..c0d319b5 100644 --- a/client/gui/resource_provider.h +++ b/client/gui/resource_provider.h @@ -57,4 +57,3 @@ enum { const char* res_get_string(int id); #endif - diff --git a/client/gui/softrenderer.cpp b/client/gui/softrenderer.cpp index 92a1c838..9f19e7b0 100644 --- a/client/gui/softrenderer.cpp +++ b/client/gui/softrenderer.cpp @@ -388,4 +388,3 @@ uint SoftRenderer::getVertScreenDPI() const } } - diff --git a/client/gui/softrenderer.h b/client/gui/softrenderer.h index f25f79e2..b97f9d59 100644 --- a/client/gui/softrenderer.h +++ b/client/gui/softrenderer.h @@ -146,4 +146,3 @@ namespace CEGUI } #endif - diff --git a/client/gui/softtexture.cpp b/client/gui/softtexture.cpp index b41dd65b..d9ce9a07 100644 --- a/client/gui/softtexture.cpp +++ b/client/gui/softtexture.cpp @@ -137,4 +137,3 @@ void SoftTexture::loadFromMemory(const void* buffPtr, uint buffWidth, } - diff --git a/client/gui/softtexture.h b/client/gui/softtexture.h index 65a4ece5..668ca4f1 100644 --- a/client/gui/softtexture.h +++ b/client/gui/softtexture.h @@ -56,4 +56,3 @@ namespace CEGUI } #endif - diff --git a/client/hot_keys.cpp b/client/hot_keys.cpp index 65b1bc34..f98a4bb9 100644 --- a/client/hot_keys.cpp +++ b/client/hot_keys.cpp @@ -147,4 +147,3 @@ void HotKeysParser::add_hotkey(const std::string& hotkey, const CommandsMap& com std::string keys = hotkey.substr(key_start + 1); parse_keys(command_id, keys); } - diff --git a/client/hot_keys.h b/client/hot_keys.h index c7f50e49..e78390d3 100644 --- a/client/hot_keys.h +++ b/client/hot_keys.h @@ -46,4 +46,3 @@ private: }; #endif - diff --git a/client/icon.h b/client/icon.h index 45980fd7..35b0a9d9 100644 --- a/client/icon.h +++ b/client/icon.h @@ -33,4 +33,3 @@ private: }; #endif - diff --git a/client/inputs_channel.cpp b/client/inputs_channel.cpp index 9e940d9a..b6f02200 100644 --- a/client/inputs_channel.cpp +++ b/client/inputs_channel.cpp @@ -609,4 +609,3 @@ ChannelFactory& InputsChannel::Factory() { return factory; } - diff --git a/client/inputs_channel.h b/client/inputs_channel.h index 254ed450..cff3f904 100644 --- a/client/inputs_channel.h +++ b/client/inputs_channel.h @@ -94,4 +94,3 @@ private: #endif - diff --git a/client/inputs_handler.h b/client/inputs_handler.h index 6f9c373e..060a4adc 100644 --- a/client/inputs_handler.h +++ b/client/inputs_handler.h @@ -40,4 +40,3 @@ public: }; #endif - diff --git a/client/jpeg_decoder.h b/client/jpeg_decoder.h index 45d75d7c..8f7e1bb8 100644 --- a/client/jpeg_decoder.h +++ b/client/jpeg_decoder.h @@ -89,4 +89,3 @@ private: RGBToBGRXConverter _rgb2bgrx; }; #endif - diff --git a/client/menu.h b/client/menu.h index 6e3d2f1b..280cf388 100644 --- a/client/menu.h +++ b/client/menu.h @@ -100,4 +100,3 @@ private: }; #endif - diff --git a/client/monitor.h b/client/monitor.h index ec31da47..b8d7c88b 100644 --- a/client/monitor.h +++ b/client/monitor.h @@ -55,4 +55,3 @@ protected: }; #endif - diff --git a/client/pixels_source.h b/client/pixels_source.h index fac9c22e..1f4d1965 100644 --- a/client/pixels_source.h +++ b/client/pixels_source.h @@ -56,4 +56,3 @@ public: }; #endif - diff --git a/client/platform.h b/client/platform.h index a9a1715b..2025ad9d 100644 --- a/client/platform.h +++ b/client/platform.h @@ -201,4 +201,3 @@ public: }; #endif - diff --git a/client/playback_channel.cpp b/client/playback_channel.cpp index d3445e59..802a4d3b 100644 --- a/client/playback_channel.cpp +++ b/client/playback_channel.cpp @@ -368,4 +368,3 @@ ChannelFactory& PlaybackChannel::Factory() { return factory; } - diff --git a/client/read_write_mutex.h b/client/read_write_mutex.h index 72eb0fa5..107474ee 100644 --- a/client/read_write_mutex.h +++ b/client/read_write_mutex.h @@ -117,4 +117,3 @@ private: }; #endif - diff --git a/client/record_channel.cpp b/client/record_channel.cpp index 04760311..d9332c6b 100644 --- a/client/record_channel.cpp +++ b/client/record_channel.cpp @@ -291,4 +291,3 @@ ChannelFactory& RecordChannel::Factory() { return factory; } - diff --git a/client/red_channel.cpp b/client/red_channel.cpp index e8c058cc..5523abdb 100644 --- a/client/red_channel.cpp +++ b/client/red_channel.cpp @@ -885,4 +885,3 @@ void RedChannel::handle_wait_for_channels(RedPeer::InMessage* message) } _client.wait_for_channels(wait->wait_count, wait->wait_list); } - diff --git a/client/red_channel.h b/client/red_channel.h index 8128626f..a8390214 100644 --- a/client/red_channel.h +++ b/client/red_channel.h @@ -350,4 +350,3 @@ void MessageHandlerImp::set_handler(unsigned int id, H } #endif - diff --git a/client/red_client.cpp b/client/red_client.cpp index f3da4c92..6b11e38a 100644 --- a/client/red_client.cpp +++ b/client/red_client.cpp @@ -1407,4 +1407,3 @@ void RedClient::register_channel_factory(ChannelFactory& factory) { _factorys.push_back(&factory); } - diff --git a/client/red_client.h b/client/red_client.h index f4cd46b6..8872ce88 100644 --- a/client/red_client.h +++ b/client/red_client.h @@ -385,4 +385,3 @@ private: }; #endif - diff --git a/client/red_drawable.h b/client/red_drawable.h index 3fac164c..660ff4e8 100644 --- a/client/red_drawable.h +++ b/client/red_drawable.h @@ -120,4 +120,3 @@ public: }; #endif - diff --git a/client/red_gdi_canvas.cpp b/client/red_gdi_canvas.cpp index 6ac2e8a6..2e42510a 100644 --- a/client/red_gdi_canvas.cpp +++ b/client/red_gdi_canvas.cpp @@ -91,4 +91,3 @@ CanvasType GDICanvas::get_pixmap_type() { return CANVAS_TYPE_GDI; } - diff --git a/client/red_gdi_canvas.h b/client/red_gdi_canvas.h index 67a2dbab..fa173c44 100644 --- a/client/red_gdi_canvas.h +++ b/client/red_gdi_canvas.h @@ -53,4 +53,3 @@ private: }; #endif - diff --git a/client/red_gl_canvas.cpp b/client/red_gl_canvas.cpp index abe08558..59c8f06b 100644 --- a/client/red_gl_canvas.cpp +++ b/client/red_gl_canvas.cpp @@ -118,4 +118,3 @@ void GCanvas::post_gl_copy() { _pixmap->past_copy(); } - diff --git a/client/red_gl_canvas.h b/client/red_gl_canvas.h index a8c901c3..a57ea480 100644 --- a/client/red_gl_canvas.h +++ b/client/red_gl_canvas.h @@ -64,4 +64,3 @@ private: }; #endif - diff --git a/client/red_key.h b/client/red_key.h index b37234e0..ea3396ab 100644 --- a/client/red_key.h +++ b/client/red_key.h @@ -147,4 +147,3 @@ enum RedKey { }; #endif - diff --git a/client/red_peer.h b/client/red_peer.h index ce06143c..5e2b2b91 100644 --- a/client/red_peer.h +++ b/client/red_peer.h @@ -206,4 +206,3 @@ protected: }; #endif - diff --git a/client/red_pixmap.h b/client/red_pixmap.h index 46e3657b..240ed768 100644 --- a/client/red_pixmap.h +++ b/client/red_pixmap.h @@ -46,4 +46,3 @@ protected: }; #endif - diff --git a/client/red_pixmap_gdi.h b/client/red_pixmap_gdi.h index bccce849..828b76b9 100644 --- a/client/red_pixmap_gdi.h +++ b/client/red_pixmap_gdi.h @@ -33,4 +33,3 @@ public: }; #endif - diff --git a/client/red_pixmap_gl.h b/client/red_pixmap_gl.h index f7a14af9..88d14a1c 100644 --- a/client/red_pixmap_gl.h +++ b/client/red_pixmap_gl.h @@ -47,4 +47,3 @@ private: }; #endif - diff --git a/client/red_pixmap_sw.h b/client/red_pixmap_sw.h index c6061358..0c96a1f7 100644 --- a/client/red_pixmap_sw.h +++ b/client/red_pixmap_sw.h @@ -28,4 +28,3 @@ public: }; #endif - diff --git a/client/red_sw_canvas.cpp b/client/red_sw_canvas.cpp index 860e2a56..5f86dca1 100644 --- a/client/red_sw_canvas.cpp +++ b/client/red_sw_canvas.cpp @@ -106,4 +106,3 @@ CanvasType SCanvas::get_pixmap_type() { return CANVAS_TYPE_SW; } - diff --git a/client/red_sw_canvas.h b/client/red_sw_canvas.h index 807c128e..47366494 100644 --- a/client/red_sw_canvas.h +++ b/client/red_sw_canvas.h @@ -50,4 +50,3 @@ private: }; #endif - diff --git a/client/red_types.h b/client/red_types.h index a5a2fbb0..d5273390 100644 --- a/client/red_types.h +++ b/client/red_types.h @@ -35,4 +35,3 @@ struct IconHeader { class RedDrawable; #endif - diff --git a/client/red_window.h b/client/red_window.h index 82353aa1..dbd0c797 100644 --- a/client/red_window.h +++ b/client/red_window.h @@ -196,4 +196,3 @@ static bool find_anchor_point(const REGION& region, SpicePoint& pt) } #endif - diff --git a/client/screen.cpp b/client/screen.cpp index dc334559..a05d5620 100644 --- a/client/screen.cpp +++ b/client/screen.cpp @@ -939,4 +939,3 @@ void RedScreen::unset_type_gl() _window.unset_type_gl(); } #endif // USE_OPENGL - diff --git a/client/screen.h b/client/screen.h index 19efffb8..d7bb4c27 100644 --- a/client/screen.h +++ b/client/screen.h @@ -208,4 +208,3 @@ private: }; #endif - diff --git a/client/screen_layer.cpp b/client/screen_layer.cpp index 02abef24..3638509d 100644 --- a/client/screen_layer.cpp +++ b/client/screen_layer.cpp @@ -237,4 +237,3 @@ void ScreenLayer::detach_from_screen(Application& application) } ASSERT(!_screen); } - diff --git a/client/screen_layer.h b/client/screen_layer.h index 70cd6516..e8ad4217 100644 --- a/client/screen_layer.h +++ b/client/screen_layer.h @@ -85,4 +85,3 @@ private: }; #endif - diff --git a/client/shared_cache.hpp b/client/shared_cache.hpp index a8308545..b9c3fd90 100644 --- a/client/shared_cache.hpp +++ b/client/shared_cache.hpp @@ -221,4 +221,3 @@ private: }; #endif - diff --git a/client/smartcard_channel.cpp b/client/smartcard_channel.cpp index 11a6be07..09659c21 100644 --- a/client/smartcard_channel.cpp +++ b/client/smartcard_channel.cpp @@ -551,4 +551,3 @@ ChannelFactory& SmartCardChannel::Factory() { return factory; } - diff --git a/client/smartcard_channel.h b/client/smartcard_channel.h index a84cbfdb..0423bff0 100644 --- a/client/smartcard_channel.h +++ b/client/smartcard_channel.h @@ -157,4 +157,3 @@ private: }; #endif // __SMART_CARD_H__ - diff --git a/client/threads.cpp b/client/threads.cpp index 0b359e8e..bf499e72 100644 --- a/client/threads.cpp +++ b/client/threads.cpp @@ -133,4 +133,3 @@ Mutex::~Mutex() { pthread_mutex_destroy(&_mutex); } - diff --git a/client/threads.h b/client/threads.h index 8b5adb68..5bfd38b0 100644 --- a/client/threads.h +++ b/client/threads.h @@ -132,4 +132,3 @@ private: #endif - diff --git a/client/utils.cpp b/client/utils.cpp index 01ea0d3a..6b195b3d 100644 --- a/client/utils.cpp +++ b/client/utils.cpp @@ -42,4 +42,3 @@ int str_to_port(const char *str) } return port; } - diff --git a/client/utils.h b/client/utils.h index 3b3cbb0b..8f320085 100644 --- a/client/utils.h +++ b/client/utils.h @@ -148,4 +148,3 @@ class EmptyBase { }; #endif - diff --git a/client/windows/atomic_count.h b/client/windows/atomic_count.h index 0e49f7cb..7520fcae 100644 --- a/client/windows/atomic_count.h +++ b/client/windows/atomic_count.h @@ -39,4 +39,3 @@ private: }; #endif - diff --git a/client/windows/event_sources_p.cpp b/client/windows/event_sources_p.cpp index 4a9adf16..77035730 100644 --- a/client/windows/event_sources_p.cpp +++ b/client/windows/event_sources_p.cpp @@ -209,4 +209,3 @@ void EventSources::add_file(File& file) void EventSources::remove_file(File& file) { } - diff --git a/client/windows/event_sources_p.h b/client/windows/event_sources_p.h index 1b20fa7f..14cc8161 100644 --- a/client/windows/event_sources_p.h +++ b/client/windows/event_sources_p.h @@ -49,4 +49,3 @@ class Trigger_p: public Handle_p { }; #endif - diff --git a/client/windows/main.cpp b/client/windows/main.cpp index 46af699b..7a833055 100644 --- a/client/windows/main.cpp +++ b/client/windows/main.cpp @@ -108,4 +108,3 @@ int WINAPI WinMain(HINSTANCE hInstance, return exit_val; } - diff --git a/client/windows/my_getopt.cpp b/client/windows/my_getopt.cpp index da87655a..905b7174 100644 --- a/client/windows/my_getopt.cpp +++ b/client/windows/my_getopt.cpp @@ -20,4 +20,3 @@ #include "common.h" #include "../../common/win/my_getopt-1.5/my_getopt.c" - diff --git a/client/windows/named_pipe.cpp b/client/windows/named_pipe.cpp index 76d77da6..c8131120 100644 --- a/client/windows/named_pipe.cpp +++ b/client/windows/named_pipe.cpp @@ -230,4 +230,3 @@ void WinListener::create_pipe() THROW("ConnectNamedPipe() failed %u", GetLastError()); } } - diff --git a/client/windows/named_pipe.h b/client/windows/named_pipe.h index 4b7cfe64..10d5ced9 100644 --- a/client/windows/named_pipe.h +++ b/client/windows/named_pipe.h @@ -92,4 +92,3 @@ private: }; #endif - diff --git a/client/windows/pixels_source.cpp b/client/windows/pixels_source.cpp index 167255bd..3ddf5569 100644 --- a/client/windows/pixels_source.cpp +++ b/client/windows/pixels_source.cpp @@ -108,4 +108,3 @@ SpicePoint AlphaImageFromRes::get_size() Lock lock(*p_data->source_p._mutex); return get_bitmap_size(p_data->source_p.dc); } - diff --git a/client/windows/pixels_source_p.h b/client/windows/pixels_source_p.h index b8f00fa0..f06be0e1 100644 --- a/client/windows/pixels_source_p.h +++ b/client/windows/pixels_source_p.h @@ -26,4 +26,3 @@ struct PixelsSource_p { }; #endif - diff --git a/client/windows/platform_utils.cpp b/client/windows/platform_utils.cpp index a4405c1e..a4c9c417 100644 --- a/client/windows/platform_utils.cpp +++ b/client/windows/platform_utils.cpp @@ -148,4 +148,3 @@ int inet_aton(const char* ip, struct in_addr* in_addr) in_addr->S_un.S_addr = addr; return 1; } - diff --git a/client/windows/platform_utils.h b/client/windows/platform_utils.h index 2f333f70..a652feda 100644 --- a/client/windows/platform_utils.h +++ b/client/windows/platform_utils.h @@ -98,4 +98,3 @@ const char* sys_err_to_str(int error); int inet_aton(const char* ip, struct in_addr* in_addr); #endif - diff --git a/client/windows/playback.cpp b/client/windows/playback.cpp index 701dffcb..41b92bc1 100644 --- a/client/windows/playback.cpp +++ b/client/windows/playback.cpp @@ -176,4 +176,3 @@ uint32_t WavePlayer::get_delay_ms() { return _in_use * WavePlaybackAbstract::FRAME_SIZE / _sampels_per_ms; } - diff --git a/client/windows/playback.h b/client/windows/playback.h index 8632808c..6f70a7b4 100644 --- a/client/windows/playback.h +++ b/client/windows/playback.h @@ -52,4 +52,3 @@ private: }; #endif - diff --git a/client/windows/record.cpp b/client/windows/record.cpp index f0bb6446..0736b113 100644 --- a/client/windows/record.cpp +++ b/client/windows/record.cpp @@ -193,4 +193,3 @@ bool WaveRecorder::abort() { return true; } - diff --git a/client/windows/record.h b/client/windows/record.h index 3739c222..4071af4f 100644 --- a/client/windows/record.h +++ b/client/windows/record.h @@ -55,4 +55,3 @@ private: }; #endif - diff --git a/client/windows/red_drawable.cpp b/client/windows/red_drawable.cpp index dabc0d97..65c1aa6c 100644 --- a/client/windows/red_drawable.cpp +++ b/client/windows/red_drawable.cpp @@ -151,4 +151,3 @@ void RedDrawable::frame_rect(const SpiceRect& rect, rgb32_t color) } DeleteObject(brush); } - diff --git a/client/windows/red_pixmap.cpp b/client/windows/red_pixmap.cpp index 4538441c..6685e416 100644 --- a/client/windows/red_pixmap.cpp +++ b/client/windows/red_pixmap.cpp @@ -42,4 +42,3 @@ bool RedPixmap::is_big_endian_bits() { return _format == RedDrawable::A1; } - diff --git a/client/windows/red_pixmap_gdi.cpp b/client/windows/red_pixmap_gdi.cpp index 2d93113d..132ee6cc 100644 --- a/client/windows/red_pixmap_gdi.cpp +++ b/client/windows/red_pixmap_gdi.cpp @@ -119,4 +119,3 @@ RecurciveMutex& RedPixmapGdi::get_mutex() RedPixmap_p* p_data = (RedPixmap_p*)get_opaque(); return *p_data->pixels_source_p._mutex; } - diff --git a/client/windows/red_pixmap_sw.cpp b/client/windows/red_pixmap_sw.cpp index 9ed1460d..fac40a06 100644 --- a/client/windows/red_pixmap_sw.cpp +++ b/client/windows/red_pixmap_sw.cpp @@ -118,4 +118,3 @@ RedPixmapSw::~RedPixmapSw() DeleteDC(dc); } } - diff --git a/client/windows/red_window_p.h b/client/windows/red_window_p.h index 351d9b96..73d74e38 100644 --- a/client/windows/red_window_p.h +++ b/client/windows/red_window_p.h @@ -69,4 +69,3 @@ protected: }; #endif - diff --git a/client/windows/stdint.h b/client/windows/stdint.h index eaeb1996..0e0ecd41 100644 --- a/client/windows/stdint.h +++ b/client/windows/stdint.h @@ -391,6 +391,3 @@ typedef unsigned long long uintmax_t; #endif - - - diff --git a/client/windows/win_platform.h b/client/windows/win_platform.h index eba3b039..c1a356c8 100644 --- a/client/windows/win_platform.h +++ b/client/windows/win_platform.h @@ -37,4 +37,3 @@ private: }; #endif - diff --git a/client/x11/.gitignore b/client/x11/.gitignore index fbe61107..397a68f4 100644 --- a/client/x11/.gitignore +++ b/client/x11/.gitignore @@ -7,4 +7,4 @@ Makefile Makefile.in setup -spicec \ No newline at end of file +spicec diff --git a/client/x11/atomic_count.h b/client/x11/atomic_count.h index db20ad9e..02bb08d4 100644 --- a/client/x11/atomic_count.h +++ b/client/x11/atomic_count.h @@ -41,4 +41,3 @@ private: }; #endif - diff --git a/client/x11/event_sources_p.h b/client/x11/event_sources_p.h index 959460c2..4b826bb8 100644 --- a/client/x11/event_sources_p.h +++ b/client/x11/event_sources_p.h @@ -52,4 +52,3 @@ class Handle_p { }; #endif - diff --git a/client/x11/main.cpp b/client/x11/main.cpp index ccc95328..f95b3a21 100644 --- a/client/x11/main.cpp +++ b/client/x11/main.cpp @@ -49,4 +49,3 @@ int main(int argc, char** argv) return exit_val; } - diff --git a/client/x11/named_pipe.cpp b/client/x11/named_pipe.cpp index 0653bfcc..84b980dc 100644 --- a/client/x11/named_pipe.cpp +++ b/client/x11/named_pipe.cpp @@ -169,4 +169,3 @@ void LinuxListener::on_event() conn_interface.bind((NamedPipe::ConnectionRef)conn); } } - diff --git a/client/x11/named_pipe.h b/client/x11/named_pipe.h index 5b0e7f60..379cbffe 100644 --- a/client/x11/named_pipe.h +++ b/client/x11/named_pipe.h @@ -59,4 +59,3 @@ private: }; #endif - diff --git a/client/x11/pixels_source.cpp b/client/x11/pixels_source.cpp index 8d8b3443..71ea9ff4 100644 --- a/client/x11/pixels_source.cpp +++ b/client/x11/pixels_source.cpp @@ -106,4 +106,3 @@ SpicePoint AlphaImageFromRes::get_size() pt.y = pixman_image_get_height(image); return pt; } - diff --git a/client/x11/pixels_source_p.h b/client/x11/pixels_source_p.h index 8892c581..000fe4d0 100644 --- a/client/x11/pixels_source_p.h +++ b/client/x11/pixels_source_p.h @@ -89,4 +89,3 @@ struct RedDrawable_p { }; #endif - diff --git a/client/x11/platform_utils.h b/client/x11/platform_utils.h index d574e217..03a24892 100644 --- a/client/x11/platform_utils.h +++ b/client/x11/platform_utils.h @@ -36,4 +36,3 @@ typedef int SOCKET; #define sock_err_message(err) strerror(err) #endif - diff --git a/client/x11/playback.cpp b/client/x11/playback.cpp index e69294c8..5fa7e182 100644 --- a/client/x11/playback.cpp +++ b/client/x11/playback.cpp @@ -218,4 +218,3 @@ uint32_t WavePlayer::get_delay_ms() } return delay / _sampels_per_ms; } - diff --git a/client/x11/playback.h b/client/x11/playback.h index d8efd7e4..27ef9ed7 100644 --- a/client/x11/playback.h +++ b/client/x11/playback.h @@ -45,4 +45,3 @@ private: }; #endif - diff --git a/client/x11/record.cpp b/client/x11/record.cpp index 017a94db..bd76cee6 100644 --- a/client/x11/record.cpp +++ b/client/x11/record.cpp @@ -238,4 +238,3 @@ void WaveRecorder::on_event() } } } - diff --git a/client/x11/record.h b/client/x11/record.h index fde58c77..91410962 100644 --- a/client/x11/record.h +++ b/client/x11/record.h @@ -57,4 +57,3 @@ private: }; #endif - diff --git a/client/x11/red_drawable.cpp b/client/x11/red_drawable.cpp index d6cce920..fd5d4a16 100644 --- a/client/x11/red_drawable.cpp +++ b/client/x11/red_drawable.cpp @@ -793,4 +793,3 @@ void RedDrawable::frame_rect(const SpiceRect& area, rgb32_t color) THROW("invalid dest type %d", dest->source.type); } } - diff --git a/client/x11/red_pixmap.cpp b/client/x11/red_pixmap.cpp index 79190a06..af30f526 100644 --- a/client/x11/red_pixmap.cpp +++ b/client/x11/red_pixmap.cpp @@ -42,4 +42,3 @@ bool RedPixmap::is_big_endian_bits() { return false; } - diff --git a/client/x11/red_pixmap_gl.cpp b/client/x11/red_pixmap_gl.cpp index 011ead97..1e1e6e0f 100644 --- a/client/x11/red_pixmap_gl.cpp +++ b/client/x11/red_pixmap_gl.cpp @@ -309,4 +309,3 @@ RedPixmapGL::~RedPixmapGL() */ GLC_ERROR_TEST_FINISH; } - diff --git a/client/x11/red_pixmap_sw.cpp b/client/x11/red_pixmap_sw.cpp index a0dea4d0..3fd86778 100644 --- a/client/x11/red_pixmap_sw.cpp +++ b/client/x11/red_pixmap_sw.cpp @@ -91,4 +91,3 @@ RedPixmapSw::~RedPixmapSw() delete[] _data; } } - diff --git a/client/x11/red_window.cpp b/client/x11/red_window.cpp index 2d179f89..e0b7d456 100644 --- a/client/x11/red_window.cpp +++ b/client/x11/red_window.cpp @@ -2254,4 +2254,3 @@ void RedWindow::init() void RedWindow::cleanup() { } - diff --git a/client/x11/red_window_p.h b/client/x11/red_window_p.h index 6f94d261..27825393 100644 --- a/client/x11/red_window_p.h +++ b/client/x11/red_window_p.h @@ -87,4 +87,3 @@ protected: }; #endif - diff --git a/client/x11/res.cpp b/client/x11/res.cpp index f73e5404..efbd8de1 100644 --- a/client/x11/res.cpp +++ b/client/x11/res.cpp @@ -80,4 +80,3 @@ const IconHeader *res_get_icon(int id) } return NULL; } - diff --git a/client/x11/res.h b/client/x11/res.h index 77337720..8320e9b6 100644 --- a/client/x11/res.h +++ b/client/x11/res.h @@ -22,4 +22,3 @@ const PixmapHeader *res_get_image(int id); const IconHeader *res_get_icon(int id); #endif - diff --git a/client/x11/resource.h b/client/x11/resource.h index a0f18f31..562b9b98 100644 --- a/client/x11/resource.h +++ b/client/x11/resource.h @@ -22,4 +22,3 @@ #define ALT_IMAGE_RES_ID 4 #endif - diff --git a/client/x11/x_icon.cpp b/client/x11/x_icon.cpp index 8931d05f..edd983f1 100644 --- a/client/x11/x_icon.cpp +++ b/client/x11/x_icon.cpp @@ -173,4 +173,3 @@ Icon* Platform::load_icon(int id) XIcon *xicon = new XIcon(id, icon); return xicon->ref(); } - diff --git a/client/x11/x_icon.h b/client/x11/x_icon.h index fc2bdbd2..b8b5e96d 100644 --- a/client/x11/x_icon.h +++ b/client/x11/x_icon.h @@ -50,4 +50,3 @@ private: }; #endif - diff --git a/client/x11/x_platform.h b/client/x11/x_platform.h index 24f73ac4..39a2d1c3 100644 --- a/client/x11/x_platform.h +++ b/client/x11/x_platform.h @@ -54,4 +54,3 @@ public: }; #endif - diff --git a/common/Makefile.am b/common/Makefile.am index f07f9489..4189dc1f 100644 --- a/common/Makefile.am +++ b/common/Makefile.am @@ -74,4 +74,3 @@ EXTRA_DIST = \ quic_rgb_tmpl.c \ quic_tmpl.c \ $(NULL) - diff --git a/common/canvas_utils.c b/common/canvas_utils.c index 71f6890e..6632942e 100644 --- a/common/canvas_utils.c +++ b/common/canvas_utils.c @@ -297,4 +297,3 @@ pixman_image_t *alloc_lz_image_surface(LzDecodeUsrData *canvas_data, canvas_data->out_surface = surface; return surface; } - diff --git a/common/gdi_canvas.c b/common/gdi_canvas.c index 5c9cdf01..2cb83d8c 100644 --- a/common/gdi_canvas.c +++ b/common/gdi_canvas.c @@ -1857,4 +1857,3 @@ void gdi_canvas_init(void) //unsafe global function rop3_init(); } - diff --git a/common/glc.c b/common/glc.c index 1c81dd86..1414bcff 100644 --- a/common/glc.c +++ b/common/glc.c @@ -1511,4 +1511,3 @@ void glc_destroy(GLCCtx glc, int textures_lost) 8. support more image formats 9. use GLCImage in mask ops? */ - diff --git a/common/lz.c b/common/lz.c index 85c974b4..1d695a07 100644 --- a/common/lz.c +++ b/common/lz.c @@ -738,4 +738,3 @@ void lz_decode(LzContext *lz, LzImageType to_type, uint8_t *buf) encoder->usr->error(encoder->usr, "bad decode size\n"); } } - diff --git a/common/lz_decompress_tmpl.c b/common/lz_decompress_tmpl.c index b962fb66..46587eef 100644 --- a/common/lz_decompress_tmpl.c +++ b/common/lz_decompress_tmpl.c @@ -324,4 +324,3 @@ static size_t FNAME(decompress)(Encoder *encoder, OUT_PIXEL *out_buf, int size) #undef COPY_COMP_PIXEL #undef COPY_PLT_ENTRY #undef CAST_PLT_DISTANCE - diff --git a/common/ogl_ctx.c b/common/ogl_ctx.c index 0917f424..41c05915 100644 --- a/common/ogl_ctx.c +++ b/common/ogl_ctx.c @@ -249,4 +249,3 @@ void oglctx_destroy(OGLCtx *ctx) XCloseDisplay(ctx->x_display); free(ctx); } - diff --git a/common/ogl_ctx.h b/common/ogl_ctx.h index ae2ce7e1..e7f677ac 100644 --- a/common/ogl_ctx.h +++ b/common/ogl_ctx.h @@ -36,4 +36,3 @@ void oglctx_destroy(OGLCtx *ctx); #endif #endif - diff --git a/common/quic.c b/common/quic.c index ca7ffd24..46666383 100644 --- a/common/quic.c +++ b/common/quic.c @@ -1697,4 +1697,3 @@ void quic_init(void) init_zeroLUT(); #endif } - diff --git a/common/quic.h b/common/quic.h index 6047da8b..7ec94f56 100644 --- a/common/quic.h +++ b/common/quic.h @@ -70,4 +70,3 @@ void quic_init(void); #endif #endif - diff --git a/common/quic_config.h b/common/quic_config.h index 2a87f201..13c71f1d 100644 --- a/common/quic_config.h +++ b/common/quic_config.h @@ -46,4 +46,3 @@ extern "C" { #endif #endif - diff --git a/common/quic_family_tmpl.c b/common/quic_family_tmpl.c index fbefe893..bfba0ccf 100644 --- a/common/quic_family_tmpl.c +++ b/common/quic_family_tmpl.c @@ -115,4 +115,3 @@ static s_bucket *FNAME(find_bucket)(Channel *channel, const unsigned int val) #undef FNAME #undef VNAME #undef BPC - diff --git a/common/quic_rgb_tmpl.c b/common/quic_rgb_tmpl.c index 814fa5af..8f356792 100644 --- a/common/quic_rgb_tmpl.c +++ b/common/quic_rgb_tmpl.c @@ -763,4 +763,3 @@ static void FNAME(uncompress_row)(Encoder *encoder, #undef SET_b #undef GET_b #undef UNCOMPRESS_PIX_START - diff --git a/common/quic_tmpl.c b/common/quic_tmpl.c index d300fa97..6acd5042 100644 --- a/common/quic_tmpl.c +++ b/common/quic_tmpl.c @@ -633,4 +633,3 @@ static void FNAME(uncompress_row)(Encoder *encoder, Channel *channel, #undef family #undef BPC #undef BPC_MASK - diff --git a/common/rect.h b/common/rect.h index 360cb9d7..ef265cd9 100644 --- a/common/rect.h +++ b/common/rect.h @@ -120,4 +120,3 @@ static inline int rect_is_same_size(const SpiceRect& r1, const SpiceRect& r2) #endif #endif - diff --git a/common/region.c b/common/region.c index 10a6e62e..35935eac 100644 --- a/common/region.c +++ b/common/region.c @@ -888,4 +888,3 @@ int main(void) } #endif - diff --git a/common/region.h b/common/region.h index 16ec6eb7..954e06fa 100644 --- a/common/region.h +++ b/common/region.h @@ -68,4 +68,3 @@ void region_dump(const QRegion *rgn, const char *prefix); #endif #endif - diff --git a/common/ring.h b/common/ring.h index 304bc9a5..cb70696a 100644 --- a/common/ring.h +++ b/common/ring.h @@ -170,4 +170,3 @@ static inline unsigned int ring_get_length(Ring *ring) #endif #endif - diff --git a/common/rop3.h b/common/rop3.h index 3307649f..91c9207e 100644 --- a/common/rop3.h +++ b/common/rop3.h @@ -40,4 +40,3 @@ void rop3_init(void); #endif #endif - diff --git a/python_modules/Makefile.am b/python_modules/Makefile.am index f304ec0f..7d416dfc 100644 --- a/python_modules/Makefile.am +++ b/python_modules/Makefile.am @@ -3,4 +3,3 @@ NULL = PYTHON_MODULES = __init__.py codegen.py demarshal.py marshal.py ptypes.py spice_parser.py EXTRA_DIST = $(PYTHON_MODULES) - diff --git a/python_modules/spice_parser.py b/python_modules/spice_parser.py index e20e8fc1..d0aabb09 100644 --- a/python_modules/spice_parser.py +++ b/python_modules/spice_parser.py @@ -159,4 +159,3 @@ def parse(filename): t.register() protocol = types[-1] return protocol - diff --git a/server/demarshallers.h b/server/demarshallers.h index 38e4e158..c3d770db 100644 --- a/server/demarshallers.h +++ b/server/demarshallers.h @@ -24,4 +24,3 @@ typedef uint8_t * (*spice_parse_channel_func_t)(uint8_t *message_start, uint8_t spice_parse_channel_func_t spice_get_client_channel_parser(uint32_t channel, unsigned int *max_message_type); #endif - diff --git a/server/glz_encode_tmpl.c b/server/glz_encode_tmpl.c index d5144215..41edb1b7 100644 --- a/server/glz_encode_tmpl.c +++ b/server/glz_encode_tmpl.c @@ -572,4 +572,3 @@ static void FNAME(compress)(Encoder *encoder) #undef LZ_RGB32 #undef MIN_REF_ENCODE_SIZE #undef MAX_REF_ENCODE_SIZE - diff --git a/server/glz_encoder.c b/server/glz_encoder.c index 8d20807f..1ec1f9bd 100644 --- a/server/glz_encoder.c +++ b/server/glz_encoder.c @@ -308,4 +308,3 @@ int glz_encode(GlzEncoderContext *opaque_encoder, return encoder->io.bytes_count; } - diff --git a/server/glz_encoder.h b/server/glz_encoder.h index 6c4d2b38..9b4f9108 100644 --- a/server/glz_encoder.h +++ b/server/glz_encoder.h @@ -53,4 +53,3 @@ int glz_encode(GlzEncoderContext *opaque_encoder, LzImageType type, int width, i #endif // _H_GLZ_ENCODER - diff --git a/server/glz_encoder_config.h b/server/glz_encoder_config.h index 791d4fc4..2d1626a7 100644 --- a/server/glz_encoder_config.h +++ b/server/glz_encoder_config.h @@ -59,4 +59,3 @@ struct GlzEncoderUsrContext { #endif - diff --git a/server/glz_encoder_dictionary.c b/server/glz_encoder_dictionary.c index 7cadc492..efe6cb88 100644 --- a/server/glz_encoder_dictionary.c +++ b/server/glz_encoder_dictionary.c @@ -631,4 +631,3 @@ void glz_dictionary_post_encode(uint32_t encoder_id, GlzEncoderUsrContext *usr, dict->window.encoders_heads[encoder_id] = NULL_IMAGE_SEG_ID; pthread_mutex_unlock(&dict->lock); } - diff --git a/server/glz_encoder_dictionary.h b/server/glz_encoder_dictionary.h index a85db6e8..eb57aa54 100644 --- a/server/glz_encoder_dictionary.h +++ b/server/glz_encoder_dictionary.h @@ -67,4 +67,3 @@ void glz_enc_dictionary_remove_image(GlzEncDictContext *opaque_dict, GlzEncDictImageContext *image, GlzEncoderUsrContext *usr); #endif // _H_GLZ_ENCODER_DICTIONARY - diff --git a/server/glz_encoder_dictionary_protected.h b/server/glz_encoder_dictionary_protected.h index a594c5fa..ae7fdc20 100644 --- a/server/glz_encoder_dictionary_protected.h +++ b/server/glz_encoder_dictionary_protected.h @@ -184,4 +184,3 @@ void glz_dictionary_post_encode(uint32_t encoder_id, GlzEncoderUsrContext *usr, ref_seg->pixels_so_far))) #endif // _H_GLZ_ENCODER_DICTIONARY_PROTECTED - diff --git a/server/inputs_channel.c b/server/inputs_channel.c index 4fe36b8e..83c2cad9 100644 --- a/server/inputs_channel.c +++ b/server/inputs_channel.c @@ -570,4 +570,3 @@ void inputs_init(void) red_error("key modifiers timer create failed"); } } - diff --git a/server/inputs_channel.h b/server/inputs_channel.h index 39d244b9..672ca83a 100644 --- a/server/inputs_channel.h +++ b/server/inputs_channel.h @@ -36,4 +36,3 @@ void inputs_detach_tablet(SpiceTabletInstance *_tablet); void inputs_set_tablet_logical_size(int x_res, int y_res); #endif - diff --git a/server/main_channel.c b/server/main_channel.c index b55bf002..c4b27523 100644 --- a/server/main_channel.c +++ b/server/main_channel.c @@ -1113,4 +1113,3 @@ int main_channel_migrate_complete(MainChannel *main_chan, int success) } return semi_seamless_count; } - diff --git a/server/red_bitmap_utils.h b/server/red_bitmap_utils.h index 1f26eb4a..6d508a7c 100644 --- a/server/red_bitmap_utils.h +++ b/server/red_bitmap_utils.h @@ -159,4 +159,3 @@ static void FNAME(compute_lines_gradual_score)(PIXEL *lines, int width, int num_ #undef CONTRAST_TH #undef SAME_PIXEL_WEIGHT #undef NOT_CONTRAST_PIXELS_WEIGHT - diff --git a/server/red_common.h b/server/red_common.h index 494ffed2..86be95dd 100644 --- a/server/red_common.h +++ b/server/red_common.h @@ -35,4 +35,3 @@ enum { }; #endif - diff --git a/server/red_parse_qxl.c b/server/red_parse_qxl.c index 256e8e9b..201e683e 100644 --- a/server/red_parse_qxl.c +++ b/server/red_parse_qxl.c @@ -1110,4 +1110,3 @@ void red_put_cursor_cmd(RedCursorCmd *red) break; } } - diff --git a/server/red_tunnel_worker.c b/server/red_tunnel_worker.c index 429f7372..c2019dd0 100644 --- a/server/red_tunnel_worker.c +++ b/server/red_tunnel_worker.c @@ -3505,4 +3505,3 @@ static void red_tunnel_channel_create(TunnelWorker *worker) red_channel_set_data(channel, worker); reds_register_channel(worker->channel); } - diff --git a/server/red_worker.h b/server/red_worker.h index 08c7b223..1f63d01f 100644 --- a/server/red_worker.h +++ b/server/red_worker.h @@ -165,4 +165,3 @@ static inline void read_message(int fd, RedWorkerMessage *message) } #endif - diff --git a/server/reds.h b/server/reds.h index 450825de..2a4e3513 100644 --- a/server/reds.h +++ b/server/reds.h @@ -149,4 +149,3 @@ void reds_on_main_receive_migrate_data(MainMigrateData *data, uint8_t *end); void reds_on_main_mouse_mode_request(void *message, size_t size); void reds_on_client_migrate_complete(RedClient *client); #endif - diff --git a/server/smartcard.h b/server/smartcard.h index e7fa4572..60cc2c6c 100644 --- a/server/smartcard.h +++ b/server/smartcard.h @@ -30,4 +30,3 @@ int smartcard_device_connect(SpiceCharDeviceInstance *char_device); void smartcard_device_disconnect(SpiceCharDeviceInstance *char_device); #endif // __SMART_CARD_H__ - diff --git a/server/snd_worker.c b/server/snd_worker.c index 5d580778..0527009e 100644 --- a/server/snd_worker.c +++ b/server/snd_worker.c @@ -1562,4 +1562,3 @@ int snd_get_playback_compression(void) { return (playback_compression == SPICE_AUDIO_DATA_MODE_RAW) ? FALSE : TRUE; } - diff --git a/server/snd_worker.h b/server/snd_worker.h index 7659cb23..1811a610 100644 --- a/server/snd_worker.h +++ b/server/snd_worker.h @@ -30,4 +30,3 @@ void snd_set_playback_compression(int on); int snd_get_playback_compression(void); #endif - diff --git a/server/spice-experimental.h b/server/spice-experimental.h index 6997aa03..f16d555f 100644 --- a/server/spice-experimental.h +++ b/server/spice-experimental.h @@ -38,4 +38,3 @@ enum { int spice_server_migrate_client_state(SpiceServer *s); #endif // __SPICE_EXPERIMENTAL_H__ - diff --git a/server/stat.h b/server/stat.h index bdafd917..d5c18781 100644 --- a/server/stat.h +++ b/server/stat.h @@ -45,4 +45,3 @@ void stat_remove_counter(uint64_t *counter); #endif #endif - diff --git a/server/tests/README b/server/tests/README index 477ca0ce..8818830f 100644 --- a/server/tests/README +++ b/server/tests/README @@ -21,4 +21,3 @@ test_fail_on_null_core_interface basic_event_loop.c used by test_just_sockets_no_ssl, can be used by other tests. very crude event loop. Should probably use libevent for better tests, but this is self contained. - diff --git a/server/tests/basic_event_loop.c b/server/tests/basic_event_loop.c index e0cc06e6..41795f10 100644 --- a/server/tests/basic_event_loop.c +++ b/server/tests/basic_event_loop.c @@ -281,4 +281,3 @@ SpiceCoreInterface *basic_event_loop_init(void) ignore_sigpipe(); return &core; } - diff --git a/server/tests/test_display_base.c b/server/tests/test_display_base.c index 579ef1e4..b31e6fba 100644 --- a/server/tests/test_display_base.c +++ b/server/tests/test_display_base.c @@ -574,4 +574,3 @@ SpiceServer* test_init(SpiceCoreInterface *core) wakeup_timer = core->timer_add(do_wakeup, NULL); return server; } - diff --git a/server/tests/test_display_no_ssl.c b/server/tests/test_display_no_ssl.c index 1eb83b37..3877c8d8 100644 --- a/server/tests/test_display_no_ssl.c +++ b/server/tests/test_display_no_ssl.c @@ -50,4 +50,3 @@ int main(void) return 0; } - diff --git a/server/tests/test_display_streaming.c b/server/tests/test_display_streaming.c index b4025254..e7d5156a 100644 --- a/server/tests/test_display_streaming.c +++ b/server/tests/test_display_streaming.c @@ -24,4 +24,3 @@ int main(void) basic_event_loop_mainloop(); return 0; } - diff --git a/server/tests/test_empty_success.c b/server/tests/test_empty_success.c index 3641eb76..a4f49c7a 100644 --- a/server/tests/test_empty_success.c +++ b/server/tests/test_empty_success.c @@ -57,4 +57,3 @@ int main(void) return 0; } - diff --git a/server/tests/test_fail_on_null_core_interface.c b/server/tests/test_fail_on_null_core_interface.c index 6490a6a7..105dd639 100644 --- a/server/tests/test_fail_on_null_core_interface.c +++ b/server/tests/test_fail_on_null_core_interface.c @@ -10,4 +10,3 @@ int main(void) return 0; } - diff --git a/server/tests/test_just_sockets_no_ssl.c b/server/tests/test_just_sockets_no_ssl.c index afa3558b..e105b1ce 100644 --- a/server/tests/test_just_sockets_no_ssl.c +++ b/server/tests/test_just_sockets_no_ssl.c @@ -16,4 +16,3 @@ int main(void) return 0; } - diff --git a/tools/bitmap_to_c.c b/tools/bitmap_to_c.c index cafcc59b..7e9b303f 100644 --- a/tools/bitmap_to_c.c +++ b/tools/bitmap_to_c.c @@ -392,4 +392,3 @@ int main(int argc, char **argv) } return pixmap_to_c_struct(pixmap, dest, struct_name, alpha_convertion); } - diff --git a/tools/icon_to_c.c b/tools/icon_to_c.c index 8a88fffb..0957c2b0 100644 --- a/tools/icon_to_c.c +++ b/tools/icon_to_c.c @@ -374,4 +374,3 @@ int main(int argc, char **argv) return icon_to_c_struct(icon, dest, struct_name); } - diff --git a/tools/reds_stat.c b/tools/reds_stat.c index 09b0d09f..3ff13c8f 100644 --- a/tools/reds_stat.c +++ b/tools/reds_stat.c @@ -129,4 +129,3 @@ error1: free(shm_name); return ret; } - -- cgit