Skip to content

Commit f72d48f

Browse files
authored
Merge pull request #244 from powersync-ja/update-powersync
Update PowerSync core to 0.3.10
2 parents c0d44cb + d75856d commit f72d48f

File tree

59 files changed

+1757
-1324
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+1757
-1324
lines changed

demos/benchmarks/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@
55
*.swp
66
.DS_Store
77
.atom/
8+
.build/
89
.buildlog/
910
.history
1011
.svn/
12+
.swiftpm/
1113
migrate_working_dir/
1214

1315
# IntelliJ related

demos/benchmarks/ios/Podfile.lock

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
PODS:
2+
- Flutter (1.0.0)
3+
- path_provider_foundation (0.0.1):
4+
- Flutter
5+
- FlutterMacOS
6+
- powersync-sqlite-core (0.3.10)
7+
- powersync_flutter_libs (0.0.1):
8+
- Flutter
9+
- powersync-sqlite-core (~> 0.3.10)
10+
- "sqlite3 (3.46.1+1)":
11+
- "sqlite3/common (= 3.46.1+1)"
12+
- "sqlite3/common (3.46.1+1)"
13+
- "sqlite3/dbstatvtab (3.46.1+1)":
14+
- sqlite3/common
15+
- "sqlite3/fts5 (3.46.1+1)":
16+
- sqlite3/common
17+
- "sqlite3/perf-threadsafe (3.46.1+1)":
18+
- sqlite3/common
19+
- "sqlite3/rtree (3.46.1+1)":
20+
- sqlite3/common
21+
- sqlite3_flutter_libs (0.0.1):
22+
- Flutter
23+
- "sqlite3 (~> 3.46.0+1)"
24+
- sqlite3/dbstatvtab
25+
- sqlite3/fts5
26+
- sqlite3/perf-threadsafe
27+
- sqlite3/rtree
28+
29+
DEPENDENCIES:
30+
- Flutter (from `Flutter`)
31+
- path_provider_foundation (from `.symlinks/plugins/path_provider_foundation/darwin`)
32+
- powersync_flutter_libs (from `.symlinks/plugins/powersync_flutter_libs/ios`)
33+
- sqlite3_flutter_libs (from `.symlinks/plugins/sqlite3_flutter_libs/ios`)
34+
35+
SPEC REPOS:
36+
trunk:
37+
- powersync-sqlite-core
38+
- sqlite3
39+
40+
EXTERNAL SOURCES:
41+
Flutter:
42+
:path: Flutter
43+
path_provider_foundation:
44+
:path: ".symlinks/plugins/path_provider_foundation/darwin"
45+
powersync_flutter_libs:
46+
:path: ".symlinks/plugins/powersync_flutter_libs/ios"
47+
sqlite3_flutter_libs:
48+
:path: ".symlinks/plugins/sqlite3_flutter_libs/ios"
49+
50+
SPEC CHECKSUMS:
51+
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
52+
path_provider_foundation: 080d55be775b7414fd5a5ef3ac137b97b097e564
53+
powersync-sqlite-core: c7045a44bb1040485ba46b42a3b0acaed424a5cd
54+
powersync_flutter_libs: f33ed290b2813a13809ea4f0e6ae6621f3de8218
55+
sqlite3: 0bb0e6389d824e40296f531b858a2a0b71c0d2fb
56+
sqlite3_flutter_libs: 9379996d65aa23dcda7585a5b58766cebe0aa042
57+
58+
PODFILE CHECKSUM: 819463e6a0290f5a72f145ba7cde16e8b6ef0796
59+
60+
COCOAPODS: 1.16.2

demos/benchmarks/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; };
1111
331C808B294A63AB00263BE5 /* RunnerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 331C807B294A618700263BE5 /* RunnerTests.swift */; };
1212
3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };
13+
55BE373CCF1ED6423F7C9F13 /* Pods_RunnerTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D17B4AC493F667F33A6813D1 /* Pods_RunnerTests.framework */; };
14+
6A8AE5F30479FC94C3BB9A5F /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B97B2AC19F853FF3853B5B33 /* Pods_Runner.framework */; };
1315
74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; };
1416
97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
1517
97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };
@@ -42,9 +44,11 @@
4244
/* Begin PBXFileReference section */
4345
1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = "<group>"; };
4446
1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = "<group>"; };
47+
1908EB9C1E3CC625229434C8 /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = "<group>"; };
4548
331C807B294A618700263BE5 /* RunnerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RunnerTests.swift; sourceTree = "<group>"; };
4649
331C8081294A63A400263BE5 /* RunnerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RunnerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
4750
3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = "<group>"; };
51+
720A51B109D82B5D4BF97A08 /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = "<group>"; };
4852
74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = "<group>"; };
4953
74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
5054
7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = "<group>"; };
@@ -55,19 +59,43 @@
5559
97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
5660
97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
5761
97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
62+
AF9A1EC87465D4CBAC91D6D6 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = "<group>"; };
63+
B97B2AC19F853FF3853B5B33 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; };
64+
C574CE2DA7DA60333EA773D8 /* Pods-RunnerTests.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.profile.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.profile.xcconfig"; sourceTree = "<group>"; };
65+
D17B4AC493F667F33A6813D1 /* Pods_RunnerTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RunnerTests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
66+
D9BAE173C885D5787C363140 /* Pods-RunnerTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.release.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.release.xcconfig"; sourceTree = "<group>"; };
67+
EFDD574E630EAAEB09F77C18 /* Pods-RunnerTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.debug.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.debug.xcconfig"; sourceTree = "<group>"; };
5868
/* End PBXFileReference section */
5969

