AK: Rename <AK/AKString.h> to <AK/String.h>

This was a workaround to be able to build on case-insensitive file
systems where it might get confused about <string.h> vs <String.h>.

Let's just not support building that way, so String.h can have an
objectively nicer name. :^)
This commit is contained in:
Andreas Kling 2019-09-06 15:34:26 +02:00
parent b4a2bb9383
commit 73fdbba59c
Notes: sideshowbarker 2024-07-19 12:15:20 +09:00
140 changed files with 147 additions and 147 deletions

View file

@ -1,6 +1,6 @@
#pragma once
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/ByteBuffer.h>
namespace AK {

View file

@ -1,6 +1,6 @@
#pragma once
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/ELF/exec_elf.h>
#include <AK/HashMap.h>
#include <AK/OwnPtr.h>

View file

@ -1,6 +1,6 @@
#pragma once
#include "AKString.h"
#include <AK/String.h>
namespace AK {
@ -35,5 +35,5 @@ String canonicalized_path(const StringView&);
};
using AK::FileSystemPath;
using AK::canonicalized_path;
using AK::FileSystemPath;

View file

@ -1,6 +1,6 @@
#pragma once
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/LogStream.h>
#include <AK/NetworkOrdered.h>
#include <AK/Optional.h>

View file

@ -1,6 +1,6 @@
#pragma once
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/HashMap.h>
#include <AK/JsonArray.h>
#include <AK/JsonObjectSerializer.h>

View file

@ -1,6 +1,6 @@
#pragma once
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/IPv4Address.h>
#include <AK/Optional.h>
#include <AK/StringBuilder.h>

View file

@ -1,4 +1,4 @@
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/LogStream.h>
#include <AK/StringView.h>

View file

@ -1,4 +1,4 @@
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/MappedFile.h>
#include <fcntl.h>
#include <stdio.h>

View file

@ -1,6 +1,6 @@
#include "AKString.h"
#include "StdLibExtras.h"
#include "StringBuilder.h"
#include <AK/StdLibExtras.h>
#include <AK/String.h>
#include <AK/StringBuilder.h>
#include <stdarg.h>
namespace AK {

View file

@ -1,7 +1,7 @@
#pragma once
#include "AKString.h"
#include "Vector.h"
#include <AK/String.h>
#include <AK/Vector.h>
#include <stdarg.h>
namespace AK {

View file

@ -1,4 +1,4 @@
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/StringView.h>
namespace AK {

View file

@ -12,9 +12,9 @@
#define ASSERT_NOT_REACHED() fprintf(stderr, "\033[31;1mASSERT_NOT_REACHED\033[0m\n");
#define RELEASE_ASSERT ASSERT
#include "AKString.h"
#include "Function.h"
#include "NonnullRefPtrVector.h"
#include <AK/Function.h>
#include <AK/NonnullRefPtrVector.h>
#include <AK/String.h>
#include <chrono>
namespace AK {

View file

@ -1,6 +1,6 @@
#include <AK/TestSuite.h>
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/FileSystemPath.h>
TEST_CASE(construct)

View file

@ -1,6 +1,6 @@
#include <AK/TestSuite.h>
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/FixedArray.h>
TEST_CASE(construct)

View file

@ -1,6 +1,6 @@
#include <AK/TestSuite.h>
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/HashMap.h>
TEST_CASE(construct)

View file

@ -1,6 +1,6 @@
#include <AK/TestSuite.h>
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/HashMap.h>
#include <AK/JsonArray.h>
#include <AK/JsonObject.h>

View file

@ -1,7 +1,7 @@
#include <AK/TestSuite.h>
#include <AK/NonnullRefPtr.h>
#include <AK/AKString.h>
#include <AK/String.h>
struct Object : public RefCounted<Object> {
int x;

View file

@ -1,6 +1,6 @@
#include <AK/TestSuite.h>
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/Optional.h>
TEST_CASE(basic_optional)

View file

@ -1,6 +1,6 @@
#include <AK/TestSuite.h>
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/Queue.h>
TEST_CASE(construct)

View file

@ -1,7 +1,7 @@
#include <AK/TestSuite.h>
#include <AK/NonnullRefPtr.h>
#include <AK/AKString.h>
#include <AK/String.h>
struct Object : public RefCounted<Object> {
int x;

View file

@ -1,6 +1,6 @@
#include <AK/TestSuite.h>
#include <AK/AKString.h>
#include <AK/String.h>
TEST_CASE(construct_empty)
{

View file

@ -1,6 +1,6 @@
#include <AK/TestSuite.h>
#include <AK/AKString.h>
#include <AK/String.h>
TEST_CASE(construct_empty)
{

View file

@ -1,6 +1,6 @@
#include <AK/TestSuite.h>
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/NonnullOwnPtrVector.h>
#include <AK/OwnPtr.h>
#include <AK/Vector.h>

View file

@ -1,5 +1,5 @@
#include <AK/TestSuite.h>
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/Weakable.h>
#include <AK/WeakPtr.h>

View file

@ -1,6 +1,6 @@
#pragma once
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/StringView.h>
namespace AK {

View file

@ -1,6 +1,6 @@
#pragma once
#include <AK/AKString.h>
#include <AK/String.h>
// This type implements number typing and
// displaying mechanics. It does not perform

View file

@ -1,7 +1,7 @@
#pragma once
#include "IRCLogBuffer.h"
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/CircularQueue.h>
#include <AK/RefPtr.h>
#include <AK/RefCounted.h>

View file

@ -2,7 +2,7 @@
#include "IRCLogBuffer.h"
#include "IRCWindow.h"
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/CircularQueue.h>
#include <AK/Function.h>
#include <AK/HashMap.h>

View file

@ -1,6 +1,6 @@
#pragma once
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/CircularQueue.h>
#include <AK/RefPtr.h>
#include <AK/RefCounted.h>

View file

@ -1,7 +1,7 @@
#pragma once
#include "IRCLogBuffer.h"
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/CircularQueue.h>
#include <AK/RefPtr.h>
#include <AK/RefCounted.h>

View file

@ -1,6 +1,6 @@
#pragma once
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/Vector.h>
#include <LibGUI/GModel.h>

View file

@ -1,6 +1,6 @@
#pragma once
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/HashMap.h>
#include <AK/Vector.h>
#include <LibGUI/GModel.h>

View file

@ -1,7 +1,7 @@
#pragma once
#include "WindowIdentifier.h"
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/HashMap.h>
#include <LibGUI/GButton.h>
#include <LibDraw/Rect.h>

View file

@ -1,6 +1,6 @@
#include "TerminalWidget.h"
#include "XtermColors.h"
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/StdLibExtras.h>
#include <AK/StringBuilder.h>
#include <Kernel/KeyCode.h>

View file

@ -1,6 +1,6 @@
#pragma once
#include <AK/AKString.h>
#include <AK/String.h>
#include <LibCore/CConfigFile.h>
#include <LibCore/CNotifier.h>
#include <LibCore/CTimer.h>

View file

@ -1,6 +1,6 @@
#pragma once
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/JsonObject.h>
#include <AK/NonnullOwnPtrVector.h>
#include <AK/Vector.h>

View file

@ -1,6 +1,6 @@
#pragma once
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/Function.h>
#include <LibGUI/GVariant.h>

View file

@ -1,7 +1,7 @@
#pragma once
#include "VBWidgetType.h"
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/HashMap.h>
#include <AK/NonnullOwnPtrVector.h>
#include <AK/OwnPtr.h>

View file

@ -1,6 +1,6 @@
#pragma once
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/Types.h>
#include <Kernel/Devices/BlockDevice.h>
#include <Kernel/VM/PhysicalAddress.h>

View file

@ -1,6 +1,6 @@
#pragma once
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/RefPtr.h>
#include <AK/Types.h>
#include <Kernel/Devices/DiskDevice.h>

View file

@ -1,6 +1,6 @@
#pragma once
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/Types.h>
#include <Kernel/Devices/BlockDevice.h>
#include <Kernel/VM/PhysicalAddress.h>

View file

@ -1,6 +1,6 @@
#pragma once
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/Badge.h>
#include <AK/InlineLinkedList.h>
#include <AK/RefCounted.h>

View file

@ -1,6 +1,6 @@
#pragma once
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/RefCounted.h>
#include <AK/NonnullRefPtr.h>
#include <AK/Types.h>

View file

@ -3,7 +3,7 @@
#include "InodeIdentifier.h"
#include "InodeMetadata.h"
#include "UnixTypes.h"
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/ByteBuffer.h>
#include <AK/Function.h>
#include <AK/HashMap.h>

View file

@ -1,6 +1,6 @@
#pragma once
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/Function.h>
#include <AK/InlineLinkedList.h>
#include <AK/RefCounted.h>

View file

@ -1,6 +1,6 @@
#pragma once
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/ByteBuffer.h>
#include <AK/Types.h>

View file

@ -1,6 +1,6 @@
#pragma once
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/RefPtr.h>
#include <AK/RefCounted.h>
#include <Kernel/FileSystem/File.h>

View file

@ -1,6 +1,6 @@
#pragma once
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/Badge.h>
#include <AK/Function.h>
#include <AK/HashMap.h>

View file

@ -1,6 +1,6 @@
#pragma once
#include <AK/AKString.h>
#include <AK/String.h>
#include <Kernel/KBuffer.h>
#include <stdarg.h>

View file

@ -1,6 +1,6 @@
#pragma once
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/HashMap.h>
class KParams {

View file

@ -1,6 +1,6 @@
#pragma once
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/Vector.h>
struct KSym {

View file

@ -1,6 +1,6 @@
#pragma once
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/Assertions.h>
#include <AK/IPv4Address.h>
#include <AK/NetworkOrdered.h>

View file

@ -1,6 +1,6 @@
#pragma once
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/Assertions.h>
#include <AK/Types.h>
#include <Kernel/StdLib.h>

View file

@ -1,6 +1,6 @@
#pragma once
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/InlineLinkedList.h>
#include <AK/NonnullRefPtrVector.h>
#include <AK/Types.h>

View file

@ -2,7 +2,7 @@
#include "IO.h"
#include "StdLib.h"
#include "kmalloc.h"
#include <AK/AKString.h>
#include <AK/String.h>
#include <Kernel/Arch/i386/CPU.h>
#include <Kernel/Devices/KeyboardDevice.h>

View file

@ -1,6 +1,6 @@
#pragma once
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/Function.h>
#include <AK/IntrusiveList.h>
#include <AK/OwnPtr.h>

View file

@ -1,6 +1,6 @@
#pragma once
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/Badge.h>
#include <AK/Bitmap.h>
#include <AK/ByteBuffer.h>

View file

@ -1,6 +1,6 @@
#pragma once
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/Vector.h>
#include <Kernel/VM/VirtualAddress.h>

View file

@ -1,6 +1,6 @@
#pragma once
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/Bitmap.h>
#include <AK/InlineLinkedList.h>
#include <Kernel/VM/PageDirectory.h>

View file

@ -1,6 +1,6 @@
#pragma once
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/RefPtr.h>
#include <AK/StringView.h>
#include <LibCore/CFile.h>

View file

@ -1,4 +1,4 @@
#include <AK/AKString.h>
#include <AK/String.h>
#include <grp.h>
#include <stdio.h>
#include <stdlib.h>

View file

@ -1,4 +1,4 @@
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/Assertions.h>
#include <AK/ScopeGuard.h>
#include <Kernel/Net/IPv4.h>

View file

@ -1,4 +1,4 @@
#include <AK/AKString.h>
#include <AK/String.h>
#include <pwd.h>
#include <stdio.h>
#include <stdlib.h>

View file

@ -1,4 +1,4 @@
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/Assertions.h>
#include <AK/HashMap.h>
#include <AK/StdLibExtras.h>

View file

@ -1,4 +1,4 @@
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/HashMap.h>
#include <assert.h>
#include <stdio.h>

View file

@ -1,4 +1,4 @@
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/ScopedValueRollback.h>
#include <AK/Vector.h>
#include <Kernel/Syscall.h>

View file

@ -1,6 +1,6 @@
#pragma once
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/HashMap.h>
#include <AK/Vector.h>

View file

@ -1,6 +1,6 @@
#pragma once
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/HashMap.h>
#include <AK/RefPtr.h>
#include <AK/RefCounted.h>

View file

@ -1,6 +1,6 @@
#pragma once
#include <AK/AKString.h>
#include <AK/String.h>
#include <dirent.h>
class CDirIterator {

View file

@ -1,6 +1,6 @@
#pragma once
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/Function.h>
#include <AK/Types.h>
#include <AK/WeakPtr.h>

View file

@ -1,6 +1,6 @@
#pragma once
#include <AK/AKString.h>
#include <AK/String.h>
#include <LibCore/CIODevice.h>
class CFile final : public CIODevice {

View file

@ -1,6 +1,6 @@
#pragma once
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/URL.h>
class CNetworkJob;

View file

@ -1,6 +1,6 @@
#pragma once
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/HashMap.h>
#include <LibCore/CNetworkResponse.h>

View file

@ -1,6 +1,6 @@
#pragma once
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/Function.h>
#include <AK/IntrusiveList.h>
#include <AK/StdLibExtras.h>

View file

@ -1,6 +1,6 @@
#pragma once
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/HashMap.h>
struct CProcessStatistics {

View file

@ -1,5 +1,5 @@
#pragma once
#include <AK/AKString.h>
#include <AK/String.h>
String get_current_user_home_path();

View file

@ -1,6 +1,6 @@
#pragma once
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/Optional.h>
#include <AK/Types.h>

View file

@ -1,7 +1,7 @@
#include "Emoji.h"
#include "GraphicsBitmap.h"
#include <AK/AKString.h>
#include <AK/HashMap.h>
#include <AK/String.h>
#include <LibDraw/Emoji.h>
#include <LibDraw/GraphicsBitmap.h>
static HashMap<u32, Emoji> s_emojis;

View file

@ -1,6 +1,6 @@
#pragma once
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/MappedFile.h>
#include <AK/RefPtr.h>
#include <AK/RefCounted.h>

View file

@ -3,7 +3,7 @@
#include "Color.h"
#include "Rect.h"
#include "Size.h"
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/MappedFile.h>
#include <AK/RefCounted.h>
#include <AK/RefPtr.h>

View file

@ -4,7 +4,7 @@
#include "Point.h"
#include "Rect.h"
#include "Size.h"
#include <AK/AKString.h>
#include <AK/String.h>
#include <LibDraw/TextAlignment.h>
#include <LibDraw/TextElision.h>
#include <AK/Utf8View.h>

View file

@ -1,6 +1,6 @@
#pragma once
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/LogStream.h>
#include <LibDraw/Orientation.h>

View file

@ -1,6 +1,6 @@
#pragma once
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/LogStream.h>
#include <LibDraw/Orientation.h>
#include <LibDraw/Point.h>

View file

@ -1,6 +1,6 @@
#pragma once
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/LogStream.h>
#include <LibDraw/Orientation.h>

View file

@ -1,6 +1,6 @@
#pragma once
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/Badge.h>
#include <AK/Function.h>
#include <AK/HashTable.h>

View file

@ -1,6 +1,6 @@
#pragma once
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/Function.h>
#include <LibGUI/GAbstractButton.h>
#include <LibDraw/GraphicsBitmap.h>

View file

@ -1,6 +1,6 @@
#pragma once
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/Function.h>
#include <LibGUI/GAbstractButton.h>

View file

@ -1,6 +1,6 @@
#pragma once
#include <AK/AKString.h>
#include <AK/String.h>
class GClipboard {
public:

View file

@ -1,6 +1,6 @@
#pragma once
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/Badge.h>
#include <AK/Function.h>
#include <LibDraw/Rect.h>

View file

@ -1,6 +1,6 @@
#pragma once
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/Function.h>
#include <AK/HashMap.h>

View file

@ -1,6 +1,6 @@
#pragma once
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/Badge.h>
#include <AK/NonnullOwnPtr.h>
#include <AK/OwnPtr.h>

View file

@ -1,6 +1,6 @@
#pragma once
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/Badge.h>
#include <AK/Function.h>
#include <AK/HashTable.h>

View file

@ -1,6 +1,6 @@
#pragma once
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/LogStream.h>
class GModel;

View file

@ -1,6 +1,6 @@
#pragma once
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/Traits.h>
#include <Kernel/KeyCode.h>

View file

@ -1,6 +1,6 @@
#pragma once
#include <AK/AKString.h>
#include <AK/String.h>
#include <LibGUI/GIcon.h>
#include <LibDraw/GraphicsBitmap.h>

View file

@ -1,6 +1,6 @@
#pragma once
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/Badge.h>
#include <AK/HashMap.h>
#include <LibCore/CElapsedTimer.h>

View file

@ -1,6 +1,6 @@
#pragma once
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/HashMap.h>
#include <AK/WeakPtr.h>
#include <LibCore/CObject.h>

View file

@ -1,6 +1,6 @@
#pragma once
#include <AK/AKString.h>
#include <AK/String.h>
class Length {
public:

View file

@ -1,6 +1,6 @@
#pragma once
#include <AK/AKString.h>
#include <AK/String.h>
#include <AK/Vector.h>
#include <LibHTML/CSS/Specificity.h>

Some files were not shown because too many files have changed in this diff Show more