qemu/ui
Markus Armbruster c29b77f955 error: Use error_reportf_err() where it makes obvious sense
Done with this Coccinelle semantic patch

    @@
    expression FMT, E, S;
    expression list ARGS;
    @@
    -    error_report(FMT, ARGS, error_get_pretty(E));
    +    error_reportf_err(E, FMT/*@@@*/, ARGS);
    (
    -    error_free(E);
    |
	 exit(S);
    |
	 abort();
    )

followed by a replace of '%s"/*@@@*/' by '"' and some line rewrapping,
because I can't figure out how to make Coccinelle transform strings.

We now use the error whole instead of just its message obtained with
error_get_pretty().  This avoids suppressing its hint (see commit
50b7b00), but I can't see how the errors touched in this commit could
come with hints.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <1450452927-8346-12-git-send-email-armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
2016-01-13 15:16:17 +01:00
..
shader
cocoa.m qapi: Change munging of CamelCase enum values 2015-12-17 08:21:28 +01:00
console-gl.c
console.c ui/curses: Fix color attribute of monitor for curses 2016-01-08 12:20:07 +01:00
curses_keys.h ui/curses: Fix pageup/pagedown on -curses 2015-11-03 10:12:46 +01:00
curses.c ui/curses: Fix color attribute of monitor for curses 2016-01-08 12:20:07 +01:00
cursor_hidden.xpm
cursor_left_ptr.xpm
cursor.c
egl-context.c
egl-helpers.c
gtk-egl.c
gtk-gl-area.c
gtk.c qapi: Change munging of CamelCase enum values 2015-12-17 08:21:28 +01:00
input-keymap.c qapi: Don't let implicit enum MAX member collide 2015-12-17 08:21:28 +01:00
input-legacy.c qapi: Change munging of CamelCase enum values 2015-12-17 08:21:28 +01:00
input.c qapi: Don't let implicit enum MAX member collide 2015-12-17 08:21:28 +01:00
keymaps.c ui: Use g_new() & friends where that makes obvious sense 2015-11-06 15:42:38 +03:00
keymaps.h
Makefile.objs
qemu-pixman.c
qemu-x509.h
sdl2-2d.c
sdl2-gl.c sdl2/opengl: add opengl context and scanout support 2016-01-08 12:20:15 +01:00
sdl2-input.c
sdl2-keymap.h
sdl2.c sdl2/opengl: add opengl context and scanout support 2016-01-08 12:20:15 +01:00
sdl_keysym.h
sdl_zoom_template.h
sdl_zoom.c
sdl_zoom.h
sdl.c qapi: Change munging of CamelCase enum values 2015-12-17 08:21:28 +01:00
shader.c
spice-core.c
spice-display.c
spice-input.c qapi: Change munging of CamelCase enum values 2015-12-17 08:21:28 +01:00
vgafont.h
vnc_keysym.h
vnc-auth-sasl.c ui: convert VNC server to use QIOChannelSocket 2015-12-18 15:02:11 +00:00
vnc-auth-sasl.h
vnc-auth-vencrypt.c ui: convert VNC server to use QIOChannelTLS 2015-12-18 15:02:11 +00:00
vnc-auth-vencrypt.h
vnc-enc-hextile-template.h
vnc-enc-hextile.c
vnc-enc-tight.c
vnc-enc-tight.h
vnc-enc-zlib.c
vnc-enc-zrle-template.c
vnc-enc-zrle.c
vnc-enc-zrle.h
vnc-enc-zywrle-template.c
vnc-enc-zywrle.h
vnc-jobs.c ui: convert VNC server to use QIOChannelSocket 2015-12-18 15:02:11 +00:00
vnc-jobs.h
vnc-palette.c
vnc-palette.h
vnc-ws.c ui: convert VNC server to use QIOChannelWebsock 2015-12-18 15:02:11 +00:00
vnc-ws.h ui: convert VNC server to use QIOChannelWebsock 2015-12-18 15:02:11 +00:00
vnc.c error: Use error_reportf_err() where it makes obvious sense 2016-01-13 15:16:17 +01:00
vnc.h ui: convert VNC server to use QIOChannelWebsock 2015-12-18 15:02:11 +00:00
x_keymap.c
x_keymap.h