Skip to content

Commit bdb6704

Browse files
committed
Rename files to PascalCase, remove spaces from package name
1 parent f7271c8 commit bdb6704

File tree

10 files changed

+45
-59
lines changed

10 files changed

+45
-59
lines changed

Pidgin MacOS Integration.xcodeproj/xcuserdata/agalin.xcuserdatad/xcschemes/xcschememanagement.plist

Lines changed: 0 additions & 14 deletions
This file was deleted.

Pidgin MacOS Integration-Bridging-Header.h renamed to PidginMacOSIntegration-Bridging-Header.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@
2525
#import <version.h>
2626

2727
// Bridge fileś
28-
#import "plugin_load.h"
28+
#import "PluginLoad.h"

Pidgin MacOS Integration.xcodeproj/project.pbxproj renamed to PidginMacOSIntegration.xcodeproj/project.pbxproj

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
objects = {
88

99
/* Begin PBXBuildFile section */
10-
DF496AEC211E76020059EE2C /* main.c in Sources */ = {isa = PBXBuildFile; fileRef = DF496AEB211E76020059EE2C /* main.c */; };
11-
DFE300C5211E5B89000E188E /* main.swift in Sources */ = {isa = PBXBuildFile; fileRef = DFE300C4211E5B89000E188E /* main.swift */; };
12-
DFE300CD211E5BFC000E188E /* plugin_load.m in Sources */ = {isa = PBXBuildFile; fileRef = DFE300CC211E5BFC000E188E /* plugin_load.m */; };
10+
DF496AEC211E76020059EE2C /* Main.c in Sources */ = {isa = PBXBuildFile; fileRef = DF496AEB211E76020059EE2C /* Main.c */; };
11+
DFE300C5211E5B89000E188E /* Main.swift in Sources */ = {isa = PBXBuildFile; fileRef = DFE300C4211E5B89000E188E /* Main.swift */; };
12+
DFE300CD211E5BFC000E188E /* PluginLoad.m in Sources */ = {isa = PBXBuildFile; fileRef = DFE300CC211E5BFC000E188E /* PluginLoad.m */; };
1313
/* End PBXBuildFile section */
1414

1515
/* Begin PBXCopyFilesBuildPhase section */
@@ -25,9 +25,9 @@
2525
/* End PBXCopyFilesBuildPhase section */
2626

2727
/* Begin PBXFileReference section */
28-
DF05113E212621A000B993BA /* plugin_load.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = plugin_load.h; sourceTree = "<group>"; };
29-
DF496AEA211E76020059EE2C /* main.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = main.h; sourceTree = "<group>"; };
30-
DF496AEB211E76020059EE2C /* main.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; path = main.c; sourceTree = "<group>"; };
28+
DF05113E212621A000B993BA /* PluginLoad.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PluginLoad.h; sourceTree = "<group>"; };
29+
DF496AEA211E76020059EE2C /* Main.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Main.h; sourceTree = "<group>"; };
30+
DF496AEB211E76020059EE2C /* Main.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; path = Main.c; sourceTree = "<group>"; };
3131
DFD69E6F2126633300532B79 /* sendbutton.so */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.bundle"; name = sendbutton.so; path = ../../../../../usr/local/Cellar/pidgin/2.13.0_2/lib/pidgin/sendbutton.so; sourceTree = "<group>"; };
3232
DFD69E702126633300532B79 /* history.so */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.bundle"; name = history.so; path = ../../../../../usr/local/Cellar/pidgin/2.13.0_2/lib/pidgin/history.so; sourceTree = "<group>"; };
3333
DFD69E712126633300532B79 /* relnot.so */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.bundle"; name = relnot.so; path = ../../../../../usr/local/Cellar/pidgin/2.13.0_2/lib/pidgin/relnot.so; sourceTree = "<group>"; };
@@ -49,10 +49,10 @@
4949
DFD69E812126633300532B79 /* xmppconsole.so */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.bundle"; name = xmppconsole.so; path = ../../../../../usr/local/Cellar/pidgin/2.13.0_2/lib/pidgin/xmppconsole.so; sourceTree = "<group>"; };
5050
DFD69E95212663A100532B79 /* lib */ = {isa = PBXFileReference; lastKnownFileType = folder; name = lib; path = ../../../../../usr/local/Cellar/pidgin/2.13.0_2/lib; sourceTree = "<group>"; };
5151
DFD69E972126699A00532B79 /* pidgin */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.executable"; name = pidgin; path = ../../../../../usr/local/Cellar/pidgin/2.13.0_2/bin/pidgin; sourceTree = "<group>"; };
52-
DFE300C1211E5B89000E188E /* Pidgin MacOS Integration */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = "Pidgin MacOS Integration"; sourceTree = BUILT_PRODUCTS_DIR; };
53-
DFE300C4211E5B89000E188E /* main.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = main.swift; sourceTree = "<group>"; };
54-
DFE300CB211E5BFC000E188E /* Pidgin MacOS Integration-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Pidgin MacOS Integration-Bridging-Header.h"; sourceTree = "<group>"; };
55-
DFE300CC211E5BFC000E188E /* plugin_load.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = plugin_load.m; sourceTree = "<group>"; };
52+
DFE300C1211E5B89000E188E /* PidginMacOSIntegration */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = PidginMacOSIntegration; sourceTree = BUILT_PRODUCTS_DIR; };
53+
DFE300C4211E5B89000E188E /* Main.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Main.swift; sourceTree = "<group>"; };
54+
DFE300CB211E5BFC000E188E /* PidginMacOSIntegration-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "PidginMacOSIntegration-Bridging-Header.h"; sourceTree = "<group>"; };
55+
DFE300CC211E5BFC000E188E /* PluginLoad.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PluginLoad.m; sourceTree = "<group>"; };
5656
/* End PBXFileReference section */
5757

