Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flutter: Rewrite flutter frontend to use only the KDDW layouting #546

Merged
merged 2 commits into from
Dec 7, 2024

Conversation

iamsergio
Copy link
Contributor

This greatly simplifies the flutter port. KDDW now only drives the layouting and doesn't abstract tabs, windows and DnD anymore, which will now be done in Dart.

The amount of over-engineered abstractions in C++ was causing it to be a pain to even do simple bug fixes. The code is now very clean in dart, without needing to go back and forth to C++ land for every mouse click.

Allows to get rid of dartagnan which broke whenever shiboken or LLVM was updated.

Allows to get rid of qcoro co-routines as tests are no longer driven by C++, no need to mix 2 event loops.

The state of the port is still dependent on flutter supporting multi-window, but we're now in a position to move faster, as tons of tech debt have been removed.

@iamsergio iamsergio force-pushed the wip/flutter branch 4 times, most recently from 7304d84 to 77fcdcb Compare December 7, 2024 12:07
This greatly simplifies the flutter port. KDDW now only drives
the layouting and doesn't abstract tabs, windows and DnD anymore,
which will now be done in Dart.

The amount of over-engineered abstractions in C++ was causing it to be
a pain to even do simple bug fixes. The code is now very clean in dart,
without needing to go back and forth to C++ land for every mouse click.

Allows to get rid of dartagnan which broke whenever shiboken or LLVM
was updated.

Allows to get rid of qcoro co-routines as tests are no longer driven
by C++, no need to mix 2 event loops.

The state of the port is still dependent on flutter supporting
multi-window, but we're now in a position to move faster, as tons
of tech debt have been removed.
@iamsergio iamsergio force-pushed the wip/flutter branch 2 times, most recently from 593fee8 to b7df963 Compare December 7, 2024 12:41
@iamsergio iamsergio merged commit 2cdbc27 into main Dec 7, 2024
42 checks passed
@iamsergio iamsergio deleted the wip/flutter branch December 7, 2024 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant