[aseprite] 17/196: Include base/debug.h on files that use ASSERT or TRACE
Tobias Hansen
thansen at moszumanska.debian.org
Wed Apr 20 18:49:56 UTC 2016
This is an automated email from the git hooks/post-receive script.
thansen pushed a commit to branch master
in repository aseprite.
commit 4f6a7a77423f8ecdee8324b818ef3e1285e5fd7c
Author: David Capello <davidcapello at gmail.com>
Date: Thu Mar 3 19:17:07 2016 -0300
Include base/debug.h on files that use ASSERT or TRACE
---
src/base/log.cpp | 1 +
src/base/observers.h | 4 +++-
src/doc/blend_funcs.cpp | 3 ++-
src/doc/color_scales.h | 3 ++-
src/doc/context.cpp | 3 ++-
src/doc/frame_tag.cpp | 3 ++-
src/doc/frame_tags.cpp | 3 ++-
src/doc/object.cpp | 3 ++-
src/doc/palette.h | 3 ++-
src/doc/remap.h | 3 ++-
src/doc/rgbmap.h | 3 ++-
src/net/http_request.cpp | 3 ++-
src/pen/pen_win.h | 1 +
src/render/zoom.cpp | 1 +
src/she/common/font.h | 3 ++-
src/ui/accelerator.cpp | 1 +
src/ui/cursor.cpp | 3 ++-
src/updater/check_update.cpp | 3 ++-
18 files changed, 33 insertions(+), 14 deletions(-)
diff --git a/src/base/log.cpp b/src/base/log.cpp
index 7f4e837..674af4b 100644
--- a/src/base/log.cpp
+++ b/src/base/log.cpp
@@ -10,6 +10,7 @@
#include "base/log.h"
+#include "base/debug.h"
#include "base/fstream_path.h"
#include <cstdarg>
diff --git a/src/base/observers.h b/src/base/observers.h
index 57194d1..00d2279 100644
--- a/src/base/observers.h
+++ b/src/base/observers.h
@@ -1,5 +1,5 @@
// Aseprite Base Library
-// Copyright (c) 2001-2015 David Capello
+// Copyright (c) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
@@ -8,6 +8,8 @@
#define BASE_OBSERVERS_H_INCLUDED
#pragma once
+#include "base/debug.h"
+
#include <algorithm>
#include <vector>
diff --git a/src/doc/blend_funcs.cpp b/src/doc/blend_funcs.cpp
index 5f5aa6c..578a822 100644
--- a/src/doc/blend_funcs.cpp
+++ b/src/doc/blend_funcs.cpp
@@ -1,5 +1,5 @@
// Aseprite Document Library
-// Copyright (c) 2001-2015 David Capello
+// Copyright (c) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
@@ -18,6 +18,7 @@
#include "doc/blend_funcs.h"
+#include "base/debug.h"
#include "doc/blend_internals.h"
#include <cmath>
diff --git a/src/doc/color_scales.h b/src/doc/color_scales.h
index aa52d43..55d8892 100644
--- a/src/doc/color_scales.h
+++ b/src/doc/color_scales.h
@@ -1,5 +1,5 @@
// Aseprite Document Library
-// Copyright (c) 2001-2015 David Capello
+// Copyright (c) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
@@ -8,6 +8,7 @@
#define DOC_COLOR_SCALES_H_INCLUDED
#pragma once
+#include "base/debug.h"
#include "doc/frame.h"
#include "doc/object.h"
diff --git a/src/doc/context.cpp b/src/doc/context.cpp
index 4935b3f..8f52372 100644
--- a/src/doc/context.cpp
+++ b/src/doc/context.cpp
@@ -1,5 +1,5 @@
// Aseprite Document Library
-// Copyright (c) 2001-2015 David Capello
+// Copyright (c) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
@@ -10,6 +10,7 @@
#include "doc/context.h"
+#include "base/debug.h"
#include "doc/site.h"
namespace doc {
diff --git a/src/doc/frame_tag.cpp b/src/doc/frame_tag.cpp
index 0434f33..9437496 100644
--- a/src/doc/frame_tag.cpp
+++ b/src/doc/frame_tag.cpp
@@ -1,5 +1,5 @@
// Aseprite Document Library
-// Copyright (c) 2001-2015 David Capello
+// Copyright (c) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
@@ -10,6 +10,7 @@
#include "doc/frame_tag.h"
+#include "base/debug.h"
#include "doc/frame_tags.h"
namespace doc {
diff --git a/src/doc/frame_tags.cpp b/src/doc/frame_tags.cpp
index 70e5cc0..f4a75f7 100644
--- a/src/doc/frame_tags.cpp
+++ b/src/doc/frame_tags.cpp
@@ -1,5 +1,5 @@
// Aseprite Document Library
-// Copyright (c) 2001-2015 David Capello
+// Copyright (c) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
@@ -10,6 +10,7 @@
#include "doc/frame_tags.h"
+#include "base/debug.h"
#include "doc/frame_tag.h"
#include <algorithm>
diff --git a/src/doc/object.cpp b/src/doc/object.cpp
index 5189367..cd3909e 100644
--- a/src/doc/object.cpp
+++ b/src/doc/object.cpp
@@ -1,5 +1,5 @@
// Aseprite Document Library
-// Copyright (c) 2001-2015 David Capello
+// Copyright (c) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
@@ -10,6 +10,7 @@
#include "doc/object.h"
+#include "base/debug.h"
#include "base/mutex.h"
#include "base/scoped_lock.h"
diff --git a/src/doc/palette.h b/src/doc/palette.h
index d359669..dda0a27 100644
--- a/src/doc/palette.h
+++ b/src/doc/palette.h
@@ -1,5 +1,5 @@
// Aseprite Document Library
-// Copyright (c) 2001-2015 David Capello
+// Copyright (c) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
@@ -8,6 +8,7 @@
#define DOC_PALETTE_H_INCLUDED
#pragma once
+#include "base/debug.h"
#include "doc/color.h"
#include "doc/frame.h"
#include "doc/object.h"
diff --git a/src/doc/remap.h b/src/doc/remap.h
index e7831f1..5b9a6f1 100644
--- a/src/doc/remap.h
+++ b/src/doc/remap.h
@@ -1,5 +1,5 @@
// Aseprite Document Library
-// Copyright (c) 2001-2015 David Capello
+// Copyright (c) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
@@ -8,6 +8,7 @@
#define DOC_REMAP_H_INCLUDED
#pragma once
+#include "base/debug.h"
#include <vector>
namespace doc {
diff --git a/src/doc/rgbmap.h b/src/doc/rgbmap.h
index 6fd5327..6fa7bcd 100644
--- a/src/doc/rgbmap.h
+++ b/src/doc/rgbmap.h
@@ -1,5 +1,5 @@
// Aseprite Document Library
-// Copyright (c) 2001-2015 David Capello
+// Copyright (c) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
@@ -8,6 +8,7 @@
#define DOC_RGBMAP_H_INCLUDED
#pragma once
+#include "base/debug.h"
#include "base/disable_copying.h"
#include "doc/object.h"
diff --git a/src/net/http_request.cpp b/src/net/http_request.cpp
index e9e5130..2252ea5 100644
--- a/src/net/http_request.cpp
+++ b/src/net/http_request.cpp
@@ -1,5 +1,5 @@
// Aseprite Network Library
-// Copyright (c) 2001-2015 David Capello
+// Copyright (c) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
@@ -10,6 +10,7 @@
#include "net/http_request.h"
+#include "base/debug.h"
#include "net/http_headers.h"
#include "net/http_response.h"
diff --git a/src/pen/pen_win.h b/src/pen/pen_win.h
index 8399b6a..4097167 100644
--- a/src/pen/pen_win.h
+++ b/src/pen/pen_win.h
@@ -4,6 +4,7 @@
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
+#include "base/debug.h"
#include "base/dll.h"
#include "base/fs.h"
#include "base/path.h"
diff --git a/src/render/zoom.cpp b/src/render/zoom.cpp
index 2e219a6..9b7a1f6 100644
--- a/src/render/zoom.cpp
+++ b/src/render/zoom.cpp
@@ -8,6 +8,7 @@
#include "config.h"
#endif
+#include "base/debug.h"
#include "render/zoom.h"
namespace render {
diff --git a/src/she/common/font.h b/src/she/common/font.h
index ca17b71..c7de30d 100644
--- a/src/she/common/font.h
+++ b/src/she/common/font.h
@@ -1,5 +1,5 @@
// SHE library
-// Copyright (C) 2012-2015 David Capello
+// Copyright (C) 2012-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
@@ -8,6 +8,7 @@
#define SHE_COMMON_FONT_H
#pragma once
+#include "base/debug.h"
#include "base/string.h"
#include "gfx/rect.h"
#include "she/font.h"
diff --git a/src/ui/accelerator.cpp b/src/ui/accelerator.cpp
index c7f01e2..fc4c6a4 100644
--- a/src/ui/accelerator.cpp
+++ b/src/ui/accelerator.cpp
@@ -10,6 +10,7 @@
#include "ui/accelerator.h"
+#include "base/debug.h"
#include "base/replace_string.h"
#include "base/split_string.h"
#include "base/string.h"
diff --git a/src/ui/cursor.cpp b/src/ui/cursor.cpp
index a98e860..67cad3a 100644
--- a/src/ui/cursor.cpp
+++ b/src/ui/cursor.cpp
@@ -1,5 +1,5 @@
// Aseprite UI Library
-// Copyright (C) 2001-2013 David Capello
+// Copyright (C) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
@@ -10,6 +10,7 @@
#include "ui/cursor.h"
+#include "base/debug.h"
#include "she/surface.h"
namespace ui {
diff --git a/src/updater/check_update.cpp b/src/updater/check_update.cpp
index c8907e6..c118e1a 100644
--- a/src/updater/check_update.cpp
+++ b/src/updater/check_update.cpp
@@ -1,5 +1,5 @@
// Aseprite
-// Copyright (C) 2001-2015 David Capello
+// Copyright (C) 2001-2016 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
@@ -12,6 +12,7 @@
#include "updater/check_update.h"
#include "base/bind.h"
+#include "base/debug.h"
#include "base/convert_to.h"
#include "net/http_headers.h"
#include "net/http_request.h"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/aseprite.git
More information about the Pkg-games-commits
mailing list