peachsim 0.1.2255 → 0.1.2257

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (116) hide show
  1. package/cli/bridge-flow-runner.ts +41 -0
  2. package/cli/commands/control.ts +8 -2
  3. package/cli/commands/flow.ts +9 -0
  4. package/cli/commands/swift.ts +5 -0
  5. package/cli/current-sim.ts +23 -15
  6. package/cli/outbound-endpoints.ts +0 -2
  7. package/cli/secure-file.ts +8 -2
  8. package/dist-lib/agent-daemon-client.cjs +1 -1
  9. package/dist-lib/agent-events.cjs +1 -1
  10. package/dist-lib/attached-projects.cjs +1 -1
  11. package/dist-lib/auth/shared-session.cjs +1 -1
  12. package/dist-lib/backend-origin.cjs +1 -1
  13. package/dist-lib/beta.cjs +1 -1
  14. package/dist-lib/beta.mjs +1 -1
  15. package/dist-lib/bridge-constants.cjs +1 -1
  16. package/dist-lib/bridge-contract-input.cjs +1 -1
  17. package/dist-lib/bridge-contract-input.mjs +1 -1
  18. package/dist-lib/bridge-contract.cjs +1 -1
  19. package/dist-lib/bridge-contract.mjs +1 -1
  20. package/dist-lib/bundle-channel.cjs +390 -130
  21. package/dist-lib/capture-contract.cjs +1 -1
  22. package/dist-lib/capture-contract.mjs +1 -1
  23. package/dist-lib/cloud-contract.cjs +1 -1
  24. package/dist-lib/cloud-contract.mjs +1 -1
  25. package/dist-lib/cloud-test-args.cjs +1 -1
  26. package/dist-lib/cloud-test-args.mjs +1 -1
  27. package/dist-lib/cloud.cjs +1 -1
  28. package/dist-lib/cloud.mjs +1 -1
  29. package/dist-lib/config.cjs +1 -1
  30. package/dist-lib/config.mjs +1 -1
  31. package/dist-lib/detox/index.cjs +16 -12
  32. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  33. package/dist-lib/expo-swift-bundle.cjs +352 -113
  34. package/dist-lib/expo-swift-metadata.cjs +1 -1
  35. package/dist-lib/expo-swift-metadata.mjs +1 -1
  36. package/dist-lib/home-paths.cjs +1 -1
  37. package/dist-lib/host/bridge-host.cjs +911 -582
  38. package/dist-lib/host/fetch-proxy-handler.cjs +3607 -1627
  39. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  40. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  41. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  42. package/dist-lib/host/websocket-proxy.cjs +1 -1
  43. package/dist-lib/index.cjs +12611 -11232
  44. package/dist-lib/jump-to-source-babel.cjs +1 -1
  45. package/dist-lib/jump-to-source-native.cjs +1 -1
  46. package/dist-lib/kotlin-host.cjs +5 -4
  47. package/dist-lib/menu.cjs +1 -1
  48. package/dist-lib/menu.mjs +1 -1
  49. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  50. package/dist-lib/metro-fingerprint-registry.mjs +1 -1
  51. package/dist-lib/metro-production-bundle.cjs +1 -1
  52. package/dist-lib/metro-production-bundle.mjs +1 -1
  53. package/dist-lib/metro.cjs +9700 -8326
  54. package/dist-lib/native-app-identity-project.cjs +2 -2
  55. package/dist-lib/native-app-identity-project.mjs +2 -2
  56. package/dist-lib/native-app-identity.cjs +1 -1
  57. package/dist-lib/native-app-identity.mjs +1 -1
  58. package/dist-lib/native-firebase-metadata.cjs +1 -1
  59. package/dist-lib/native-firebase-metadata.mjs +1 -1
  60. package/dist-lib/pdfium-raster.cjs +1 -1
  61. package/dist-lib/pdfium-raster.mjs +1 -1
  62. package/dist-lib/plist.cjs +1 -1
  63. package/dist-lib/plist.mjs +1 -1
  64. package/dist-lib/profiles.cjs +1 -1
  65. package/dist-lib/public-brand.cjs +1 -1
  66. package/dist-lib/public-origins-lib-esm.json +24 -24
  67. package/dist-lib/public-origins-lib.json +606 -228
  68. package/dist-lib/react-native-host-modules.cjs +1 -1
  69. package/dist-lib/react-native-host-modules.mjs +1 -1
  70. package/dist-lib/reap-browser.cjs +1 -1
  71. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  72. package/dist-lib/sdk.cjs +1 -1
  73. package/dist-lib/sdk.mjs +1 -1
  74. package/dist-lib/skills.cjs +1164 -784
  75. package/dist-lib/swift-compile.cjs +334 -99
  76. package/dist-lib/swift-compile.mjs +334 -99
  77. package/dist-lib/swift-package.cjs +1 -1
  78. package/dist-lib/swift-package.mjs +1 -1
  79. package/dist-lib/swift-submit.cjs +1 -1
  80. package/dist-lib/swift-submit.mjs +1 -1
  81. package/dist-lib/swift-toolchain.cjs +1 -1
  82. package/dist-lib/swift.cjs +1 -1
  83. package/dist-lib/vite-swift.cjs +335 -100
  84. package/dist-lib/vite.cjs +4729 -2900
  85. package/dist-lib/worklet-executable.cjs +1 -1
  86. package/dist-lib/worklet-executable.mjs +1 -1
  87. package/dist-types/packages/peach-engine/src/render-worker/reanimated-readiness.d.ts +1 -0
  88. package/dist-types/packages/peach-globals/src/appLifecycleBridgeContract.d.ts +1 -0
  89. package/dist-types/packages/peach-globals/src/index.d.ts +1 -0
  90. package/dist-types/packages/peach-globals/src/lockstepCaptureBridgeContract.d.ts +1 -0
  91. package/dist-types/packages/peach-kit/src/transitions/screen-transition-math.d.ts +6 -0
  92. package/java-platform/licenses/android.txt +183 -0
  93. package/java-platform/licenses/arm-optimized-routines.txt +256 -0
  94. package/java-platform/licenses/fdlibm.txt +72 -0
  95. package/java-platform/licenses/icu.txt +50 -0
  96. package/java-platform/licenses/openjdk.txt +395 -0
  97. package/java-platform/licenses/teavm.txt +182 -0
  98. package/java-platform/licenses/threeten-backport.txt +29 -0
  99. package/kotlin/README.md +1 -1
  100. package/kotlin/sdk.tar.gz +0 -0
  101. package/package.json +2 -1
  102. package/runtime-companion.json +1 -1
  103. package/src/expo-autolinking.ts +47 -4
  104. package/src/expo-pod-prebuilt.ts +96 -9
  105. package/src/expo-swift-host.ts +29 -9
  106. package/src/kotlin-host.ts +3 -2
  107. package/src/kotlinSdkContract.ts +1 -0
  108. package/src/native-package-slice.ts +810 -0
  109. package/src/native-prebuilt.ts +4 -0
  110. package/src/native-seam-manifest.ts +0 -8
  111. package/src/nitro-adapter.lock.json +255 -255
  112. package/src/nitro-superset.lock.json +4 -4
  113. package/src/swift-distribution.lock.json +11 -11
  114. package/src/swift-link-roots.ts +23 -22
  115. package/src/swift-wasm-prune.ts +436 -105
  116. package/src/turbo-runtime.lock.json +23 -23
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2255 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2257 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2255 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2257 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/worklet-executable.ts
4
4
  import { parse } from "acorn";
