Skip to content

Commit

Permalink
Replace absolute with relative includes.
Browse files Browse the repository at this point in the history
Increments-patch-version-of: ttyr-terminal
Increments-patch-version-of: ttyr-tty
  • Loading branch information
dajofrey committed Jan 30, 2024
1 parent e4306ed commit 06f73c2
Show file tree
Hide file tree
Showing 53 changed files with 195 additions and 195 deletions.
6 changes: 3 additions & 3 deletions src/lib/ttyr-terminal/Common/Config.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@

#include "../Terminal/Terminal.h"

#include "../../../../external/Netzhaut/src/lib/nhcore/Config/Config.h"
#include "../../../../external/Netzhaut/src/lib/nhcore/System/Memory.h"
#include "../../../../external/Netzhaut/src/lib/nhcore/System/Thread.h"
#include "nhcore/Config/Config.h"
#include "nhcore/System/Memory.h"
#include "nhcore/System/Thread.h"

#include <string.h>
#include <stdlib.h>
Expand Down
10 changes: 5 additions & 5 deletions src/lib/ttyr-terminal/Common/Initialize.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@

#include "../Vulkan/Pipeline.h"

#include "../../../../external/Netzhaut/src/lib/nhgfx/Vulkan/GPU.h"
#include "../../../../external/Netzhaut/src/lib/nhgfx/Vulkan/Vulkan.h"
#include "nhgfx/Vulkan/GPU.h"
#include "nhgfx/Vulkan/Vulkan.h"

#include "../../../../external/Netzhaut/src/lib/nhcore/Config/Config.h"
#include "../../../../external/Netzhaut/src/lib/nhcore/System/Logger.h"
#include "../../../../external/Netzhaut/src/lib/nhcore/System/Memory.h"
#include "nhcore/Config/Config.h"
#include "nhcore/System/Logger.h"
#include "nhcore/System/Memory.h"

#include <stdlib.h>
#include <string.h>
Expand Down
2 changes: 1 addition & 1 deletion src/lib/ttyr-terminal/Common/Log.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include "Log.h"
#include "Macros.h"

#include "../../../../external/Netzhaut/src/lib/nhcore/System/Logger.h"
#include "nhcore/System/Logger.h"

#include <stdio.h>
#include <stdlib.h>
Expand Down
4 changes: 2 additions & 2 deletions src/lib/ttyr-terminal/OpenGL/Background.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
#include "../Terminal/Graphics.h"
#include "../Common/Macros.h"

#include "../../../../external/Netzhaut/src/lib/nhgfx/Base/Viewport.h"
#include "../../../../external/Netzhaut/src/lib/nhgfx/Common/Macros.h"
#include "nhgfx/Base/Viewport.h"
#include "nhgfx/Common/Macros.h"

#include <stdlib.h>
#include <unistd.h>
Expand Down
6 changes: 3 additions & 3 deletions src/lib/ttyr-terminal/OpenGL/Background.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@

#include "../Common/Includes.h"

#include "../../../../external/Netzhaut/src/lib/nhgfx/OpenGL/CommandBuffer.h"
#include "../../../../external/Netzhaut/src/lib/nhgfx/OpenGL/Commands.h"
#include "nhgfx/OpenGL/CommandBuffer.h"
#include "nhgfx/OpenGL/Commands.h"

#include "../../../../external/Netzhaut/src/lib/nhgfx/Fonts/FontManager.h"
#include "nhgfx/Fonts/FontManager.h"

#include <stdint.h>

Expand Down
4 changes: 2 additions & 2 deletions src/lib/ttyr-terminal/OpenGL/Boxes.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
#include "../Terminal/Graphics.h"
#include "../Common/Macros.h"

#include "../../../../external/Netzhaut/src/lib/nhgfx/Base/Viewport.h"
#include "../../../../external/Netzhaut/src/lib/nhgfx/Common/Macros.h"
#include "nhgfx/Base/Viewport.h"
#include "nhgfx/Common/Macros.h"

#include <stdlib.h>
#include <unistd.h>
Expand Down
4 changes: 2 additions & 2 deletions src/lib/ttyr-terminal/OpenGL/Boxes.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@

#include "../Common/Includes.h"

#include "../../../../external/Netzhaut/src/lib/nhgfx/OpenGL/CommandBuffer.h"
#include "../../../../external/Netzhaut/src/lib/nhgfx/OpenGL/Commands.h"
#include "nhgfx/OpenGL/CommandBuffer.h"
#include "nhgfx/OpenGL/Commands.h"

#endif

Expand Down
4 changes: 2 additions & 2 deletions src/lib/ttyr-terminal/OpenGL/Foreground.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
#include "../Common/Macros.h"
#include "../Common/Config.h"

