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:
parent
405383fd2f
commit
ca6847b5bb
59 changed files with 895 additions and 39 deletions
|
@ -1,6 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
#include "StdLib.h"
|
||||
#include "StdLibExtras.h"
|
||||
#include "Types.h"
|
||||
#include "kmalloc.h"
|
||||
#include "Assertions.h"
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#include "Assertions.h"
|
||||
#include "Retainable.h"
|
||||
#include "RetainPtr.h"
|
||||
#include "StdLib.h"
|
||||
#include "StdLibExtras.h"
|
||||
#include "kmalloc.h"
|
||||
|
||||
namespace AK {
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
#include "Buffer.h"
|
||||
#include "Types.h"
|
||||
#include "StdLib.h"
|
||||
#include "StdLibExtras.h"
|
||||
|
||||
namespace AK {
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
#include "StdLib.h"
|
||||
#include "StdLibExtras.h"
|
||||
|
||||
namespace AK {
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
#include "String.h"
|
||||
#include "AKString.h"
|
||||
|
||||
namespace AK {
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
#include "Assertions.h"
|
||||
#include "OwnPtr.h"
|
||||
#include "StdLib.h"
|
||||
#include "StdLibExtras.h"
|
||||
|
||||
namespace AK {
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include "HashTable.h"
|
||||
#include "StdLib.h"
|
||||
#include "StdLibExtras.h"
|
||||
#include "kstdio.h"
|
||||
|
||||
namespace AK {
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 $<
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
#include "String.h"
|
||||
#include "AKString.h"
|
||||
|
||||
namespace AK {
|
||||
|
||||
|
|
6
AK/Noncopyable.h
Normal file
6
AK/Noncopyable.h
Normal file
|
@ -0,0 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
#define AK_MAKE_NONCOPYABLE(c) \
|
||||
private: \
|
||||
c(const c&) = delete; \
|
||||
c& operator=(const c&) = delete;
|
|
@ -1,6 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
#include "StdLib.h"
|
||||
#include "StdLibExtras.h"
|
||||
#include "Types.h"
|
||||
#include "Traits.h"
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#include "String.h"
|
||||
#include "StdLib.h"
|
||||
#include "AKString.h"
|
||||
#include "StdLibExtras.h"
|
||||
|
||||
namespace AK {
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
#include "String.h"
|
||||
#include "AKString.h"
|
||||
#include "Vector.h"
|
||||
|
||||
namespace AK {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#include "StringImpl.h"
|
||||
#include "StdLib.h"
|
||||
#include "StdLibExtras.h"
|
||||
#include "kmalloc.h"
|
||||
|
||||
namespace AK {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
#include "String.h"
|
||||
#include "AKString.h"
|
||||
#include <stdio.h>
|
||||
|
||||
namespace AK {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#include "String.h"
|
||||
#include "AKString.h"
|
||||
//#include "StringBuilder.h"
|
||||
#include "Vector.h"
|
||||
#include <stdio.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue