weston-debug: Rename weston-debug to weston-log to better reflect its purpose

No changes in functionality have been made.

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
dev
Marius Vlad 6 years ago
parent 967a6c2d4e
commit c901e8913e
  1. 2
      compositor/main.c
  2. 2
      compositor/weston-screenshooter.c
  3. 2
      include/libweston/meson.build
  4. 6
      include/libweston/weston-log.h
  5. 2
      libweston/backend-drm/drm-internal.h
  6. 2
      libweston/backend-drm/drm.c
  7. 2
      libweston/compositor.c
  8. 2
      libweston/content-protection.c
  9. 2
      libweston/meson.build
  10. 2
      libweston/weston-log-wayland.c
  11. 2
      libweston/weston-log.c
  12. 2
      xwayland/xwayland.h

@ -62,7 +62,7 @@
#include <libweston/backend-x11.h> #include <libweston/backend-x11.h>
#include <libweston/backend-wayland.h> #include <libweston/backend-wayland.h>
#include <libweston/windowed-output-api.h> #include <libweston/windowed-output-api.h>
#include <libweston/weston-debug.h> #include <libweston/weston-log.h>
#include "../remoting/remoting-plugin.h" #include "../remoting/remoting-plugin.h"
#define WINDOW_TITLE "Weston Compositor" #define WINDOW_TITLE "Weston Compositor"

@ -32,7 +32,7 @@
#include "weston.h" #include "weston.h"
#include "weston-screenshooter-server-protocol.h" #include "weston-screenshooter-server-protocol.h"
#include "shared/helpers.h" #include "shared/helpers.h"
#include <libweston/weston-debug.h> #include <libweston/weston-log.h>
struct screenshooter { struct screenshooter {
struct weston_compositor *ec; struct weston_compositor *ec;

@ -5,7 +5,7 @@ install_headers(
'plugin-registry.h', 'plugin-registry.h',
'timeline-object.h', 'timeline-object.h',
'windowed-output-api.h', 'windowed-output-api.h',
'weston-debug.h', 'weston-log.h',
'zalloc.h', 'zalloc.h',
subdir: dir_include_libweston_install subdir: dir_include_libweston_install
) )

@ -23,8 +23,8 @@
* SOFTWARE. * SOFTWARE.
*/ */
#ifndef WESTON_DEBUG_H #ifndef WESTON_LOG_H
#define WESTON_DEBUG_H #define WESTON_LOG_H
#include <stdbool.h> #include <stdbool.h>
#include <stdlib.h> #include <stdlib.h>
@ -94,4 +94,4 @@ weston_log_scope_timestamp(struct weston_log_scope *scope,
} }
#endif #endif
#endif /* WESTON_DEBUG_H */ #endif /* WESTON_LOG_H */

@ -52,7 +52,7 @@
#include <libweston/libweston.h> #include <libweston/libweston.h>
#include <libweston/backend-drm.h> #include <libweston/backend-drm.h>
#include <libweston/weston-debug.h> #include <libweston/weston-log.h>
#include "shared/helpers.h" #include "shared/helpers.h"
#include "libinput-seat.h" #include "libinput-seat.h"
#include "backend.h" #include "backend.h"

@ -51,7 +51,7 @@
#include <libweston/libweston.h> #include <libweston/libweston.h>
#include <libweston/backend-drm.h> #include <libweston/backend-drm.h>
#include <libweston/weston-debug.h> #include <libweston/weston-log.h>
#include "drm-internal.h" #include "drm-internal.h"
#include "shared/helpers.h" #include "shared/helpers.h"
#include "shared/timespec-util.h" #include "shared/timespec-util.h"

@ -56,7 +56,7 @@
#include "timeline.h" #include "timeline.h"
#include <libweston/libweston.h> #include <libweston/libweston.h>
#include <libweston/weston-debug.h> #include <libweston/weston-log.h>
#include "linux-dmabuf.h" #include "linux-dmabuf.h"
#include "viewporter-server-protocol.h" #include "viewporter-server-protocol.h"
#include "presentation-time-server-protocol.h" #include "presentation-time-server-protocol.h"

@ -31,7 +31,7 @@
#include <unistd.h> #include <unistd.h>
#include <string.h> #include <string.h>
#include <libweston/libweston.h> #include <libweston/libweston.h>
#include <libweston/weston-debug.h> #include <libweston/weston-log.h>
#include "compositor/weston.h" #include "compositor/weston.h"
#include "weston-content-protection-server-protocol.h" #include "weston-content-protection-server-protocol.h"
#include "shared/helpers.h" #include "shared/helpers.h"

@ -27,7 +27,7 @@ srcs_libweston = [
'timeline.c', 'timeline.c',
'touch-calibration.c', 'touch-calibration.c',
'weston-log-wayland.c', 'weston-log-wayland.c',
'weston-debug.c', 'weston-log.c',
'zoom.c', 'zoom.c',
'../shared/matrix.c', '../shared/matrix.c',
linux_dmabuf_unstable_v1_protocol_c, linux_dmabuf_unstable_v1_protocol_c,

@ -25,7 +25,7 @@
#include "config.h" #include "config.h"
#include <libweston/weston-debug.h> #include <libweston/weston-log.h>
#include "helpers.h" #include "helpers.h"
#include <libweston/libweston.h> #include <libweston/libweston.h>

@ -26,7 +26,7 @@
#include "config.h" #include "config.h"
#include <libweston/weston-debug.h> #include <libweston/weston-log.h>
#include "helpers.h" #include "helpers.h"
#include <libweston/libweston.h> #include <libweston/libweston.h>

@ -33,7 +33,7 @@
#include <libweston/libweston.h> #include <libweston/libweston.h>
#include "compositor/weston.h" #include "compositor/weston.h"
#include <libweston/xwayland-api.h> #include <libweston/xwayland-api.h>
#include <libweston/weston-debug.h> #include <libweston/weston-log.h>
#define SEND_EVENT_MASK (0x80) #define SEND_EVENT_MASK (0x80)
#define EVENT_TYPE(event) ((event)->response_type & ~SEND_EVENT_MASK) #define EVENT_TYPE(event) ((event)->response_type & ~SEND_EVENT_MASK)

Loading…
Cancel
Save