#include "../../../../external/Netzhaut/src/lib/nhgfx/Base/Viewport.h"
#include "../../../../external/Netzhaut/src/lib/nhgfx/Common/Macros.h"
#include "nhgfx/Base/Viewport.h"
#include "nhgfx/Common/Macros.h"

#include <stdlib.h>
#include <unistd.h>
Expand Down
6 changes: 3 additions & 3 deletions src/lib/ttyr-terminal/OpenGL/Foreground.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@

#include "../Common/Includes.h"

#include "../../../../external/Netzhaut/src/lib/nhgfx/OpenGL/CommandBuffer.h"
#include "../../../../external/Netzhaut/src/lib/nhgfx/OpenGL/Commands.h"
#include "nhgfx/OpenGL/CommandBuffer.h"
#include "nhgfx/OpenGL/Commands.h"

#include "../../../../external/Netzhaut/src/lib/nhgfx/Fonts/FontManager.h"
#include "nhgfx/Fonts/FontManager.h"

#include <stdint.h>

Expand Down
2 changes: 1 addition & 1 deletion src/lib/ttyr-terminal/OpenGL/Render.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include "../Common/Macros.h"
#include "../Common/Config.h"

#include "../../../../external/Netzhaut/src/lib/nhgfx/Base/Viewport.h"
#include "nhgfx/Base/Viewport.h"

#include <stdlib.h>
#include <string.h>
Expand Down
12 changes: 6 additions & 6 deletions src/lib/ttyr-terminal/Terminal/Graphics.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@
#include "../Common/Macros.h"
#include "../Common/Config.h"

#include "../../../../external/Netzhaut/src/lib/nhgfx/Base/Viewport.h"
#include "../../../../external/Netzhaut/src/lib/nhgfx/Fonts/HarfBuzz.h"
#include "nhgfx/Base/Viewport.h"
#include "nhgfx/Fonts/HarfBuzz.h"

#include "../../../../external/Netzhaut/src/lib/nhcore/System/Memory.h"
#include "../../../../external/Netzhaut/src/lib/nhcore/Util/Math.h"
#include "../../../../external/Netzhaut/src/lib/nhcore/Util/Array.h"
#include "../../../../external/Netzhaut/src/lib/nhcore/Util/List.h"
#include "nhcore/System/Memory.h"
#include "nhcore/Util/Math.h"
#include "nhcore/Util/Array.h"
#include "nhcore/Util/List.h"

#include <stdio.h>
#include <string.h>
Expand Down
2 changes: 1 addition & 1 deletion src/lib/ttyr-terminal/Terminal/Graphics.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#include "../OpenGL/Background.h"
#include "../OpenGL/Boxes.h"

#include "../../../../external/Netzhaut/src/lib/nhcore/Util/HashMap.h"
#include "nhcore/Util/HashMap.h"

#endif

Expand Down
14 changes: 7 additions & 7 deletions src/lib/ttyr-terminal/Terminal/Grid.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@
#include "../Common/Macros.h"
#include "../Common/Config.h"

#include "../../../../external/Netzhaut/src/lib/nhgfx/Base/Viewport.h"
#include "nhgfx/Base/Viewport.h"

#include "../../../../external/Netzhaut/src/lib/nhcore/System/Thread.h"
#include "../../../../external/Netzhaut/src/lib/nhcore/System/Memory.h"
#include "../../../../external/Netzhaut/src/lib/nhcore/System/Process.h"
#include "../../../../external/Netzhaut/src/lib/nhcore/System/Logger.h"
#include "nhcore/System/Thread.h"
#include "nhcore/System/Memory.h"
#include "nhcore/System/Process.h"
#include "nhcore/System/Logger.h"

#include "../../../../external/Netzhaut/src/lib/nhencoding/Encodings/UTF8.h"
#include "../../../../external/Netzhaut/src/lib/nhencoding/Encodings/UTF32.h"
#include "nhencoding/Encodings/UTF8.h"
#include "nhencoding/Encodings/UTF32.h"

#include <string.h>
#include <stdio.h>
Expand Down
4 changes: 2 additions & 2 deletions src/lib/ttyr-terminal/Terminal/Grid.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@

#include "../Common/Includes.h"

#include "../../../../external/Netzhaut/src/lib/nhcore/Util/Time.h"
#include "../../../../external/Netzhaut/src/lib/nhgfx/Fonts/Text.h"
#include "nhcore/Util/Time.h"
#include "nhgfx/Fonts/Text.h"

#endif

Expand Down
32 changes: 16 additions & 16 deletions src/lib/ttyr-terminal/Terminal/Terminal.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,22 @@

#include "../Common/Macros.h"

