1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-09-14 16:17:35 +00:00

Import a simple text editor I started working on.

This commit is contained in:
Andreas Kling 2018-12-04 00:27:16 +01:00
parent 405383fd2f
commit ca6847b5bb
59 changed files with 895 additions and 39 deletions

View file

@ -1,6 +1,6 @@
#pragma once
#include "StdLib.h"
#include "StdLibExtras.h"
#include "Types.h"
#include "kmalloc.h"
#include "Assertions.h"

View file

@ -3,7 +3,7 @@
#include "Assertions.h"
#include "Retainable.h"
#include "RetainPtr.h"
#include "StdLib.h"
#include "StdLibExtras.h"
#include "kmalloc.h"
namespace AK {

View file

@ -2,7 +2,7 @@
#include "Buffer.h"
#include "Types.h"
#include "StdLib.h"
#include "StdLibExtras.h"
namespace AK {

View file

@ -1,6 +1,6 @@
#pragma once
#include "StdLib.h"
#include "StdLibExtras.h"
namespace AK {

View file

@ -1,6 +1,6 @@
#pragma once
#include "String.h"
#include "AKString.h"
namespace AK {

View file

@ -27,7 +27,7 @@
#include "Assertions.h"
#include "OwnPtr.h"
#include "StdLib.h"
#include "StdLibExtras.h"
namespace AK {

View file

@ -1,7 +1,7 @@
#pragma once
#include "HashTable.h"
#include "StdLib.h"
#include "StdLibExtras.h"
#include "kstdio.h"
namespace AK {

View file

@ -3,7 +3,7 @@
#include "Assertions.h"
#include "DoublyLinkedList.h"
#include "Traits.h"
#include "StdLib.h"
#include "StdLibExtras.h"
#include "kstdio.h"
//#define HASHTABLE_DEBUG

View file

@ -5,7 +5,7 @@ CXXFLAGS = -std=c++17 -O0 -W -Wall -ggdb3
all: $(PROGRAM)
test.o: Vector.h String.h StringImpl.h MappedFile.h HashTable.h SinglyLinkedList.h Traits.h HashMap.h TemporaryFile.h Buffer.h FileSystemPath.h StringBuilder.h
test.o: Vector.h AKString.h StringImpl.h MappedFile.h HashTable.h SinglyLinkedList.h Traits.h HashMap.h TemporaryFile.h Buffer.h FileSystemPath.h StringBuilder.h
.cpp.o:
$(CXX) $(CXXFLAGS) -o $@ -c $<

View file

@ -1,6 +1,6 @@
#pragma once
#include "String.h"
#include "AKString.h"
namespace AK {

6
AK/Noncopyable.h Normal file
View file

@ -0,0 +1,6 @@
#pragma once
#define AK_MAKE_NONCOPYABLE(c) \
private: \
c(const c&) = delete; \
c& operator=(const c&) = delete;

View file

@ -1,6 +1,6 @@
#pragma once
#include "StdLib.h"
#include "StdLibExtras.h"
#include "Types.h"
#include "Traits.h"

View file

@ -1,5 +1,5 @@
#include "String.h"
#include "StdLib.h"
#include "AKString.h"
#include "StdLibExtras.h"
namespace AK {

View file

@ -1,6 +1,6 @@
#pragma once
#include "String.h"
#include "AKString.h"
#include "Vector.h"
namespace AK {

View file

@ -1,5 +1,5 @@
#include "StringImpl.h"
#include "StdLib.h"
#include "StdLibExtras.h"
#include "kmalloc.h"
namespace AK {

View file

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

View file

@ -1,4 +1,4 @@
#include "String.h"
#include "AKString.h"
//#include "StringBuilder.h"
#include "Vector.h"
#include <stdio.h>