@@ -23,6 +23,7 @@ export declare function observeReanimatedSetter(mutable: object, value: unknown,
23
23
  export declare function observeAnimationFrameRequest(callback: FrameRequestCallback): void;
24
24
  export declare function requestPlaybackFrame(isPlayback: () => boolean, request: () => number): number;
25
25
  export declare function isBackgroundAnimationFrame(callback: FrameRequestCallback): boolean;
26
+ export declare function classifiesAnimationFrame(callback: FrameRequestCallback): boolean;
26
27
  export declare function isBackgroundRepeatAnimation(animation: object): boolean;
27
28
  export type SharedValuePlayback = 'idle' | 'blocking' | 'background';
28
29
  export declare function setDerivedValuePlayback(value: object, playback: SharedValuePlayback): void;
@@ -1,5 +1,6 @@
1
1
  import type { MaybeAsync } from './bridgeContract.d.ts';
2
2
  export type SootSimLaunchArguments = Record<string, unknown>;
3
+ export declare const PEACH_FINAL_LAUNCH_GLOBAL = "__peachFinalLaunch";
3
4
  export interface SootSimExternalAppLifecycleOptions {
4
5
  launchArguments?: SootSimLaunchArguments | null;
5
6
  initialUrl?: string | null;
@@ -38,6 +38,7 @@ export type { SootSimRenderActivityState, SootSimShellSceneFanoutStats, SootSimA
38
38
  export type { PeachAnimatedExecution, CompositorStepPhases, PeachLockstepTenantFrame, SootSimLockstepFrameReceipt, LockstepInputReceipt, LockstepScheduledInput, SootSimLockstepCaptureController, SootSimLockstepCaptureBridge, } from './lockstepCaptureBridgeContract.d.ts';
39
39
  export type { LockstepFramePosition, PointerDeliveryTarget, PointerDeliveryPendingDrop, PointerDeliveryStats, SootSimShellHostBridge, } from './shellHostBridgeContract.d.ts';
40
40
  export type { SootSimLaunchArguments, SootSimExternalAppLifecycleOptions, SootSimStorageResetStrategy, SootSimExternalAppResetOptions, SootSimExternalAppResetResult, SootSimExternalAppStorageClearOptions, SootSimWebStorageName, SootSimHotRemountBridge, } from './appLifecycleBridgeContract.d.ts';
41
+ export { PEACH_FINAL_LAUNCH_GLOBAL } from './appLifecycleBridgeContract.d.ts';
41
42
  export type { SootSimSettingsBridge } from './settingsBridgeContract.d.ts';
42
43
  export { SOOTSIM_CAPTURE_IMAGE_QUALITY, sootsimCaptureIsFlat, } from './captureBridgeContract.d.ts';
43
44
  export type { SootSimCaptureFilter, SootSimCaptureOptions } from './captureBridgeContract.d.ts';
@@ -30,6 +30,7 @@ export interface CompositorStepPhases {
30
30
  produceMs: number;
31
31
  admissionWaitMs: number;
32
32
  imageWaitMs: number;
33
+ settleWaitMs: number;
33
34
  pageShownMs: number;
34
35
  producedFrames: number;
35
36
  transitionPaint: boolean;
@@ -726,6 +726,12 @@ export declare const SHEET_DETENT_HORIZONTAL_INSET = 8;
726
726
  export declare const FORM_SHEET_SYSTEM_CORNER_RADIUS = 38;
727
727
  export declare const FORM_SHEET_SYSTEM_BOTTOM_CORNER_RADIUS = 54;
728
728
  export declare const FORM_SHEET_INSET_CARD_TOP_CORNER_RADIUS = 40;
729
+ export declare function floatsOpenDuoSheet(spec: {
730
+ model: string;
731
+ posture?: string;
732
+ width: number;
733
+ height: number;
734
+ }): boolean;
729
735
  export declare function formSheetInsetCardCornerRadii(display: {
730
736
  bottomLeft: number;
731
737
  bottomRight: number;
@@ -0,0 +1,183 @@
1
+ overlay/java/util/TimeZoneOffsets.java ports the raw offset and DST savings rules of
2
+ com.android.i18n.timezone.ZoneInfoData (Android external/icu android_icu4j/libcore_bridge,
3
+ android17-release).
4
+ Copyright (C) 2007 The Android Open Source Project
5
+
6
+ Licensed under the Apache License, Version 2.0:
7
+
8
+ Apache License
9
+ Version 2.0, January 2004
10
+ http://www.apache.org/licenses/
11
+
12
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
13
+
14
+ 1. Definitions.
15
+
16
+ "License" shall mean the terms and conditions for use, reproduction,
17
+ and distribution as defined by Sections 1 through 9 of this document.
18
+
19
+ "Licensor" shall mean the copyright owner or entity authorized by
20
+ the copyright owner that is granting the License.
21
+
22
+ "Legal Entity" shall mean the union of the acting entity and all
23
+ other entities that control, are controlled by, or are under common
24
+ control with that entity. For the purposes of this definition,
25
+ "control" means (i) the power, direct or indirect, to cause the
26
+ direction or management of such entity, whether by contract or
27
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
28
+ outstanding shares, or (iii) beneficial ownership of such entity.
29
+
30
+ "You" (or "Your") shall mean an individual or Legal Entity
31
+ exercising permissions granted by this License.
32
+
33
+ "Source" form shall mean the preferred form for making modifications,
34
+ including but not limited to software source code, documentation
35
+ source, and configuration files.
36
+
37
+ "Object" form shall mean any form resulting from mechanical
38
+ transformation or translation of a Source form, including but
39
+ not limited to compiled object code, generated documentation,
40
+ and conversions to other media types.
41
+
42
+ "Work" shall mean the work of authorship, whether in Source or
43
+ Object form, made available under the License, as indicated by a
44
+ copyright notice that is included in or attached to the work
45
+ (an example is provided in the Appendix below).
46
+
47
+ "Derivative Works" shall mean any work, whether in Source or Object
48
+ form, that is based on (or derived from) the Work and for which the
49
+ editorial revisions, annotations, elaborations, or other modifications
50
+ represent, as a whole, an original work of authorship. For the purposes
51
+ of this License, Derivative Works shall not include works that remain
52
+ separable from, or merely link (or bind by name) to the interfaces of,
53
+ the Work and Derivative Works thereof.
54
+
55
+ "Contribution" shall mean any work of authorship, including
56
+ the original version of the Work and any modifications or additions
57
+ to that Work or Derivative Works thereof, that is intentionally
58
+ submitted to Licensor for inclusion in the Work by the copyright owner
59
+ or by an individual or Legal Entity authorized to submit on behalf of
60
+ the copyright owner. For the purposes of this definition, "submitted"
61
+ means any form of electronic, verbal, or written communication sent
62
+ to the Licensor or its representatives, including but not limited to
63
+ communication on electronic mailing lists, source code control systems,
64
+ and issue tracking systems that are managed by, or on behalf of, the
65
+ Licensor for the purpose of discussing and improving the Work, but
66
+ excluding communication that is conspicuously marked or otherwise
67
+ designated in writing by the copyright owner as "Not a Contribution."
68
+
69
+ "Contributor" shall mean Licensor and any individual or Legal Entity
70
+ on behalf of whom a Contribution has been received by Licensor and
71
+ subsequently incorporated within the Work.
72
+
73
+ 2. Grant of Copyright License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ copyright license to reproduce, prepare Derivative Works of,
77
+ publicly display, publicly perform, sublicense, and distribute the
78
+ Work and such Derivative Works in Source or Object form.
79
+
80
+ 3. Grant of Patent License. Subject to the terms and conditions of
81
+ this License, each Contributor hereby grants to You a perpetual,
82
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
83
+ (except as stated in this section) patent license to make, have made,
84
+ use, offer to sell, sell, import, and otherwise transfer the Work,
85
+ where such license applies only to those patent claims licensable
86
+ by such Contributor that are necessarily infringed by their
87
+ Contribution(s) alone or by combination of their Contribution(s)
88
+ with the Work to which such Contribution(s) was submitted. If You
89
+ institute patent litigation against any entity (including a
90
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
91
+ or a Contribution incorporated within the Work constitutes direct
92
+ or contributory patent infringement, then any patent licenses
93
+ granted to You under this License for that Work shall terminate
94
+ as of the date such litigation is filed.
95
+
96
+ 4. Redistribution. You may reproduce and distribute copies of the
97
+ Work or Derivative Works thereof in any medium, with or without
98
+ modifications, and in Source or Object form, provided that You
99
+ meet the following conditions:
100
+
101
+ (a) You must give any other recipients of the Work or
102
+ Derivative Works a copy of this License; and
103
+
104
+ (b) You must cause any modified files to carry prominent notices
105
+ stating that You changed the files; and
106
+
107
+ (c) You must retain, in the Source form of any Derivative Works
108
+ that You distribute, all copyright, patent, trademark, and
109
+ attribution notices from the Source form of the Work,
110
+ excluding those notices that do not pertain to any part of
111
+ the Derivative Works; and
112
+
113
+ (d) If the Work includes a "NOTICE" text file as part of its
114
+ distribution, then any Derivative Works that You distribute must
115
+ include a readable copy of the attribution notices contained
116
+ within such NOTICE file, excluding those notices that do not
117
+ pertain to any part of the Derivative Works, in at least one
118
+ of the following places: within a NOTICE text file distributed
119
+ as part of the Derivative Works; within the Source form or
120
+ documentation, if provided along with the Derivative Works; or,
121
+ within a display generated by the Derivative Works, if and
122
+ wherever such third-party notices normally appear. The contents
123
+ of the NOTICE file are for informational purposes only and
124
+ do not modify the License. You may add Your own attribution
125
+ notices within Derivative Works that You distribute, alongside
126
+ or as an addendum to the NOTICE text from the Work, provided
127
+ that such additional attribution notices cannot be construed
128
+ as modifying the License.
129
+
130
+ You may add Your own copyright statement to Your modifications and
131
+ may provide additional or different license terms and conditions
132
+ for use, reproduction, or distribution of Your modifications, or
133
+ for any such Derivative Works as a whole, provided Your use,
134
+ reproduction, and distribution of the Work otherwise complies with
135
+ the conditions stated in this License.
136
+
137
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
138
+ any Contribution intentionally submitted for inclusion in the Work
139
+ by You to the Licensor shall be under the terms and conditions of
140
+ this License, without any additional terms or conditions.
141
+ Notwithstanding the above, nothing herein shall supersede or modify
142
+ the terms of any separate license agreement you may have executed
143
+ with Licensor regarding such Contributions.
144
+
145
+ 6. Trademarks. This License does not grant permission to use the trade
146
+ names, trademarks, service marks, or product names of the Licensor,
147
+ except as required for reasonable and customary use in describing the
148
+ origin of the Work and reproducing the content of the NOTICE file.
149
+
150
+ 7. Disclaimer of Warranty. Unless required by applicable law or
151
+ agreed to in writing, Licensor provides the Work (and each
152
+ Contributor provides its Contributions) on an "AS IS" BASIS,
153
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
154
+ implied, including, without limitation, any warranties or conditions
155
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
156
+ PARTICULAR PURPOSE. You are solely responsible for determining the
157
+ appropriateness of using or redistributing the Work and assume any
158
+ risks associated with Your exercise of permissions under this License.
159
+
160
+ 8. Limitation of Liability. In no event and under no legal theory,
161
+ whether in tort (including negligence), contract, or otherwise,
162
+ unless required by applicable law (such as deliberate and grossly
163
+ negligent acts) or agreed to in writing, shall any Contributor be
164
+ liable to You for damages, including any direct, indirect, special,
165
+ incidental, or consequential damages of any character arising as a
166
+ result of this License or out of the use or inability to use the
167
+ Work (including but not limited to damages for loss of goodwill,
168
+ work stoppage, computer failure or malfunction, or any and all
169
+ other commercial damages or losses), even if such Contributor
170
+ has been advised of the possibility of such damages.
171
+
172
+ 9. Accepting Warranty or Additional Liability. While redistributing
173
+ the Work or Derivative Works thereof, You may choose to offer,
174
+ and charge a fee for, acceptance of support, warranty, indemnity,
175
+ or other liability obligations and/or rights consistent with this
176
+ License. However, in accepting such obligations, You may act only
177
+ on Your own behalf and on Your sole responsibility, not on behalf
178
+ of any other Contributor, and only if You agree to indemnify,
179
+ defend, and hold each Contributor harmless for any liability
180
+ incurred by, or claims asserted against, such Contributor by reason
181
+ of your accepting any such warranty or additional liability.
182
+
183
+ END OF TERMS AND CONDITIONS
@@ -0,0 +1,256 @@
1
+ Arm log.c and log_data.c, Android 17 release.
2
+ https://android.googlesource.com/platform/external/arm-optimized-routines/+/498b3de1a06e8cd87b2f9d49d1d8a23ebba5cc5a/math/log.c
3
+ ArmPow*, ArmExp* derive from pow.c, pow_log_data.c, exp.c and exp_data.c of the same release.
4
+ https://android.googlesource.com/platform/external/arm-optimized-routines/+/refs/heads/android17-release/math/
5
+
6
+ Copyright (c) 2018-2025, Arm Limited.
7
+
8
+ MIT OR Apache-2.0 WITH LLVM-exception
9
+ =====================================
10
+
11
+
12
+ MIT License
13
+ -----------
14
+
15
+ Copyright (c) 1999-2022, Arm Limited.
16
+
17
+ Permission is hereby granted, free of charge, to any person obtaining a copy
18
+ of this software and associated documentation files (the "Software"), to deal
19
+ in the Software without restriction, including without limitation the rights
20
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
21
+ copies of the Software, and to permit persons to whom the Software is
22
+ furnished to do so, subject to the following conditions:
23
+
24
+ The above copyright notice and this permission notice shall be included in all
25
+ copies or substantial portions of the Software.
26
+
27
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
28
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
29
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
30
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
31
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
32
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
33
+ SOFTWARE.
34
+
35
+
36
+ Apache-2.0 WITH LLVM-exception
37
+ ------------------------------
38
+
39
+ Apache License
40
+ Version 2.0, January 2004
41
+ http://www.apache.org/licenses/
42
+
43
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
44
+
45
+ 1. Definitions.
46
+
47
+ "License" shall mean the terms and conditions for use, reproduction,
48
+ and distribution as defined by Sections 1 through 9 of this document.
49
+
50
+ "Licensor" shall mean the copyright owner or entity authorized by
51
+ the copyright owner that is granting the License.
52
+
53
+ "Legal Entity" shall mean the union of the acting entity and all
54
+ other entities that control, are controlled by, or are under common
55
+ control with that entity. For the purposes of this definition,
56
+ "control" means (i) the power, direct or indirect, to cause the
57
+ direction or management of such entity, whether by contract or
58
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
59
+ outstanding shares, or (iii) beneficial ownership of such entity.
60
+
61
+ "You" (or "Your") shall mean an individual or Legal Entity
62
+ exercising permissions granted by this License.
63
+
64
+ "Source" form shall mean the preferred form for making modifications,
65
+ including but not limited to software source code, documentation
66
+ source, and configuration files.
67
+
68
+ "Object" form shall mean any form resulting from mechanical
69
+ transformation or translation of a Source form, including but
70
+ not limited to compiled object code, generated documentation,
71
+ and conversions to other media types.
72
+
73
+ "Work" shall mean the work of authorship, whether in Source or
74
+ Object form, made available under the License, as indicated by a
75
+ copyright notice that is included in or attached to the work
76
+ (an example is provided in the Appendix below).
77
+
78
+ "Derivative Works" shall mean any work, whether in Source or Object
79
+ form, that is based on (or derived from) the Work and for which the
80
+ editorial revisions, annotations, elaborations, or other modifications
81
+ represent, as a whole, an original work of authorship. For the purposes
82
+ of this License, Derivative Works shall not include works that remain
83
+ separable from, or merely link (or bind by name) to the interfaces of,
84
+ the Work and Derivative Works thereof.
85
+
86
+ "Contribution" shall mean any work of authorship, including
87
+ the original version of the Work and any modifications or additions
88
+ to that Work or Derivative Works thereof, that is intentionally
89
+ submitted to Licensor for inclusion in the Work by the copyright owner
90
+ or by an individual or Legal Entity authorized to submit on behalf of
91
+ the copyright owner. For the purposes of this definition, "submitted"
92
+ means any form of electronic, verbal, or written communication sent
93
+ to the Licensor or its representatives, including but not limited to
94
+ communication on electronic mailing lists, source code control systems,
95
+ and issue tracking systems that are managed by, or on behalf of, the
96
+ Licensor for the purpose of discussing and improving the Work, but
97
+ excluding communication that is conspicuously marked or otherwise
98
+ designated in writing by the copyright owner as "Not a Contribution."
99
+
100
+ "Contributor" shall mean Licensor and any individual or Legal Entity
101
+ on behalf of whom a Contribution has been received by Licensor and
102
+ subsequently incorporated within the Work.
103
+
104
+ 2. Grant of Copyright License. Subject to the terms and conditions of
105
+ this License, each Contributor hereby grants to You a perpetual,
106
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
107
+ copyright license to reproduce, prepare Derivative Works of,
108
+ publicly display, publicly perform, sublicense, and distribute the
109
+ Work and such Derivative Works in Source or Object form.
110
+
111
+ 3. Grant of Patent License. Subject to the terms and conditions of
112
+ this License, each Contributor hereby grants to You a perpetual,
113
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
114
+ (except as stated in this section) patent license to make, have made,
115
+ use, offer to sell, sell, import, and otherwise transfer the Work,
116
+ where such license applies only to those patent claims licensable
117
+ by such Contributor that are necessarily infringed by their
118
+ Contribution(s) alone or by combination of their Contribution(s)
119
+ with the Work to which such Contribution(s) was submitted. If You
120
+ institute patent litigation against any entity (including a
121
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
122
+ or a Contribution incorporated within the Work constitutes direct
123
+ or contributory patent infringement, then any patent licenses
124
+ granted to You under this License for that Work shall terminate
125
+ as of the date such litigation is filed.
126
+
127
+ 4. Redistribution. You may reproduce and distribute copies of the
128
+ Work or Derivative Works thereof in any medium, with or without
129
+ modifications, and in Source or Object form, provided that You
130
+ meet the following conditions:
131
+
132
+ (a) You must give any other recipients of the Work or
133
+ Derivative Works a copy of this License; and
134
+
135
+ (b) You must cause any modified files to carry prominent notices
136
+ stating that You changed the files; and
137
+
138
+ (c) You must retain, in the Source form of any Derivative Works
139
+ that You distribute, all copyright, patent, trademark, and
140
+ attribution notices from the Source form of the Work,
141
+ excluding those notices that do not pertain to any part of
142
+ the Derivative Works; and
143
+
144
+ (d) If the Work includes a "NOTICE" text file as part of its
145
+ distribution, then any Derivative Works that You distribute must
146
+ include a readable copy of the attribution notices contained
147
+ within such NOTICE file, excluding those notices that do not
148
+ pertain to any part of the Derivative Works, in at least one
149
+ of the following places: within a NOTICE text file distributed
150
+ as part of the Derivative Works; within the Source form or
151
+ documentation, if provided along with the Derivative Works; or,
152
+ within a display generated by the Derivative Works, if and
153
+ wherever such third-party notices normally appear. The contents
154
+ of the NOTICE file are for informational purposes only and
155
+ do not modify the License. You may add Your own attribution
156
+ notices within Derivative Works that You distribute, alongside
157
+ or as an addendum to the NOTICE text from the Work, provided
158
+ that such additional attribution notices cannot be construed
159
+ as modifying the License.
160
+
161
+ You may add Your own copyright statement to Your modifications and
162
+ may provide additional or different license terms and conditions
163
+ for use, reproduction, or distribution of Your modifications, or
164
+ for any such Derivative Works as a whole, provided Your use,
165
+ reproduction, and distribution of the Work otherwise complies with
166
+ the conditions stated in this License.
167
+
168
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
169
+ any Contribution intentionally submitted for inclusion in the Work
170
+ by You to the Licensor shall be under the terms and conditions of
171
+ this License, without any additional terms or conditions.
172
+ Notwithstanding the above, nothing herein shall supersede or modify
173
+ the terms of any separate license agreement you may have executed
174
+ with Licensor regarding such Contributions.
175
+
176
+ 6. Trademarks. This License does not grant permission to use the trade
177
+ names, trademarks, service marks, or product names of the Licensor,
178
+ except as required for reasonable and customary use in describing the
179
+ origin of the Work and reproducing the content of the NOTICE file.
180
+
181
+ 7. Disclaimer of Warranty. Unless required by applicable law or
182
+ agreed to in writing, Licensor provides the Work (and each
183
+ Contributor provides its Contributions) on an "AS IS" BASIS,
184
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
185
+ implied, including, without limitation, any warranties or conditions
186
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
187
+ PARTICULAR PURPOSE. You are solely responsible for determining the
188
+ appropriateness of using or redistributing the Work and assume any
189
+ risks associated with Your exercise of permissions under this License.
190
+
191
+ 8. Limitation of Liability. In no event and under no legal theory,
192
+ whether in tort (including negligence), contract, or otherwise,
193
+ unless required by applicable law (such as deliberate and grossly
194
+ negligent acts) or agreed to in writing, shall any Contributor be
195
+ liable to You for damages, including any direct, indirect, special,
196
+ incidental, or consequential damages of any character arising as a
197
+ result of this License or out of the use or inability to use the
198
+ Work (including but not limited to damages for loss of goodwill,
199
+ work stoppage, computer failure or malfunction, or any and all
200
+ other commercial damages or losses), even if such Contributor
201
+ has been advised of the possibility of such damages.
202
+
203
+ 9. Accepting Warranty or Additional Liability. While redistributing
204
+ the Work or Derivative Works thereof, You may choose to offer,
205
+ and charge a fee for, acceptance of support, warranty, indemnity,
206
+ or other liability obligations and/or rights consistent with this
207
+ License. However, in accepting such obligations, You may act only
208
+ on Your own behalf and on Your sole responsibility, not on behalf
209
+ of any other Contributor, and only if You agree to indemnify,
210
+ defend, and hold each Contributor harmless for any liability
211
+ incurred by, or claims asserted against, such Contributor by reason
212
+ of your accepting any such warranty or additional liability.
213
+
214
+ END OF TERMS AND CONDITIONS
215
+
216
+ APPENDIX: How to apply the Apache License to your work.
217
+
218
+ To apply the Apache License to your work, attach the following
219
+ boilerplate notice, with the fields enclosed by brackets "[]"
220
+ replaced with your own identifying information. (Don't include
221
+ the brackets!) The text should be enclosed in the appropriate
222
+ comment syntax for the file format. We also recommend that a
223
+ file or class name and description of purpose be included on the
224
+ same "printed page" as the copyright notice for easier
225
+ identification within third-party archives.
226
+
227
+ Copyright [yyyy] [name of copyright owner]
228
+
229
+ Licensed under the Apache License, Version 2.0 (the "License");
230
+ you may not use this file except in compliance with the License.
231
+ You may obtain a copy of the License at
232
+
233
+ http://www.apache.org/licenses/LICENSE-2.0
234
+
235
+ Unless required by applicable law or agreed to in writing, software
236
+ distributed under the License is distributed on an "AS IS" BASIS,
237
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
238
+ See the License for the specific language governing permissions and
239
+ limitations under the License.
240
+
241
+
242
+ --- LLVM Exceptions to the Apache 2.0 License ----
243
+
244
+ As an exception, if, as a result of your compiling your source code, portions
245
+ of this Software are embedded into an Object form of such source code, you
246
+ may redistribute such embedded portions in such Object form without complying
247
+ with the conditions of Sections 4(a), 4(b) and 4(d) of the License.
248
+
249
+ In addition, if you combine or link compiled forms of this Software with
250
+ software that is licensed under the GPLv2 ("Combined Software") and if a
251
+ court of competent jurisdiction determines that the patent provision (Section
252
+ 3), the indemnity provision (Section 9) or other Section of the License
253
+ conflicts with the conditions of the GPLv2, you may retroactively and
254
+ prospectively choose to deem waived or otherwise exclude such Section(s) of
255
+ the License, but only in their entirety and only with respect to the Combined
256
+ Software.
@@ -0,0 +1,72 @@
1
+ JavaStrictLog.kt is derived from fdlibm e_log.c version 1.3 (1995-01-18).
2
+ https://android.googlesource.com/platform/external/fdlibm/+/master/e_log.c
3
+
4
+ Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
5
+
6
+ Developed at SunSoft, a Sun Microsystems, Inc. business.
7
+ Permission to use, copy, modify, and distribute this
8
+ software is freely granted, provided that this notice
9
+ is preserved.
10
+
11
+ JavaTangent.kt is derived from Bionic/FreeBSD k_tan.c under this notice:
12
+
13
+ Copyright 2004 Sun Microsystems, Inc. All Rights Reserved.
14
+
15
+ Permission to use, copy, modify, and distribute this
16
+ software is freely granted, provided that this notice
17
+ is preserved.
18
+
19
+ JavaAtan2.kt is derived from Bionic/FreeBSD e_atan2.c under the same SunSoft notice.
20
+ https://android.googlesource.com/platform/bionic/+/refs/heads/android17-release/libm/upstream-freebsd/lib/msun/src/e_atan2.c
21
+
22
+ JavaAsin.kt, JavaAcos.kt and JavaInverseTrig.kt use e_asin.c and e_acos.c under that notice.
23
+ https://android.googlesource.com/platform/bionic/+/refs/heads/android17-release/libm/upstream-freebsd/lib/msun/src/e_asin.c
24
+ https://android.googlesource.com/platform/bionic/+/refs/heads/android17-release/libm/upstream-freebsd/lib/msun/src/e_acos.c
25
+
26
+ JavaAtan.kt is derived from Bionic/FreeBSD s_atan.c.
27
+ https://android.googlesource.com/platform/bionic/+/refs/heads/android17-release/libm/upstream-freebsd/lib/msun/src/s_atan.c
28
+
29
+ JavaLog10.kt is derived from Bionic/FreeBSD e_log10.c and k_log.h under that notice.
30
+ https://android.googlesource.com/platform/bionic/+/refs/heads/android17-release/libm/upstream-freebsd/lib/msun/src/e_log10.c
31
+ https://android.googlesource.com/platform/bionic/+/refs/heads/android17-release/libm/upstream-freebsd/lib/msun/src/k_log.h
32
+
33
+ JavaTrig*, JavaTangent.kt use Bionic/FreeBSD s_sin.c, s_cos.c, s_tan.c,
34
+ k_sin.c, k_cos.c, k_tan.c, e_rem_pio2.c and k_rem_pio2.c under the notices here.
35
+ https://android.googlesource.com/platform/bionic/+/refs/heads/android17-release/libm/upstream-freebsd/lib/msun/src/
36
+
37
+ Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
38
+
39
+ Developed at SunPro, a Sun Microsystems, Inc. business.
40
+ Permission to use, copy, modify, and distribute this
41
+ software is freely granted, provided that this notice
42
+ is preserved.
43
+
44
+ JavaExpm1.kt and JavaHyperbolic.kt are derived from Bionic/FreeBSD s_expm1.c,
45
+ e_sinh.c, e_cosh.c and s_tanh.c under the SunSoft notice above.
46
+ https://android.googlesource.com/platform/bionic/+/refs/heads/android17-release/libm/upstream-freebsd/lib/msun/src/
47
+
48
+ JavaHyperbolic.kt's scaledExp is derived from Bionic/FreeBSD k_exp.c under this notice:
49
+
50
+ Copyright (c) 2011 David Schultz <das@FreeBSD.ORG>
51
+ All rights reserved.
52
+
53
+ Redistribution and use in source and binary forms, with or without
54
+ modification, are permitted provided that the following conditions
55
+ are met:
56
+ 1. Redistributions of source code must retain the above copyright
57
+ notice, this list of conditions and the following disclaimer.
58
+ 2. Redistributions in binary form must reproduce the above copyright
59
+ notice, this list of conditions and the following disclaimer in the
60
+ documentation and/or other materials provided with the distribution.
61
+
62
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
63
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
64
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
65
+ ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
66
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
67
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
68
+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
69
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
70
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
71
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
72
+ SUCH DAMAGE.
@@ -0,0 +1,50 @@
1
+ kotlin/java/text/JavaIcuLocales.kt ports ICU4J's ICUResourceBundle locale fallback, and
2
+ locales/icu-fallback-api37.txt holds ICU's LOCALE_DEPS.json aliases and LocaleFallbackData
3
+ default scripts and parents (Android external/icu, android17-release). zones/zone-names-api37.txt
4
+ holds the time zone names, metazones, reference zones and canonical ids ICU's TimeZoneNames and
5
+ TimeZone return on Android API 37.
6
+ Copyright (C) 2005-2016, International Business Machines Corporation and others.
7
+ Copyright © 2016 and later: Unicode, Inc. and others.
8
+
9
+ Copyright (C) 2002-2015 International Business Machines Corporation and others.
10
+
11
+ UNICODE LICENSE V3
12
+
13
+ COPYRIGHT AND PERMISSION NOTICE
14
+
15
+ Copyright © 2016-2023 Unicode, Inc.
16
+
17
+ NOTICE TO USER: Carefully read the following legal agreement. BY
18
+ DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING DATA FILES, AND/OR
19
+ SOFTWARE, YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE
20
+ TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE, DO NOT
21
+ DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE.
22
+
23
+ Permission is hereby granted, free of charge, to any person obtaining a
24
+ copy of data files and any associated documentation (the "Data Files") or
25
+ software and any associated documentation (the "Software") to deal in the
26
+ Data Files or Software without restriction, including without limitation
27
+ the rights to use, copy, modify, merge, publish, distribute, and/or sell
28
+ copies of the Data Files or Software, and to permit persons to whom the
29
+ Data Files or Software are furnished to do so, provided that either (a)
30
+ this copyright and permission notice appear with all copies of the Data
31
+ Files or Software, or (b) this copyright and permission notice appear in
32
+ associated Documentation.
33
+
34
+ THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
35
+ KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
36
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
37
+ THIRD PARTY RIGHTS.
38
+
39
+ IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE
40
+ BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES,
41
+ OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
42
+ WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
43
+ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA
44
+ FILES OR SOFTWARE.
45
+
46
+ Except as contained in this notice, the name of a copyright holder shall
47
+ not be used in advertising or otherwise to promote the sale, use or other
48
+ dealings in these Data Files or Software without prior written
49
+ authorization of the copyright holder.
50
+