#include "../../../../external/Netzhaut/src/lib/nhcore/System/Thread.h"
#include "../../../../external/Netzhaut/src/lib/nhcore/System/Memory.h"
#include "../../../../external/Netzhaut/src/lib/nhcore/System/Process.h"
#include "../../../../external/Netzhaut/src/lib/nhcore/Util/RingBuffer.h"
#include "../../../../external/Netzhaut/src/lib/nhcore/Util/List.h"
#include "../../../../external/Netzhaut/src/lib/nhcore/Config/Config.h"

#include "../../../../external/Netzhaut/src/lib/nhencoding/Encodings/UTF8.h"
#include "../../../../external/Netzhaut/src/lib/nhencoding/Encodings/UTF32.h"

#include "../../../../external/Netzhaut/src/lib/nhgfx/Base/Viewport.h"
#include "../../../../external/Netzhaut/src/lib/nhgfx/Fonts/FontManager.h"
#include "../../../../external/Netzhaut/src/lib/nhgfx/Fonts/Text.h"

#include "../../../../external/Netzhaut/src/lib/nhwsi/Window/Window.h"
#include "../../../../external/Netzhaut/src/lib/nhwsi/Window/WindowSettings.h"
#include "nhcore/System/Thread.h"
#include "nhcore/System/Memory.h"
#include "nhcore/System/Process.h"
#include "nhcore/Util/RingBuffer.h"
#include "nhcore/Util/List.h"
#include "nhcore/Config/Config.h"

#include "nhencoding/Encodings/UTF8.h"
#include "nhencoding/Encodings/UTF32.h"

#include "nhgfx/Base/Viewport.h"
#include "nhgfx/Fonts/FontManager.h"
#include "nhgfx/Fonts/Text.h"

#include "nhwsi/Window/Window.h"
#include "nhwsi/Window/WindowSettings.h"

#include <string.h>
#include <stdio.h>
Expand Down
2 changes: 1 addition & 1 deletion src/lib/ttyr-terminal/Terminal/Terminal.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#include "../Common/Includes.h"
#include "../../ttyr-tty/TTY/View.h"

#include "../../../../external/Netzhaut/src/lib/nhcore/Util/Time.h"
#include "nhcore/Util/Time.h"

#endif

Expand Down
14 changes: 7 additions & 7 deletions src/lib/ttyr-terminal/Terminal/Vertices.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@
#include "../Common/Macros.h"
#include "../Common/Config.h"

#include "../../../../external/Netzhaut/src/lib/nhgfx/Base/Viewport.h"
#include "../../../../external/Netzhaut/src/lib/nhgfx/Fonts/HarfBuzz.h"
#include "nhgfx/Base/Viewport.h"
#include "nhgfx/Fonts/HarfBuzz.h"

#include "../../../../external/Netzhaut/src/lib/nhcore/System/Memory.h"
#include "../../../../external/Netzhaut/src/lib/nhcore/Util/Math.h"
#include "../../../../external/Netzhaut/src/lib/nhcore/Util/Array.h"
#include "../../../../external/Netzhaut/src/lib/nhcore/Util/List.h"
#include "nhcore/System/Memory.h"
#include "nhcore/Util/Math.h"
#include "nhcore/Util/Array.h"
#include "nhcore/Util/List.h"

#include "../../../../external/Netzhaut/src/lib/nhencoding/Encodings/UTF8.h"
#include "nhencoding/Encodings/UTF8.h"

#include <stdio.h>
#include <string.h>
Expand Down
2 changes: 1 addition & 1 deletion src/lib/ttyr-terminal/Vulkan/Pipeline.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

#include "../Common/Macros.h"

#include "../../../../external/Netzhaut/src/lib/nhgfx/Common/Macros.h"
#include "nhgfx/Common/Macros.h"

// SDF TEXT ========================================================================================

Expand Down
4 changes: 2 additions & 2 deletions src/lib/ttyr-terminal/Vulkan/Pipeline.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@

#include "../Common/Includes.h"

#include "../../../../external/Netzhaut/src/lib/nhgfx/Vulkan/Driver.h"
#include "../../../../external/Netzhaut/src/lib/nhgfx/Vulkan/Helper.h"
#include "nhgfx/Vulkan/Driver.h"
#include "nhgfx/Vulkan/Helper.h"

#endif

Expand Down
4 changes: 2 additions & 2 deletions src/lib/ttyr-terminal/Vulkan/Render.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
#include "../Common/Macros.h"
#include "../Common/Config.h"

#include "../../../../external/Netzhaut/src/lib/nhgfx/Base/Viewport.h"
#include "../../../../external/Netzhaut/src/lib/nhgfx/Vulkan/GPU.h"
#include "nhgfx/Base/Viewport.h"
#include "nhgfx/Vulkan/GPU.h"

#include <stdlib.h>
#include <string.h>
Expand Down
6 changes: 3 additions & 3 deletions src/lib/ttyr-terminal/Vulkan/Text.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@