5858
/* Begin PBXFrameworksBuildPhase section */
@@ -97,39 +97,39 @@
9797
DFE300B8211E5B89000E188E = {
9898
isa = PBXGroup;
9999
children = (
100-
DFE300C3211E5B89000E188E /* Pidgin MacOS Integration */,
100+
DFE300C3211E5B89000E188E /* PidginMacOSItegration */,
101101
DFE300C2211E5B89000E188E /* Products */,
102-
DFE300CB211E5BFC000E188E /* Pidgin MacOS Integration-Bridging-Header.h */,
102+
DFE300CB211E5BFC000E188E /* PidginMacOSIntegration-Bridging-Header.h */,
103103
DFD69E6E2126633300532B79 /* Frameworks */,
104104
);
105105
sourceTree = "<group>";
106106
};
107107
DFE300C2211E5B89000E188E /* Products */ = {
108108
isa = PBXGroup;
109109
children = (
110-
DFE300C1211E5B89000E188E /* Pidgin MacOS Integration */,
110+
DFE300C1211E5B89000E188E /* PidginMacOSIntegration */,
111111
);
112112
name = Products;
113113
sourceTree = "<group>";
114114
};
115-
DFE300C3211E5B89000E188E /* Pidgin MacOS Integration */ = {
115+
DFE300C3211E5B89000E188E /* PidginMacOSItegration */ = {
116116
isa = PBXGroup;
117117
children = (
118-
DFE300CC211E5BFC000E188E /* plugin_load.m */,
119-
DF05113E212621A000B993BA /* plugin_load.h */,
120-
DFE300C4211E5B89000E188E /* main.swift */,
121-
DF496AEA211E76020059EE2C /* main.h */,
122-
DF496AEB211E76020059EE2C /* main.c */,
118+
DFE300CC211E5BFC000E188E /* PluginLoad.m */,
119+
DF05113E212621A000B993BA /* PluginLoad.h */,
120+
DFE300C4211E5B89000E188E /* Main.swift */,
121+
DF496AEA211E76020059EE2C /* Main.h */,
122+
DF496AEB211E76020059EE2C /* Main.c */,
123123
);
124-
path = "Pidgin MacOS Integration";
124+
path = PidginMacOSItegration;
125125
sourceTree = "<group>";
126126
};
127127
/* End PBXGroup section */
128128

129129
/* Begin PBXNativeTarget section */
130-
DFE300C0211E5B89000E188E /* Pidgin MacOS Integration */ = {
130+
DFE300C0211E5B89000E188E /* PidginMacOSIntegration */ = {
131131
isa = PBXNativeTarget;
132-
buildConfigurationList = DFE300C8211E5B89000E188E /* Build configuration list for PBXNativeTarget "Pidgin MacOS Integration" */;
132+
buildConfigurationList = DFE300C8211E5B89000E188E /* Build configuration list for PBXNativeTarget "PidginMacOSIntegration" */;
133133
buildPhases = (
134134
DFE300BD211E5B89000E188E /* Sources */,
135135
DFE300BE211E5B89000E188E /* Frameworks */,
@@ -139,9 +139,9 @@
139139
);
140140
dependencies = (
141141
);
142-
name = "Pidgin MacOS Integration";
143-
productName = "Pidgin MacOS Integration";
144-
productReference = DFE300C1211E5B89000E188E /* Pidgin MacOS Integration */;
142+
name = PidginMacOSIntegration;
143+
productName = "PidginMacOSIntegration";
144+
productReference = DFE300C1211E5B89000E188E /* PidginMacOSIntegration */;
145145
productType = "com.apple.product-type.tool";
146146
};
147147
/* End PBXNativeTarget section */
@@ -160,7 +160,7 @@
160160
};
161161
};
162162
};
163-
buildConfigurationList = DFE300BC211E5B89000E188E /* Build configuration list for PBXProject "Pidgin MacOS Integration" */;
163+
buildConfigurationList = DFE300BC211E5B89000E188E /* Build configuration list for PBXProject "PidginMacOSIntegration" */;
164164
compatibilityVersion = "Xcode 10.0";
165165
developmentRegion = en;
166166
hasScannedForEncodings = 0;
@@ -172,7 +172,7 @@
172172
projectDirPath = "";
173173
projectRoot = "";
174174
targets = (
175-
DFE300C0211E5B89000E188E /* Pidgin MacOS Integration */,
175+
DFE300C0211E5B89000E188E /* PidginMacOSIntegration */,
176176
);
177177
};
178178
/* End PBXProject section */
@@ -182,9 +182,9 @@
182182
isa = PBXSourcesBuildPhase;
183183
buildActionMask = 2147483647;
184184
files = (
185-
DFE300C5211E5B89000E188E /* main.swift in Sources */,
186-
DFE300CD211E5BFC000E188E /* plugin_load.m in Sources */,
187-
DF496AEC211E76020059EE2C /* main.c in Sources */,
185+
DFE300C5211E5B89000E188E /* Main.swift in Sources */,
186+
DFE300CD211E5BFC000E188E /* PluginLoad.m in Sources */,
187+
DF496AEC211E76020059EE2C /* Main.c in Sources */,
188188
);
189189
runOnlyForDeploymentPostprocessing = 0;
190190
};
@@ -361,9 +361,9 @@
361361
/usr/local/bin/pidgin,
362362
);
363363
PRODUCT_NAME = "${TARGET_NAME}";
364-
SWIFT_OBJC_BRIDGING_HEADER = "Pidgin MacOS Integration-Bridging-Header.h";
365-
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
366-
SWIFT_VERSION = 4.2;
364+
SWIFT_OBJC_BRIDGING_HEADER = "PidginMacOSIntegration-Bridging-Header.h";
365+
SWIFT_OPTIMIZATION_LEVEL = "-O";
366+
SWIFT_VERSION = 5.0;
367367
SYSTEM_HEADER_SEARCH_PATHS = (
368368
"/usr/local/opt/glib/include/**",
369369
"/usr/local/opt/glib/lib/glib-2.0/include/",
@@ -438,8 +438,8 @@
438438
/usr/local/bin/pidgin,
439439
);
440440
PRODUCT_NAME = "${TARGET_NAME}";
441-
SWIFT_OBJC_BRIDGING_HEADER = "Pidgin MacOS Integration-Bridging-Header.h";
442-
SWIFT_VERSION = 4.2;
441+
SWIFT_OBJC_BRIDGING_HEADER = "PidginMacOSIntegration-Bridging-Header.h";
442+
SWIFT_VERSION = 5.0;
443443
SYSTEM_HEADER_SEARCH_PATHS = (
444444
"/usr/local/opt/glib/include/**",
445445
"/usr/local/opt/glib/lib/glib-2.0/include/",
@@ -461,7 +461,7 @@
461461
/* End XCBuildConfiguration section */
462462

463463
/* Begin XCConfigurationList section */
464-
DFE300BC211E5B89000E188E /* Build configuration list for PBXProject "Pidgin MacOS Integration" */ = {
464+
DFE300BC211E5B89000E188E /* Build configuration list for PBXProject "PidginMacOSIntegration" */ = {
465465
isa = XCConfigurationList;
466466
buildConfigurations = (
467467
DFE300C6211E5B89000E188E /* Debug */,
@@ -470,7 +470,7 @@
470470
defaultConfigurationIsVisible = 0;
471471
defaultConfigurationName = Release;
472472
};
473-
DFE300C8211E5B89000E188E /* Build configuration list for PBXNativeTarget "Pidgin MacOS Integration" */ = {
473+
DFE300C8211E5B89000E188E /* Build configuration list for PBXNativeTarget "PidginMacOSIntegration" */ = {
474474
isa = XCConfigurationList;
475475
buildConfigurations = (
476476
DFE300C9211E5B89000E188E /* Debug */,

Pidgin MacOS Integration.xcodeproj/project.xcworkspace/contents.xcworkspacedata renamed to PidginMacOSIntegration.xcodeproj/project.xcworkspace/contents.xcworkspacedata

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Pidgin MacOS Integration/main.c renamed to PidginMacOSItegration/Main.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
//
2-
// main.c
2+
// Main.c
33
// Pidgin MacOS Integration
44
//
55
// Created by Agalin on 11.08.2018.
66
// Copyright © 2018 Agalin. All rights reserved.
77
//
88

9-
#include "main.h"
9+
#include "Main.h"
1010

1111
#define PURPLE_PLUGINS
1212

@@ -17,7 +17,7 @@
1717
#include "plugin.h"
1818
#include "version.h"
1919

20-
#include "plugin_load.h"
20+
#include "PluginLoad.h"
2121

2222
extern PurplePluginUiInfo ui_info;
2323

Pidgin MacOS Integration/main.h renamed to PidginMacOSItegration/Main.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//
2-
// main.h
2+
// Main.h
33
// Pidgin MacOS Integration
44
//
55
// Created by Agalin on 11.08.2018.

Pidgin MacOS Integration/plugin_load.m renamed to PidginMacOSItegration/PluginLoad.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
// Copyright © 2018 Agalin. All rights reserved.
77
//
88

9-
#import "plugin_load.h"
9+
#import "PluginLoad.h"
1010
#import <Foundation/Foundation.h>
11-
#import "Pidgin_MacOS_Integration-Swift.h"
11+
#import "PidginMacOSIntegration-Swift.h"
1212

1313
void log_callback(const char* category, const char* message, const char* callback);
1414

0 commit comments

Comments
 (0)