summaryrefslogtreecommitdiff
path: root/Kernel
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-03-07 00:31:06 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-03-07 00:31:06 +0100
commit9158de6c418b03e4c1ab5dfee8ed48a400afb443 (patch)
treec8efa987962d41043e144140c9a8459ff2f5cbfa /Kernel
parent67ee579113edc2f5963372e04703848c87c89a94 (diff)
downloadserenity-9158de6c418b03e4c1ab5dfee8ed48a400afb443.zip
Begin working on a graphical TextEditor.
It's gonna be a wrapper around a new GTextEditor widget so I can easily reuse the functionality anywhere I need it. :^)
Diffstat (limited to 'Kernel')
-rw-r--r--Kernel/init.cpp6
-rwxr-xr-xKernel/makeall.sh2
-rwxr-xr-xKernel/sync.sh2
3 files changed, 9 insertions, 1 deletions
diff --git a/Kernel/init.cpp b/Kernel/init.cpp
index a5a1e3350c..b0d38a9c47 100644
--- a/Kernel/init.cpp
+++ b/Kernel/init.cpp
@@ -27,7 +27,8 @@
#define SPAWN_LAUNCHER
//#define SPAWN_GUITEST2
//#define SPAWN_FILE_MANAGER
-#define SPAWN_PROCESS_MANAGER
+//#define SPAWN_PROCESS_MANAGER
+#define SPAWN_TEXT_EDITOR
//#define SPAWN_FONTEDITOR
//#define SPAWN_MULTIPLE_SHELLS
//#define STRESS_TEST_SPAWNING
@@ -102,6 +103,9 @@ VFS* vfs;
#ifdef SPAWN_PROCESS_MANAGER
Process::create_user_process("/bin/ProcessManager", (uid_t)100, (gid_t)100, (pid_t)0, error, { }, { }, tty0);
#endif
+#ifdef SPAWN_TEXT_EDITOR
+ Process::create_user_process("/bin/TextEditor", (uid_t)100, (gid_t)100, (pid_t)0, error, { }, { }, tty0);
+#endif
#ifdef SPAWN_FONTEDITOR
Process::create_user_process("/bin/FontEditor", (uid_t)100, (gid_t)100, (pid_t)0, error, { }, move(environment), tty0);
#endif
diff --git a/Kernel/makeall.sh b/Kernel/makeall.sh
index b6c85c756e..2448f50a1e 100755
--- a/Kernel/makeall.sh
+++ b/Kernel/makeall.sh
@@ -28,6 +28,8 @@ $make_cmd -C ../Applications/FileManager clean && \
$make_cmd -C ../Applications/FileManager && \
$make_cmd -C ../Applications/ProcessManager clean && \
$make_cmd -C ../Applications/ProcessManager && \
+$make_cmd -C ../Applications/TextEditor clean && \
+$make_cmd -C ../Applications/TextEditor && \
$make_cmd -C ../Applications/About clean && \
$make_cmd -C ../Applications/About && \
$make_cmd clean &&\
diff --git a/Kernel/sync.sh b/Kernel/sync.sh
index 25627ed93e..00f5876218 100755
--- a/Kernel/sync.sh
+++ b/Kernel/sync.sh
@@ -35,6 +35,7 @@ cp -vR ../Base/* mnt/
cp -vR ../Root/* mnt/
mkdir mnt/home/anon
mkdir mnt/home/nona
+cp ../ReadMe.md mnt/home/anon/
chown -vR 100:100 mnt/home/anon
chown -vR 200:200 mnt/home/nona
cp -v ../Userland/sh mnt/bin/sh
@@ -80,6 +81,7 @@ cp -v ../Applications/Launcher/Launcher mnt/bin/Launcher
cp -v ../Applications/FileManager/FileManager mnt/bin/FileManager
cp -v ../Applications/ProcessManager/ProcessManager mnt/bin/ProcessManager
cp -v ../Applications/About/About mnt/bin/About
+cp -v ../Applications/TextEditor/TextEditor mnt/bin/TextEditor
cp -v ../WindowServer/WindowServer mnt/bin/WindowServer
cp -v kernel.map mnt/
sh sync-local.sh