Commit graph

3,290 commits

Author SHA1 Message Date
aefabf63fb pour test 2026-08-26 06:07:50 +01:00
a8898d13e9 for reading 2026-08-26 05:44:46 +01:00
637e942bd1 no kvm 2026-08-26 05:38:07 +01:00
c4f8ece4fa donne l'accès 2026-08-26 05:25:18 +01:00
0a627fb3c3 avd name changed 2026-08-26 05:15:13 +01:00
e29def6dc8 specify the docker image 2026-08-26 05:09:24 +01:00
6f3b1cfb3c emulator 2026-08-26 04:52:57 +01:00
becfad8fe1 yatry 2026-08-26 03:55:21 +01:00
3fe93c92ed hit the AVD 2026-08-26 02:24:03 +01:00
57270c92c8 to be clear 2026-08-26 01:49:57 +01:00
2631aaead2 simpler is better 2026-08-26 01:42:59 +01:00
fce2d6eff8 comment cleanup 2026-08-26 01:24:19 +01:00
4d08f3d082 postit_test_avd 2026-08-26 00:20:17 +01:00
a2bd93cb4c should work, Xamarin.UITest installs the app 2026-08-25 23:39:12 +01:00
49dbfe42e3 reinstall when yet installed 2026-08-25 23:17:17 +01:00
178b184cad undated 2026-08-25 23:14:50 +01:00
2687ebde3c fixes the step title 2026-08-25 23:07:19 +01:00
071ec31673 fixes the script 2026-08-25 23:06:25 +01:00
04607aeaab fixes the tests 2026-08-25 23:01:00 +01:00
d78e3ab860 Do not fail at attaching developer tools 2026-08-25 21:15:04 +01:00
c16345674b Package renamed impact 2026-08-25 20:30:39 +01:00
d4f9822faa Release 1.0.8-rc3 - unstable 2026-08-25 19:49:12 +01:00
790faad27b Fixes the Android Login process 2026-08-25 19:20:03 +01:00
776fb10903 refacto Makefiles and MainView setup 2026-08-25 14:53:25 +01:00
a0f0fb1282 test are still ok! 2026-08-25 14:16:49 +01:00
6813fce8c9 simpler is better 2026-08-24 16:26:42 +01:00
3f3f5b5575 code format 2026-08-24 16:26:23 +01:00
a73135d4a1 It was too much for qemu 2026-08-24 16:25:45 +01:00
72c1dede61 restore the TextEditor 2026-08-24 01:43:47 +01:00
2977f74980 don't wait from App Nav push ok on loggin succeded 2026-08-24 01:23:15 +01:00
93604a9498 show the window 2026-08-24 00:30:29 +01:00
49d3c8da81 Simpler is better 2026-08-24 00:18:07 +01:00
b2a20d713c updated 2026-08-24 00:17:43 +01:00
d5c7419219 restores the legacy behavior 2026-08-24 00:03:14 +01:00
4926c2f27e changes 2026-08-23 23:30:37 +01:00
3206523365 Merge branch 'feat/ui-testing' into release/1.0.8-rc3 2026-08-23 23:26:59 +01:00
569ed6b304 chore(release): bump version via gitversion for 1.0.8-rc3 2026-08-23 23:19:48 +01:00
8d103b36d8 Merge pull request 'release/1.0.8-rc1' (#42) from release/1.0.8-rc1 into main
Reviewed-on: #42
2026-08-23 23:19:06 +01:00
fbedd882dd ignore the failling test
Some checks failed
Forgejo Release / release (push) Failing after 4s
2026-08-23 23:09:37 +01:00
6ccd298588 refacto static extension for Service provider 2026-08-23 23:07:40 +01:00
ae86bf51b0 test are green !?! 2026-08-23 21:28:26 +01:00
1037120522 LOGCAT_BOOT_WAIT ?= 30 2026-08-23 18:39:37 +01:00
4596206e3d more reliable 2026-08-23 18:34:34 +01:00
56247e3d17 Fixes the test suite 2026-08-22 18:31:30 +01:00
18b87d65df build(android): align with .NET 11 SDK + drop unused AndroidX refs
Follow-up to the a70d2f78 'sdk version bump' (net10.0 -> net11.0
across the whole solution) and the work to get PostIt.Android building
under the .NET 11 preview SDK installed locally (~/.dotnet):

- Drop Xamarin.AndroidX.Browser and Xamarin.AndroidX.Core.SplashScreen
  from PostIt/Directory.Packages.props. They are not pulled by
  Avalonia.Android 12.1.1 (its nuspec declares AppCompat + Window only),
  are not referenced by any PostIt code, and we already removed the
  SplashScreen XML attributes from styles.xml in commit 00c0cb7f.

- PostIt.Android.csproj: bump SupportedOSPlatformVersion 23.0.0 ->
  24.0.0. Required by the Microsoft.Android.Sdk.Linux 37.0.0-preview.7
  target (Android API 24 is the new minimum under .NET 11); below that
  the build emits NETSDK warnings about an EoL target SDK level.

Build status (PostIt.Android, Debug, android-x64, EmbedAssemblies):
  0 errors, 15 warnings, ~4m24s cold. The locally-installed .NET 11
  SDK 11.0.100-preview.7.26381.103 needs /opt/android-sdk/platforms
  /android-37.0 to exist; Paul has set up a symlink to the
  android-37.1 (Android 17 preview) install until Microsoft catches
  up the SDK manifest.

PostIt.Tests: 49/62 passing after the migration; 13 new failures,
most of them HttpListener teardown noise around the OIDC stub
authority suite. Out of scope of this commit.
2026-08-22 18:04:27 +01:00
a70d2f789e sdk version bump 2026-08-22 16:58:08 +01:00
fc2afffbeb Revert "build(android): downgrade Avalonia 12 -> 11.3.20 + Avalonia.Maui 11.3.0"
This reverts commit 03d0cc9f71.
2026-08-22 16:09:35 +01:00
03d0cc9f71 build(android): downgrade Avalonia 12 -> 11.3.20 + Avalonia.Maui 11.3.0
WIP: addressing the layer-3 WindowingPlatformStub.NotSupportedException
crash on PostIt.Android by downgrading to the Avalonia 11 / Avalonia.Maui
11 stack, where the Android runtime platform layer (IWindowingPlatform)
gets properly bound via the MAUI embedding extension instead of being
left as a stub.

Touched files:

- src/PostIt/Directory.Packages.props:
  - Avalonia 12.1.1 -> 11.3.20 (Avalonia, Avalonia.Android,
    Avalonia.AvaloniaEdit, Avalonia.Browser, Avalonia.Desktop,
    Avalonia.Fonts.Inter, Avalonia.Themes.Fluent).
  - New: Avalonia.Maui 11.3.0.
  - Microsoft.Maui.Essentials 10.0.100 -> 8.0.100 (aligns with the
    Microsoft.Maui.Controls 8.0.x family that Avalonia.Maui 11.3.0
    pulls transitively).
  - New: Microsoft.Maui.Controls 8.0.100.

- src/PostIt/PostIt.Android/PostIt.Android.csproj:
  - TargetFramework net10.0-android -> net9.0-android36.0 (Avalonia
    Android 11.3.20 targets net8.0-android34.0, but the
    compat-ascending fallback lets us consume from net9.0-android36.0
    against the API-36 platform that's already installed locally).
  - Add Avalonia.Maui PackageReference.
  - Restore Microsoft.Maui.Essentials PackageReference (left in
    earlier removal during the MAUI-cause-of-crash hypothesis check).

- src/PostIt/PostIt/PostIt.csproj: TargetFramework net10.0 -> net9.0
  (must match what PostIt.Android consumes transitively, otherwise
  the build chain breaks).

- src/Yavsc.Abstract/Yavsc.Abstract.csproj: net10.0 -> net9.0 (same
  reason; six other consumers stay on net10.0 and pick up the new
  assembly via standard TFM compat).

- src/Yavsc.Api.Client/Yavsc.Api.Client.csproj: net10.0 -> net9.0
  (same reason).

- src/PostIt/PostIt.Android/Application.cs: rewritten as a bare
  Android.App.Application. Avalonia 11 no longer ships
  AvaloniaAndroidApplication<TApp> (that was an Avalonia 12
  introduction); the Avalonia init now lives in MainActivity via
  AvaloniaMainActivity<TApp>. The class is kept only so the
  [Application] manifest entry remains.

- src/PostIt/PostIt.Android/MainActivity.cs: now inherits
  AvaloniaMainActivity<App> and overrides CustomizeAppBuilder to
  chain .UseMaui<PostIt.Maui.MauiEmbeddingApp>(this) before
  .WithInterFont(). AvaloniaMainActivity<TApp> handles the
  AvaloniaView initialisation in OnCreate.

- src/PostIt/PostIt/Maui/MauiEmbeddingApp.cs (new): empty
  Microsoft.Maui.Controls.Application used as the embedding host for
  Avalonia.Maui. The MAUI window it produces is consumed by the
  Avalonia.Maui embedding pipeline and never surfaces to the user;
  Avalonia owns the actual visual tree.

Build status: 11 errors remaining, all CS0234 / CS0246 against
'Avalonia.Controls.ContentPage'. Avalonia 11 did not ship
ContentPage (it's an Avalonia 12 type, presumably for MAUI parity).
All seven PostIt pages inherit ContentPage today and need to be
reworked to UserControl before the build can complete. Follow-up
commit will do that.

Reference: AGENTS.md, 'PostIt.Android boot crash sur AVD x86_64 :
investigation par couches', couche 3.
2026-08-22 15:56:52 +01:00
00c0cb7f0a build(android): drop unused Xamarin.AndroidX.SplashScreen resources
- PostIt.Android.csproj: drop Xamarin.AndroidX.Core.SplashScreen and
  Xamarin.AndroidX.Browser. Neither is pulled transitively by
  Avalonia.Android 12.1.1 (its nuspec declares only AppCompat +
  Window), and they are not referenced anywhere in PostIt code.
- Resources/values-v31/styles.xml: drop the windowSplashScreen*
  items and the 'postSplashScreenTheme' reference, which require
  the dropped SplashScreen package. We fall back to the system
  splash screen on Android 12+ devices; a custom one can come
  back when we add it on purpose.
2026-08-22 15:32:43 +01:00
d73f623157 code REORG, pour partage pkg version entre app et tests 2026-08-22 15:17:08 +01:00