6070
/* Begin PBXFrameworksBuildPhase section */
71+
5D7C45551C3DD3F3DB7C2457 /* Frameworks */ = {
72+
isa = PBXFrameworksBuildPhase;
73+
buildActionMask = 2147483647;
74+
files = (
75+
55BE373CCF1ED6423F7C9F13 /* Pods_RunnerTests.framework in Frameworks */,
76+
);
77+
runOnlyForDeploymentPostprocessing = 0;
78+
};
6179
97C146EB1CF9000F007C117D /* Frameworks */ = {
6280
isa = PBXFrameworksBuildPhase;
6381
buildActionMask = 2147483647;
6482
files = (
83+
6A8AE5F30479FC94C3BB9A5F /* Pods_Runner.framework in Frameworks */,
6584
);
6685
runOnlyForDeploymentPostprocessing = 0;
6786
};
6887
/* End PBXFrameworksBuildPhase section */
6988

7089
/* Begin PBXGroup section */
90+
27D7B259814214C290142B81 /* Frameworks */ = {
91+
isa = PBXGroup;
92+
children = (
93+
B97B2AC19F853FF3853B5B33 /* Pods_Runner.framework */,
94+
D17B4AC493F667F33A6813D1 /* Pods_RunnerTests.framework */,
95+
);
96+
name = Frameworks;
97+
sourceTree = "<group>";
98+
};
7199
331C8082294A63A400263BE5 /* RunnerTests */ = {
72100
isa = PBXGroup;
73101
children = (
@@ -94,6 +122,8 @@
94122
97C146F01CF9000F007C117D /* Runner */,
95123
97C146EF1CF9000F007C117D /* Products */,
96124
331C8082294A63A400263BE5 /* RunnerTests */,
125+
A18EAFE14B4E966837146A32 /* Pods */,
126+
27D7B259814214C290142B81 /* Frameworks */,
97127
);
98128
sourceTree = "<group>";
99129
};
@@ -121,15 +151,31 @@
121151
path = Runner;
122152
sourceTree = "<group>";
123153
};
154+
A18EAFE14B4E966837146A32 /* Pods */ = {
155+
isa = PBXGroup;
156+
children = (
157+
720A51B109D82B5D4BF97A08 /* Pods-Runner.debug.xcconfig */,
158+
AF9A1EC87465D4CBAC91D6D6 /* Pods-Runner.release.xcconfig */,
159+
1908EB9C1E3CC625229434C8 /* Pods-Runner.profile.xcconfig */,
160+
EFDD574E630EAAEB09F77C18 /* Pods-RunnerTests.debug.xcconfig */,
161+
D9BAE173C885D5787C363140 /* Pods-RunnerTests.release.xcconfig */,
162+
C574CE2DA7DA60333EA773D8 /* Pods-RunnerTests.profile.xcconfig */,
163+
);
164+
name = Pods;
165+
path = Pods;
166+
sourceTree = "<group>";
167+
};
124168
/* End PBXGroup section */
125169

