Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
152aaf8
Suggested changes.
johnno1962 Apr 21, 2026
8ae418d
Debug only.
johnno1962 Apr 21, 2026
f31c17d
To discuss.
johnno1962 Apr 21, 2026
ec3d144
Compatibility.
johnno1962 Apr 21, 2026
d42ac3d
Tweak titles.
johnno1962 Apr 21, 2026
6156955
Tooltips, more environment vars.
johnno1962 Apr 21, 2026
8b72919
More Tooltips.
johnno1962 Apr 21, 2026
f4eec93
Overdue for reuse.
johnno1962 Apr 21, 2026
d64e83b
Missed the boat reconstructing PR.
johnno1962 Apr 21, 2026
6e980c9
Is client Connected?
johnno1962 Apr 21, 2026
068bbfc
Disarm bear trap, FrontendServer needs to start first.
johnno1962 Apr 21, 2026
735801f
Capturing logs was inhibiting my debug prints.
johnno1962 Apr 21, 2026
c88f585
Update App/InjectionNext/Views/FileWatcherSettingsView.swift
johnno1962 Apr 21, 2026
130f273
Update App/InjectionNext/Views/BuildSystemSettingsView.swift
johnno1962 Apr 21, 2026
a7c60c2
Update App/InjectionNext/ConfigStore.swift
johnno1962 Apr 21, 2026
ff21627
D'oh
johnno1962 Apr 21, 2026
8e92360
Update App/InjectionNext/Views/XcodeSettingsView.swift
johnno1962 Apr 21, 2026
d7282fa
Change default arguments text.
johnno1962 Apr 21, 2026
46641f0
Update App/InjectionNext/Views/StatusMenuView.swift
johnno1962 Apr 21, 2026
5bb066f
Update App/InjectionNext/Views/XcodeSettingsView.swift
johnno1962 Apr 21, 2026
fd973bd
Update App/InjectionNext/AppDelegate.swift
johnno1962 Apr 21, 2026
ec1be47
Move away from print for debugs.
johnno1962 Apr 21, 2026
04c7495
Recover Defaults.swift fro InjectionIII.
johnno1962 Apr 21, 2026
0084513
Debug prints on #DEBUG or INJECTION_DEBUG anv var.
johnno1962 Apr 21, 2026
5714dbf
More env vars, connected status.
johnno1962 Apr 21, 2026
9295705
Tracing preferences.
johnno1962 Apr 21, 2026
13f1a68
docs(todo): flesh out 2.0 Next section with fork-discovered items (#142)
maatheusgois-dd Apr 22, 2026
985e359
Update App/InjectionNext/Defaults.swift
johnno1962 Apr 22, 2026
ac7559a
Update App/InjectionNext/Views/XcodeSettingsView.swift
johnno1962 Apr 22, 2026
982d7f6
Update App/InjectionNext/Views/XcodeSettingsView.swift
johnno1962 Apr 22, 2026
821d6d4
Update App/InjectionNext/ConfigStore.swift
johnno1962 Apr 22, 2026
765220e
For rellease
johnno1962 Apr 22, 2026
8af79c5
Reinstate project path further down pane.
johnno1962 Apr 22, 2026
f74a900
UNSETENV_VALUE
johnno1962 Apr 22, 2026
1028341
Consolidate.
johnno1962 Apr 22, 2026
e4e358b
Update App/InjectionNext/InjectionHybrid.swift
johnno1962 Apr 22, 2026
941e3ea
Enough already.
johnno1962 Apr 22, 2026
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
Prev Previous commit
Next Next commit
Capturing logs was inhibiting my debug prints.
  • Loading branch information
johnno1962 committed Apr 21, 2026
commit 735801fb84a3b002fd2987f3452f15dc0770b9ed
2 changes: 1 addition & 1 deletion App/InjectionNext/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,8 @@ class AppDelegate: NSObject, NSApplicationDelegate {
_ = MonitorXcode(args: " '\(project)'")
}

LogManager.shared.startCapturing()
if Defaults.mcpServer {
LogManager.shared.startCapturing()
ControlServer.start()
}
}
Expand Down
2 changes: 1 addition & 1 deletion App/InjectionNext/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<key>CFBundleShortVersionString</key>
<string>$(MARKETING_VERSION)</string>
<key>CFBundleVersion</key>
<string>14134</string>
<string>14137</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.developer-tools</string>
<key>LSMinimumSystemVersion</key>
Expand Down
6 changes: 3 additions & 3 deletions Sources/InjectionNextC/SimpleSocket.mm
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,9 @@ - (instancetype)initSocket:(int)socket {
}
return self;
}
- (FILE *_Nullable)fdopenForMode:(const char * _Nonnull)mode {
return fdopen(clientSocket, mode);
}

- (void)run {
[self performSelectorInBackground:@selector(runInBackground) withObject:nil];
Expand Down Expand Up @@ -353,9 +356,6 @@ - (BOOL)recvFile:(NSString *)path {
fclose(output);
return pos == sz;
}
- (FILE *_Nullable)fdopenForMode:(const char * _Nonnull)mode {
return fdopen(clientSocket, mode);
}

- (void)dealloc {
close(clientSocket);
Expand Down
3 changes: 1 addition & 2 deletions Sources/InjectionNextC/include/SimpleSocket.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
+ (int)error:(NSString *_Nonnull)message;
+ (void)stopLastServer;

- (instancetype _Nonnull)initSocket:(int)socket;
+ (instancetype _Nullable)connectTo:(NSString *_Nonnull)address;
+ (BOOL)parseV4Address:(NSString *_Nonnull)address into:(struct sockaddr_storage *_Nonnull)serverAddr;

Expand All @@ -33,6 +32,7 @@
message:(const char *_Nonnull)format;

- (instancetype _Nonnull)initSocket:(int)socket;
- (FILE *_Nullable)fdopenForMode:(const char * _Nonnull)mode;

Comment thread
johnno1962 marked this conversation as resolved.
- (void)run;
- (void)runInBackground;
Expand All @@ -51,7 +51,6 @@
- (BOOL)writeCommand:(int)command withString:(NSString *_Nullable)string;
- (BOOL)sendFile:(NSString *_Nonnull)path;
- (BOOL)recvFile:(NSString *_Nonnull)path;
- (FILE *_Nullable)fdopenForMode:(const char * _Nonnull)mode;

@end

Expand Down