#include "../Common/Macros.h"

#include "../../../../external/Netzhaut/src/lib/nhcore/Util/Array.h"
#include "../../../../external/Netzhaut/src/lib/nhgfx/Vulkan/Texture.h"
#include "../../../../external/Netzhaut/src/lib/nhgfx/Common/Macros.h"
#include "nhcore/Util/Array.h"
#include "nhgfx/Vulkan/Texture.h"
#include "nhgfx/Common/Macros.h"

#include <stdlib.h>
#include <unistd.h>
Expand Down
6 changes: 3 additions & 3 deletions src/lib/ttyr-terminal/Vulkan/Text.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@

#include "../Common/Includes.h"

#include "../../../../external/Netzhaut/src/lib/nhgfx/Vulkan/GPU.h"
#include "../../../../external/Netzhaut/src/lib/nhgfx/Vulkan/Helper.h"
#include "../../../../external/Netzhaut/src/lib/nhgfx/Fonts/FontManager.h"
#include "nhgfx/Vulkan/GPU.h"
#include "nhgfx/Vulkan/Helper.h"
#include "nhgfx/Fonts/FontManager.h"

#include <stdint.h>

Expand Down
6 changes: 3 additions & 3 deletions src/lib/ttyr-tty/Common/Config.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@

#include "../TTY/TTY.h"

#include "../../../../external/Netzhaut/src/lib/nhcore/Config/Config.h"
#include "../../../../external/Netzhaut/src/lib/nhcore/System/Memory.h"
#include "../../../../external/Netzhaut/src/lib/nhcore/System/Thread.h"
#include "nhcore/Config/Config.h"
#include "nhcore/System/Memory.h"
#include "nhcore/System/Thread.h"

#include <string.h>
#include <stdlib.h>
Expand Down
6 changes: 3 additions & 3 deletions src/lib/ttyr-tty/Common/Initialize.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
#include "Macros.h"
#include "Data/ttyr-tty.conf.inc"

#include "../../../../external/Netzhaut/src/lib/nhcore/Config/Config.h"
#include "../../../../external/Netzhaut/src/lib/nhcore/System/Logger.h"
#include "../../../../external/Netzhaut/src/lib/nhcore/System/Memory.h"
#include "nhcore/Config/Config.h"
#include "nhcore/System/Logger.h"
#include "nhcore/System/Memory.h"

#include <stdlib.h>
#include <string.h>
Expand Down
2 changes: 1 addition & 1 deletion src/lib/ttyr-tty/Common/Log.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include "Log.h"
#include "Macros.h"

#include "../../../../external/Netzhaut/src/lib/nhcore/System/Logger.h"
#include "nhcore/System/Logger.h"

#include <stdio.h>
#include <stdlib.h>
Expand Down
10 changes: 5 additions & 5 deletions src/lib/ttyr-tty/Editor/Editor.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
#include "../TTY/TTY.h"
#include "../Common/Macros.h"

#include "../../../../external/Netzhaut/src/lib/nhcore/System/Logger.h"
#include "../../../../external/Netzhaut/src/lib/nhcore/System/Memory.h"
#include "nhcore/System/Logger.h"
#include "nhcore/System/Memory.h"

#include "../../../../external/Netzhaut/src/lib/nhencoding/Common/Macros.h"
#include "../../../../external/Netzhaut/src/lib/nhencoding/Encodings/UTF32.h"
#include "../../../../external/Netzhaut/src/lib/nhencoding/Encodings/UTF8.h"
#include "nhencoding/Common/Macros.h"
#include "nhencoding/Encodings/UTF32.h"
#include "nhencoding/Encodings/UTF8.h"

#include <stddef.h>
#include <unistd.h>
Expand Down
2 changes: 1 addition & 1 deletion src/lib/ttyr-tty/Editor/Editor.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include "../TTY/Program.h"
#include "../Common/Includes.h"

#include "../../../../external/Netzhaut/src/lib/nhcore/Util/String.h"
#include "nhcore/Util/String.h"

#endif

Expand Down
6 changes: 3 additions & 3 deletions src/lib/ttyr-tty/Editor/File.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
#include "../TTY/TTY.h"
#include "../Common/Macros.h"

#include "../../../../external/Netzhaut/src/lib/nhcore/System/Process.h"
#include "../../../../external/Netzhaut/src/lib/nhcore/System/Memory.h"
#include "nhcore/System/Process.h"
#include "nhcore/System/Memory.h"

#include "../../../../external/Netzhaut/src/lib/nhencoding/Encodings/UTF8.h"
#include "nhencoding/Encodings/UTF8.h"

#include <stddef.h>
#include <unistd.h>
Expand Down
Loading

0 comments on commit 06f73c2

Please sign in to comment.