Commit 927624c
Merge Android crash fix into the main branch (#7)
* Fixed iOS framework identifier generation and bump `archive` dependency (flet-dev#185)
* Fix leading dash in framework identifier generation
Ensures that any leading dashes are removed from the generated framework identifier in xcframework_utils.sh. Defaults to 'framework' if the identifier is empty after processing.
* Update CFBundlePackageType to FMWK in plist generation
Changed the CFBundlePackageType from 'APPL' to 'FMWK' in the create_plist function to correctly identify the bundle as a framework. Also made a minor whitespace adjustment in create_xcframework_from_dylibs.
* Bump `archive` dependency to `^4.0.7` (flet-dev#184)
* update `archive` dependency to ``^4.0.7` and bump serious_python version to `0.9.5`
* revert flutter_lints dependency to version 2.0.0
* Bump version to 0.9.5 for Android and Darwin
Updated the version number to 0.9.5 in both the Android build.gradle and Darwin podspec files to prepare for a new release.
---------
Co-authored-by: Feodor Fitsner <feodor@appveyor.com>
* Update changelogs for iOS framework identifier fix
Added notes to all package changelogs for version 0.9.5 about the fix for iOS framework identifier generation.
---------
Co-authored-by: TheEthicalBoy <98978078+ndonkoHenri@users.noreply.github.com>
* Fix zip directory (flet-dev#186)
* Make zipDirectory call asynchronous
Added 'await' to the zipDirectory method to ensure the archive creation completes before proceeding. This change improves reliability when creating app archives.
* Bump to 0.9.6 and make zipDirectory asynchronous
Updated all platform packages to version 0.9.6. The zipDirectory call is now asynchronous across all implementations for improved performance and consistency.
* Make setenv calls awaitable in Python init
Refactored the setenv function to return a Future<void> and updated all calls to setenv to use await. This ensures environment variables are set in the correct order before proceeding.
* Ensure single CPython interpreter per process
Introduces a guard to prevent repeated initialization and finalization of the CPython interpreter, addressing crashes on second launch with CPython 3.12. Also ensures the current native thread is registered with the GIL when running Python code, improving stability when re-entering Python from new Dart isolates or threads.
* Remove 'Warning:' prefix from debug message
Updated the debugPrint statement to remove the 'Warning:' prefix when unable to load libpyjni.so. This change streamlines log output for consistency.
* Revert "Ensure single CPython interpreter per process"
This reverts commit 3f4adc0.
* chore: bump python version to 3.14.2
* fix python-windows-dart package name
---------
Co-authored-by: Feodor Fitsner <feodor@appveyor.com>
Co-authored-by: TheEthicalBoy <98978078+ndonkoHenri@users.noreply.github.com>1 parent 0ba0c5e commit 927624c
File tree
6 files changed
+25
-26
lines changed- src
- serious_python_android
- android
- lib
- src
- serious_python_windows/windows
- serious_python/bin
6 files changed
+25
-26
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
| 21 | + | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
Lines changed: 12 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
40 | 39 | | |
41 | 40 | | |
42 | 41 | | |
43 | 42 | | |
44 | 43 | | |
45 | 44 | | |
46 | 45 | | |
47 | | - | |
| 46 | + | |
48 | 47 | | |
49 | 48 | | |
50 | 49 | | |
| |||
78 | 77 | | |
79 | 78 | | |
80 | 79 | | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
88 | 87 | | |
89 | 88 | | |
90 | 89 | | |
91 | 90 | | |
92 | | - | |
| 91 | + | |
93 | 92 | | |
94 | 93 | | |
95 | 94 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25758 | 25758 | | |
25759 | 25759 | | |
25760 | 25760 | | |
25761 | | - | |
| 25761 | + | |
25762 | 25762 | | |
25763 | | - | |
| 25763 | + | |
25764 | 25764 | | |
25765 | 25765 | | |
25766 | 25766 | | |
25767 | 25767 | | |
25768 | 25768 | | |
25769 | | - | |
| 25769 | + | |
25770 | 25770 | | |
25771 | | - | |
| 25771 | + | |
25772 | 25772 | | |
25773 | 25773 | | |
25774 | 25774 | | |
25775 | 25775 | | |
25776 | 25776 | | |
25777 | 25777 | | |
25778 | 25778 | | |
25779 | | - | |
| 25779 | + | |
25780 | 25780 | | |
25781 | 25781 | | |
25782 | 25782 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
0 commit comments