Skip to content

Change header include paths to be relative #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions AppCore/App.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
///
#pragma once
#include "Defines.h"
#include <Ultralight/RefPtr.h>
#include <Ultralight/Renderer.h>
#include <Ultralight/platform/Config.h>
#include "../Ultralight/RefPtr.h"
#include "../Ultralight/Renderer.h"
#include "../Ultralight/platform/Config.h"

namespace ultralight {

Expand Down
12 changes: 6 additions & 6 deletions AppCore/AppCore.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <AppCore/App.h>
#include <AppCore/Monitor.h>
#include <AppCore/Window.h>
#include <AppCore/Overlay.h>
#include <AppCore/JSHelpers.h>
#include <AppCore/Platform.h>
#include "App.h"
#include "Monitor.h"
#include "Window.h"
#include "Overlay.h"
#include "JSHelpers.h"
#include "Platform.h"
2 changes: 1 addition & 1 deletion AppCore/CAPI.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#ifndef APPCORE_CAPI_H
#define APPCORE_CAPI_H

#include <Ultralight/CAPI.h>
#include "../Ultralight/CAPI.h"

#if defined(__WIN32__) || defined(_WIN32)
# if defined(APPCORE_IMPLEMENTATION)
Expand Down
8 changes: 4 additions & 4 deletions AppCore/JSHelpers.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#pragma once
#include <AppCore/Defines.h>
#include <JavaScriptCore/JavaScript.h>
#include <JavaScriptCore/JSStringRef.h>
#include <Ultralight/String.h>
#include "Defines.h"
#include "../JavaScriptCore/JavaScript.h"
#include "../JavaScriptCore/JSStringRef.h"
#include "../Ultralight/String.h"
#include <functional>
#include <memory>

Expand Down
2 changes: 1 addition & 1 deletion AppCore/Overlay.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
///
#pragma once
#include "Window.h"
#include <Ultralight/View.h>
#include "../Ultralight/View.h"

namespace ultralight {

Expand Down
8 changes: 4 additions & 4 deletions AppCore/Platform.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
///
#pragma once
#include "Defines.h"
#include <Ultralight/String.h>
#include <Ultralight/platform/FontLoader.h>
#include <Ultralight/platform/FileSystem.h>
#include <Ultralight/platform/Logger.h>
#include "../Ultralight/String.h"
#include "../Ultralight/platform/FontLoader.h"
#include "../Ultralight/platform/FileSystem.h"
#include "../Ultralight/platform/Logger.h"

namespace ultralight {

Expand Down
6 changes: 3 additions & 3 deletions AppCore/Window.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
///
#pragma once
#include "Defines.h"
#include <Ultralight/RefPtr.h>
#include <Ultralight/Listener.h>
#include <Ultralight/Bitmap.h>
#include "../Ultralight/RefPtr.h"
#include "../Ultralight/Listener.h"
#include "../Ultralight/Bitmap.h"

namespace ultralight {

Expand Down
6 changes: 3 additions & 3 deletions JavaScriptCore/JSContextRef.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
#ifndef JSContextRef_h
#define JSContextRef_h

#include <JavaScriptCore/JSObjectRef.h>
#include <JavaScriptCore/JSValueRef.h>
#include <JavaScriptCore/WebKitAvailability.h>
#include "JSObjectRef.h"
#include "JSValueRef.h"
#include "WebKitAvailability.h"

#ifndef __cplusplus
#include <stdbool.h>
Expand Down
6 changes: 3 additions & 3 deletions JavaScriptCore/JSObjectRef.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
#ifndef JSObjectRef_h
#define JSObjectRef_h

#include <JavaScriptCore/JSBase.h>
#include <JavaScriptCore/JSValueRef.h>
#include <JavaScriptCore/WebKitAvailability.h>
#include "JSBase.h"
#include "JSValueRef.h"
#include "WebKitAvailability.h"

#ifndef __cplusplus
#include <stdbool.h>
Expand Down
2 changes: 1 addition & 1 deletion JavaScriptCore/JSObjectRefPrivate.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#ifndef JSObjectRefPrivate_h
#define JSObjectRefPrivate_h

#include <JavaScriptCore/JSObjectRef.h>
#include "JSObjectRef.h"

#ifdef __cplusplus
extern "C" {
Expand Down
4 changes: 2 additions & 2 deletions JavaScriptCore/JSRetainPtr.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@

#pragma once

#include <JavaScriptCore/JSContextRef.h>
#include <JavaScriptCore/JSStringRef.h>
#include "JSContextRef.h"
#include "JSStringRef.h"
#include <algorithm>

#if !defined(WARN_UNUSED_RETURN)
Expand Down
2 changes: 1 addition & 1 deletion JavaScriptCore/JSStringRef.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#ifndef JSStringRef_h
#define JSStringRef_h

#include <JavaScriptCore/JSValueRef.h>
#include "JSValueRef.h"

#ifndef __cplusplus
#include <stdbool.h>
Expand Down
4 changes: 2 additions & 2 deletions JavaScriptCore/JSTypedArray.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
#ifndef JSTypedArray_h
#define JSTypedArray_h

#include <JavaScriptCore/JSBase.h>
#include <JavaScriptCore/JSValueRef.h>
#include "JSBase.h"
#include "JSValueRef.h"

#ifdef __cplusplus
extern "C" {
Expand Down
4 changes: 2 additions & 2 deletions JavaScriptCore/JSValueRef.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
#ifndef JSValueRef_h
#define JSValueRef_h

#include <JavaScriptCore/JSBase.h>
#include <JavaScriptCore/WebKitAvailability.h>
#include "JSBase.h"
#include "WebKitAvailability.h"

#ifndef __cplusplus
#include <stdbool.h>
Expand Down
12 changes: 6 additions & 6 deletions JavaScriptCore/JavaScript.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@
#ifndef JavaScript_h
#define JavaScript_h

#include <JavaScriptCore/JSBase.h>
#include <JavaScriptCore/JSContextRef.h>
#include <JavaScriptCore/JSStringRef.h>
#include <JavaScriptCore/JSObjectRef.h>
#include <JavaScriptCore/JSTypedArray.h>
#include <JavaScriptCore/JSValueRef.h>
#include "JSBase.h"
#include "JSContextRef.h"
#include "JSStringRef.h"
#include "JSObjectRef.h"
#include "JSTypedArray.h"
#include "JSValueRef.h"

#endif /* JavaScript_h */
6 changes: 3 additions & 3 deletions Ultralight/Bitmap.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
/// Copyright (C) 2020 Ultralight, Inc. All rights reserved.
///
#pragma once
#include <Ultralight/Defines.h>
#include <Ultralight/RefPtr.h>
#include <Ultralight/Geometry.h>
#include "Defines.h"
#include "RefPtr.h"
#include "Geometry.h"

namespace ultralight {

Expand Down
4 changes: 2 additions & 2 deletions Ultralight/Buffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
/// Copyright (C) 2020 Ultralight, Inc. All rights reserved.
///
#pragma once
#include <Ultralight/Defines.h>
#include <Ultralight/RefPtr.h>
#include "Defines.h"
#include "RefPtr.h"

namespace ultralight {

Expand Down
2 changes: 1 addition & 1 deletion Ultralight/CAPI.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#endif

#include <stddef.h>
#include <JavaScriptCore/JavaScript.h>
#include "../JavaScriptCore/JavaScript.h"
#ifdef __OBJC__
#import <AppKit/NSEvent.h>
#endif
Expand Down
2 changes: 1 addition & 1 deletion Ultralight/Geometry.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
/// Copyright (C) 2020 Ultralight, Inc. All rights reserved.
///
#pragma once
#include <Ultralight/Defines.h>
#include "Defines.h"
#include <memory.h>
#include <cmath>
#include <cstring>
Expand Down
8 changes: 4 additions & 4 deletions Ultralight/JavaScript.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
/// Copyright (C) 2020 Ultralight, Inc. All rights reserved.
///
#pragma once
#include <JavaScriptCore/JavaScript.h>
#include <Ultralight/Defines.h>
#include <Ultralight/RefPtr.h>
#include <Ultralight/String.h>
#include "../JavaScriptCore/JavaScript.h"
#include "Defines.h"
#include "RefPtr.h"
#include "String.h"

namespace ultralight {

Expand Down
6 changes: 3 additions & 3 deletions Ultralight/KeyEvent.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
/// Copyright (C) 2020 Ultralight, Inc. All rights reserved.
///
#pragma once
#include <Ultralight/Defines.h>
#include <Ultralight/KeyCodes.h>
#include <Ultralight/String.h>
#include "Defines.h"
#include "KeyCodes.h"
#include "String.h"
#ifdef __OBJC__
#import <AppKit/NSEvent.h>
#endif
Expand Down
8 changes: 4 additions & 4 deletions Ultralight/Listener.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
/// Copyright (C) 2020 Ultralight, Inc. All rights reserved.
///
#pragma once
#include <Ultralight/Defines.h>
#include <Ultralight/String.h>
#include <Ultralight/RefPtr.h>
#include <Ultralight/Geometry.h>
#include "Defines.h"
#include "String.h"
#include "RefPtr.h"
#include "Geometry.h"

namespace ultralight {

Expand Down
6 changes: 3 additions & 3 deletions Ultralight/Matrix.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
/// Copyright (C) 2020 Ultralight, Inc. All rights reserved.
///
#pragma once
#include <Ultralight/Defines.h>
#include <Ultralight/RefPtr.h>
#include <Ultralight/Geometry.h>
#include "Defines.h"
#include "RefPtr.h"
#include "Geometry.h"

namespace ultralight {

Expand Down
2 changes: 1 addition & 1 deletion Ultralight/MouseEvent.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
/// Copyright (C) 2020 Ultralight, Inc. All rights reserved.
///
#pragma once
#include <Ultralight/Defines.h>
#include "Defines.h"

namespace ultralight {

Expand Down
2 changes: 1 addition & 1 deletion Ultralight/RefPtr.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
*/

#pragma once
#include <Ultralight/Defines.h>
#include "Defines.h"
#include <assert.h>
#include <utility>

Expand Down
6 changes: 3 additions & 3 deletions Ultralight/RenderTarget.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
/// Copyright (C) 2020 Ultralight, Inc. All rights reserved.
///
#pragma once
#include <Ultralight/Defines.h>
#include <Ultralight/Bitmap.h>
#include <Ultralight/Geometry.h>
#include "Defines.h"
#include "Bitmap.h"
#include "Geometry.h"

namespace ultralight {

Expand Down
8 changes: 4 additions & 4 deletions Ultralight/Renderer.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
/// Copyright (C) 2020 Ultralight, Inc. All rights reserved.
///
#pragma once
#include <Ultralight/Defines.h>
#include <Ultralight/RefPtr.h>
#include <Ultralight/Session.h>
#include <Ultralight/View.h>
#include "Defines.h"
#include "RefPtr.h"
#include "Session.h"
#include "View.h"

namespace ultralight {

Expand Down
2 changes: 1 addition & 1 deletion Ultralight/ScrollEvent.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
/// Copyright (C) 2020 Ultralight, Inc. All rights reserved.
///
#pragma once
#include <Ultralight/Defines.h>
#include "Defines.h"

namespace ultralight {

Expand Down
6 changes: 3 additions & 3 deletions Ultralight/Session.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
/// Copyright (C) 2020 Ultralight, Inc. All rights reserved.
///
#pragma once
#include <Ultralight/Defines.h>
#include <Ultralight/RefPtr.h>
#include <Ultralight/String.h>
#include "Defines.h"
#include "RefPtr.h"
#include "String.h"

namespace ultralight {

Expand Down
8 changes: 4 additions & 4 deletions Ultralight/String.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
/// Copyright (C) 2020 Ultralight, Inc. All rights reserved.
///
#pragma once
#include <Ultralight/Defines.h>
#include <Ultralight/String8.h>
#include <Ultralight/String16.h>
#include <Ultralight/String32.h>
#include "Defines.h"
#include "String8.h"
#include "String16.h"
#include "String32.h"

namespace ultralight {

Expand Down
4 changes: 2 additions & 2 deletions Ultralight/String16.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
/// Copyright (C) 2020 Ultralight, Inc. All rights reserved.
///
#pragma once
#include <Ultralight/Defines.h>
#include <Ultralight/RefPtr.h>
#include "Defines.h"
#include "RefPtr.h"
#include <stddef.h>

namespace ultralight {
Expand Down
2 changes: 1 addition & 1 deletion Ultralight/String32.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
/// Copyright (C) 2020 Ultralight, Inc. All rights reserved.
///
#pragma once
#include <Ultralight/Defines.h>
#include "Defines.h"
#include <stddef.h>

namespace ultralight {
Expand Down
2 changes: 1 addition & 1 deletion Ultralight/String8.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
/// Copyright (C) 2020 Ultralight, Inc. All rights reserved.
///
#pragma once
#include <Ultralight/Defines.h>
#include "Defines.h"
#include <stddef.h>

namespace ultralight {
Expand Down
Loading