1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-10-06 01:27:44 +03:00

include headers cleanup

This commit is contained in:
Adrià Arrufat 2024-08-16 08:49:19 +09:00
parent 575f49f1b4
commit 64ed046e5a
46 changed files with 15 additions and 59 deletions

View File

@ -1,7 +1,6 @@
#include "alias_registry.hh"
#include "command_manager.hh"
#include "ranges.hh"
namespace Kakoune
{

View File

@ -8,7 +8,6 @@
#include <sys/types.h>
#include <unistd.h>
#include <signal.h>
namespace Kakoune
{

View File

@ -1,7 +1,6 @@
#include "backtrace.hh"
#include "string.hh"
#include "format.hh"
#if defined(__GLIBC__) || defined(__APPLE__)
# include <execinfo.h>

View File

@ -2,7 +2,6 @@
#include "face_registry.hh"
#include "context.hh"
#include "buffer_manager.hh"
#include "buffer_utils.hh"
#include "debug.hh"
#include "file.hh"

View File

@ -2,7 +2,6 @@
#include "buffer_manager.hh"
#include "command_manager.hh"
#include "event_manager.hh"
#include "face_registry.hh"
#include "file.hh"
#include "ranges.hh"

View File

@ -1,7 +1,6 @@
#ifndef command_manager_hh_INCLUDED
#define command_manager_hh_INCLUDED
#include "coord.hh"
#include "completion.hh"
#include "array_view.hh"
#include "shell_manager.hh"
@ -12,7 +11,6 @@
#include "hash_map.hh"
#include <functional>
#include <initializer_list>
namespace Kakoune
{

View File

@ -32,7 +32,6 @@
#include "user_interface.hh"
#include "window.hh"
#include <functional>
#include <utility>
#include <sys/types.h>

View File

@ -1,7 +1,6 @@
#ifndef completion_hh_INCLUDED
#define completion_hh_INCLUDED
#include <functional>
#include <algorithm>
#include "units.hh"

View File

@ -4,7 +4,6 @@
#include "selection.hh"
#include "optional.hh"
#include "utils.hh"
#include "flags.hh"
#include <functional>

View File

@ -3,7 +3,6 @@
#include "constexpr_utils.hh"
#include "enum.hh"
#include "flags.hh"
namespace Kakoune
{

View File

@ -2,7 +2,6 @@
#include "assert.hh"
#include "buffer.hh"
#include "buffer_utils.hh"
#include "face_registry.hh"
#include "utf8.hh"

View File

@ -2,7 +2,6 @@
#define face_registry_hh_INCLUDED
#include "face.hh"
#include "utils.hh"
#include "hash_map.hh"
#include "ranges.hh"
#include "string.hh"

View File

@ -4,12 +4,10 @@
#include "buffer.hh"
#include "exception.hh"
#include "flags.hh"
#include "option_types.hh"
#include "event_manager.hh"
#include "ranked_match.hh"
#include "regex.hh"
#include "string.hh"
#include "unicode.hh"
#include <limits>
#include <cerrno>

View File

@ -1,6 +1,7 @@
#include "highlighter.hh"
#include "debug.hh"
#include "flags.hh"
namespace Kakoune
{

View File

@ -3,8 +3,6 @@
#include "coord.hh"
#include "completion.hh"
#include "exception.hh"
#include "flags.hh"
#include "range.hh"
#include "hash_map.hh"
#include "array_view.hh"

View File

@ -1,7 +1,9 @@
#include "highlighter_group.hh"
#include "ranges.hh"
#include "flags.hh"
#include "format.hh"
#include "ranges.hh"
namespace Kakoune
{

View File

@ -6,7 +6,6 @@
#include "changes.hh"
#include "command_manager.hh"
#include "context.hh"
#include "clock.hh"
#include "display_buffer.hh"
#include "face_registry.hh"
#include "highlighter_group.hh"

View File

@ -1,7 +1,6 @@
#include "hook_manager.hh"
#include "debug.hh"
#include "clock.hh"
#include "command_manager.hh"
#include "context.hh"
#include "display_buffer.hh"

View File

@ -1,7 +1,6 @@
#ifndef hook_manager_hh_INCLUDED
#define hook_manager_hh_INCLUDED
#include "hash_map.hh"
#include "completion.hh"
#include "safe_ptr.hh"
#include "meta.hh"

View File

@ -1,6 +1,6 @@
#include "input_handler.hh"
#include "buffer_manager.hh"
#include "buffer.hh"
#include "debug.hh"
#include "command_manager.hh"
#include "client.hh"
@ -11,9 +11,7 @@
#include "option_types.hh"
#include "regex.hh"
#include "register_manager.hh"
#include "hash_map.hh"
#include "user_interface.hh"
#include "utf8.hh"
#include "window.hh"
#include "word_db.hh"

View File

@ -17,7 +17,6 @@
#include "utf8_iterator.hh"
#include "user_interface.hh"
#include <numeric>
#include <utility>
namespace Kakoune

View File

@ -1,13 +1,10 @@
#include "keymap_manager.hh"
#include "array_view.hh"
#include "assert.hh"
#include "exception.hh"
#include "format.hh"
#include "ranges.hh"
#include <algorithm>
namespace Kakoune
{

View File

@ -1,12 +1,9 @@
#ifndef keymap_manager_hh_INCLUDED
#define keymap_manager_hh_INCLUDED
#include "array_view.hh"
#include "keys.hh"
#include "hash.hh"
#include "string.hh"
#include "hash_map.hh"
#include "utils.hh"
#include "vector.hh"
namespace Kakoune

View File

@ -5,7 +5,6 @@
#include "string.hh"
#include "unit_tests.hh"
#include "utf8_iterator.hh"
#include "utils.hh"
#include "format.hh"
#include "string_utils.hh"

View File

@ -17,7 +17,6 @@
#include "terminal_ui.hh"
#include "option_types.hh"
#include "parameters_parser.hh"
#include "profile.hh"
#include "ranges.hh"
#include "regex.hh"
#include "register_manager.hh"
@ -26,9 +25,7 @@
#include "shared_string.hh"
#include "shell_manager.hh"
#include "string.hh"
#include "unit_tests.hh"
#include "window.hh"
#include "clock.hh"
#include <fcntl.h>
#include <locale.h>

View File

@ -3,7 +3,6 @@
#include <cstddef>
#include <new>
#include <utility>
#include "assert.hh"
#include "meta.hh"

View File

@ -4,9 +4,7 @@
#include "buffer_manager.hh"
#include "buffer_utils.hh"
#include "changes.hh"
#include "client_manager.hh"
#include "command_manager.hh"
#include "commands.hh"
#include "context.hh"
#include "diff.hh"
#include "enum.hh"

View File

@ -1,10 +1,10 @@
#ifndef option_hh_INCLUDED
#define option_hh_INCLUDED
#include "enum.hh"
#include "exception.hh"
#include "meta.hh"
#include "string.hh"
#include "vector.hh"
#include "constexpr_utils.hh"
namespace Kakoune
{

View File

@ -5,8 +5,8 @@
#include "exception.hh"
#include "hash_map.hh"
#include "option.hh"
#include "option_types.hh"
#include "ranges.hh"
#include "utils.hh"
#include "vector.hh"
#include "format.hh"
#include "string_utils.hh"

View File

@ -6,7 +6,6 @@
#include "meta.hh"
#include "array_view.hh"
#include "optional.hh"
#include "flags.hh"
#include "string.hh"
#include "format.hh"

View File

@ -1,8 +1,9 @@
#ifndef profile_hh_INCLUDED
#define profile_hh_INCLUDED
#include "option.hh"
#include "clock.hh"
#include "context.hh"
#include "debug.hh"
#include "option_manager.hh"
namespace Kakoune

View File

@ -1,6 +1,8 @@
#ifndef range_hh_INCLUDED
#define range_hh_INCLUDED
#include <cstddef>
namespace Kakoune
{

View File

@ -1,6 +1,5 @@
#include "regex_impl.hh"
#include "exception.hh"
#include "string.hh"
#include "unicode.hh"
#include "unit_tests.hh"

View File

@ -3,7 +3,6 @@
// #define SAFE_PTR_TRACK_CALLSTACKS
#include "assert.hh"
#include "ref_ptr.hh"
#ifdef SAFE_PTR_TRACK_CALLSTACKS

View File

@ -2,7 +2,6 @@
#include "buffer_utils.hh"
#include "changes.hh"
#include "utf8.hh"
namespace Kakoune
{

View File

@ -6,7 +6,6 @@
#include "utils.hh"
#include "hash_map.hh"
#include <numeric>
#include <cstring>
namespace Kakoune

View File

@ -4,8 +4,6 @@
#include "utf8_iterator.hh"
#include "unit_tests.hh"
#include <charconv>
namespace Kakoune
{

View File

@ -5,7 +5,6 @@
#include "enum.hh"
#include "vector.hh"
#include "optional.hh"
#include "utils.hh"
#include "format.hh"
#include "ranges.hh"

View File

@ -1,6 +1,5 @@
#include "terminal_ui.hh"
#include "buffer_utils.hh"
#include "display_buffer.hh"
#include "event_manager.hh"
#include "exception.hh"
@ -9,6 +8,7 @@
#include "ranges.hh"
#include "format.hh"
#include "diff.hh"
#include "string_utils.hh"
#include <algorithm>

View File

@ -6,7 +6,6 @@
#include "display_buffer.hh"
#include "event_manager.hh"
#include "face.hh"
#include "hash_map.hh"
#include "optional.hh"
#include "string.hh"
#include "user_interface.hh"

View File

@ -1,6 +1,8 @@
#ifndef fd_hh_INCLUDED
#define fd_hh_INCLUDED
#include <utility>
namespace Kakoune
{

View File

@ -5,7 +5,6 @@
#include "hash.hh"
#include <type_traits>
#include <compare>
namespace Kakoune
{

View File

@ -6,8 +6,6 @@
#include "units.hh"
#include "optional.hh"
#include <cstddef>
namespace Kakoune
{

View File

@ -2,7 +2,6 @@
#define value_hh_INCLUDED
#include "hash_map.hh"
#include "units.hh"
#include "meta.hh"
#include <type_traits>

View File

@ -3,7 +3,6 @@
#include "assert.hh"
#include "buffer.hh"
#include "buffer_utils.hh"
#include "clock.hh"
#include "context.hh"
#include "highlighter.hh"
#include "hook_manager.hh"

View File

@ -2,9 +2,7 @@
#include "buffer.hh"
#include "line_modification.hh"
#include "option_types.hh"
#include "unit_tests.hh"
#include "utils.hh"
#include "value.hh"
namespace Kakoune