126170
/* Begin PBXNativeTarget section */
127171
331C8080294A63A400263BE5 /* RunnerTests */ = {
128172
isa = PBXNativeTarget;
129173
buildConfigurationList = 331C8087294A63A400263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */;
130174
buildPhases = (
175+
61C5943B6BDAA164BA64B268 /* [CP] Check Pods Manifest.lock */,
131176
331C807D294A63A400263BE5 /* Sources */,
132177
331C807F294A63A400263BE5 /* Resources */,
178+
5D7C45551C3DD3F3DB7C2457 /* Frameworks */,
133179
);
134180
buildRules = (
135181
);
@@ -145,12 +191,14 @@
145191
isa = PBXNativeTarget;
146192
buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
147193
buildPhases = (
194+
2D6D7232986C3A8199CBAED1 /* [CP] Check Pods Manifest.lock */,
148195
9740EEB61CF901F6004384FC /* Run Script */,
149196
97C146EA1CF9000F007C117D /* Sources */,
150197
97C146EB1CF9000F007C117D /* Frameworks */,
151198
97C146EC1CF9000F007C117D /* Resources */,
152199
9705A1C41CF9048500538489 /* Embed Frameworks */,
153200
3B06AD1E1E4923F5004D2608 /* Thin Binary */,
201+
EFB7574570F19652665668DF /* [CP] Embed Pods Frameworks */,
154202
);
155203
buildRules = (
156204
);
@@ -222,6 +270,28 @@
222270
/* End PBXResourcesBuildPhase section */
223271

224272
/* Begin PBXShellScriptBuildPhase section */
273+
2D6D7232986C3A8199CBAED1 /* [CP] Check Pods Manifest.lock */ = {
274+
isa = PBXShellScriptBuildPhase;
275+
buildActionMask = 2147483647;
276+
files = (
277+
);
278+
inputFileListPaths = (
279+
);
280+
inputPaths = (
281+
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
282+
"${PODS_ROOT}/Manifest.lock",
283+
);
284+
name = "[CP] Check Pods Manifest.lock";
285+
outputFileListPaths = (
286+
);
287+
outputPaths = (
288+
"$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt",
289+
);
290+
runOnlyForDeploymentPostprocessing = 0;
291+
shellPath = /bin/sh;
292+
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
293+
showEnvVarsInLog = 0;
294+
};
225295
3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
226296
isa = PBXShellScriptBuildPhase;
227297
alwaysOutOfDate = 1;
@@ -238,6 +308,28 @@
238308
shellPath = /bin/sh;
239309
shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin";
240310
};
311+
61C5943B6BDAA164BA64B268 /* [CP] Check Pods Manifest.lock */ = {
312+
isa = PBXShellScriptBuildPhase;
313+
buildActionMask = 2147483647;
314+
files = (
315+
);
316+
inputFileListPaths = (
317+
);
318+
inputPaths = (
319+
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
320+
"${PODS_ROOT}/Manifest.lock",
321+
);
322+
name = "[CP] Check Pods Manifest.lock";
323+
outputFileListPaths = (
324+
);
325+
outputPaths = (
326+
"$(DERIVED_FILE_DIR)/Pods-RunnerTests-checkManifestLockResult.txt",
327+
);
328+
runOnlyForDeploymentPostprocessing = 0;
329+
shellPath = /bin/sh;
330+
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
331+
showEnvVarsInLog = 0;
332+
};
241333
9740EEB61CF901F6004384FC /* Run Script */ = {
242334
isa = PBXShellScriptBuildPhase;
243335
alwaysOutOfDate = 1;
@@ -253,6 +345,23 @@
253345
shellPath = /bin/sh;
254346
shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
255347
};
348+
EFB7574570F19652665668DF /* [CP] Embed Pods Frameworks */ = {
349+
isa = PBXShellScriptBuildPhase;
350+
buildActionMask = 2147483647;
351+
files = (
352+
);
353+
inputFileListPaths = (
354+
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist",
355+
);
356+
name = "[CP] Embed Pods Frameworks";
357+
outputFileListPaths = (
358+
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist",
359+
);
360+
runOnlyForDeploymentPostprocessing = 0;
361+
shellPath = /bin/sh;
362+
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
363+
showEnvVarsInLog = 0;
364+
};
256365
/* End PBXShellScriptBuildPhase section */
257366

258367
/* Begin PBXSourcesBuildPhase section */
@@ -378,6 +487,7 @@
378487
};
379488
331C8088294A63A400263BE5 /* Debug */ = {
380489
isa = XCBuildConfiguration;
490+
baseConfigurationReference = EFDD574E630EAAEB09F77C18 /* Pods-RunnerTests.debug.xcconfig */;
381491
buildSettings = {
382492
BUNDLE_LOADER = "$(TEST_HOST)";
383493
CODE_SIGN_STYLE = Automatic;
@@ -395,6 +505,7 @@
395505
};
396506
331C8089294A63A400263BE5 /* Release */ = {
397507
isa = XCBuildConfiguration;
508+
baseConfigurationReference = D9BAE173C885D5787C363140 /* Pods-RunnerTests.release.xcconfig */;
398509
buildSettings = {
399510
BUNDLE_LOADER = "$(TEST_HOST)";
400511
CODE_SIGN_STYLE = Automatic;
@@ -410,6 +521,7 @@
410521
};
411522
331C808A294A63A400263BE5 /* Profile */ = {
412523
isa = XCBuildConfiguration;
524+
baseConfigurationReference = C574CE2DA7DA60333EA773D8 /* Pods-RunnerTests.profile.xcconfig */;
413525
buildSettings = {
414526
BUNDLE_LOADER = "$(TEST_HOST)";
415527
CODE_SIGN_STYLE = Automatic;

demos/benchmarks/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
ignoresPersistentStateOnLaunch = "NO"
6060
debugDocumentVersioning = "YES"
6161
debugServiceExtension = "internal"
62+
enableGPUValidationMode = "1"
6263
allowLocationSimulation = "YES">
6364
<BuildableProductRunnable
6465
runnableDebuggingMode = "0">

demos/benchmarks/ios/Runner.xcworkspace/contents.xcworkspacedata

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demos/benchmarks/ios/Runner/AppDelegate.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import Flutter
22
import UIKit
33

4-
@UIApplicationMain
4+
@main
55
@objc class AppDelegate: FlutterAppDelegate {
66
override func application(
77
_ application: UIApplication,

0 commit comments

Comments
 (0)