chore: migrate to new version + fixed several critical bugs

- Migrated project to latest Telegram iOS base (v12.3.2+)
- Fixed circular dependency between GhostModeManager and MiscSettingsManager
- Fixed multiple Bazel build configuration errors (select() default conditions)
- Fixed duplicate type definitions in PeerInfoScreen
- Fixed swiftmodule directory resolution in build scripts
- Added Ghostgram Settings tab in main Settings menu with all 5 features
- Cleared sensitive credentials from config.json (template-only now)
- Excluded bazel-cache from version control
This commit is contained in:
ichmagmaus 812
2026-02-23 23:04:32 +01:00
parent 703e291bcb
commit db53826061
1017 changed files with 62323 additions and 40545 deletions
@@ -0,0 +1,22 @@
objc_library(
name = "MeshTransformApi",
enable_modules = True,
module_name = "MeshTransformApi",
srcs = glob([
"Sources/*.m",
]),
hdrs = glob([
"PublicHeaders/**/*.h",
]),
includes = [
"PublicHeaders",
],
sdk_frameworks = [
"Foundation",
"UIKit",
],
visibility = [
"//visibility:public",
],
)
@@ -0,0 +1,33 @@
#ifndef MeshTransformApi_h
#define MeshTransformApi_h
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
typedef struct MeshTransformMeshFace {
unsigned int indices[4];
float w[4];
} MeshTransformMeshFace;
typedef struct MeshTransformPoint3D {
CGFloat x;
CGFloat y;
CGFloat z;
} MeshTransformPoint3D;
typedef struct MeshTransformMeshVertex {
CGPoint from;
MeshTransformPoint3D to;
} MeshTransformMeshVertex;
@protocol MeshTransformClass <NSObject>
- (id)meshTransformWithVertexCount:(NSUInteger)vertexCount
vertices:(MeshTransformMeshVertex *)vertices
faceCount:(NSUInteger)faceCount
faces:(MeshTransformMeshFace *)faces
depthNormalization:(NSString *)depthNormalization;
@end
#endif
@@ -0,0 +1,2 @@
#import <MeshTransformApi/MeshTransformApi.h>