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

feat: Use quill_native_bridge as default impl in DefaultClipboardService, fix related bugs in the extensions package #2230

Merged
merged 102 commits into from
Oct 16, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
102 commits
Select commit Hold shift + click to select a range
4a343e4
feat(quill_native_bridge): add initial implementation for getClipboar…
EchoEllet Sep 15, 2024
013a162
chore(example): use quill_native_bridge from path in dependency_overr…
EchoEllet Sep 15, 2024
9397b6c
feat: use quill_native_bridge for HTML Clipboard in flutter_quill and…
EchoEllet Sep 15, 2024
e6ff099
feat(quill_native_bridge): extend the support for macOS.
EchoEllet Sep 15, 2024
f71f57a
chore(example): clear todos in app module build.gradle
EchoEllet Sep 15, 2024
f9dac24
chore(android): additional check before accessing the clip data item
EchoEllet Sep 16, 2024
ff2f918
fix(flutter_quill_extensions): unrelated bug for copying an image (ne…
EchoEllet Sep 16, 2024
344eea6
feat: add copyImageToClipboard() method channel, an asset file in the…
EchoEllet Sep 16, 2024
660cb0e
docs(readme): add optional step to configure copying images to the cl…
EchoEllet Sep 16, 2024
f7c3589
feat: use copyImageToClipboard() in flutter_quill_extensions, fix com…
EchoEllet Sep 16, 2024
9743d47
chore: correct name of _loadImageBytesFromImageProvider()
EchoEllet Sep 16, 2024
710440b
feat: add web support for copyImageToClipboard()
EchoEllet Sep 16, 2024
9840745
feat: (WIP) retriving image file from clipboard, simplify ClipboardSe…
EchoEllet Sep 17, 2024
6f91fdb
chore(example): rename _flutterQuillAssetImage to _kFlutterQuillAsset…
EchoEllet Sep 17, 2024
0f9986f
chore(example): update error messages in quill_native_bridge example
EchoEllet Sep 17, 2024
1837a37
feat: add support for gif, fix unhandled exception on Android only wh…
EchoEllet Sep 19, 2024
ffba185
chore(example): configure the Android example for copying images to t…
EchoEllet Sep 19, 2024
c9aec82
Merge remote-tracking branch 'origin/master' into feat/default-clipbo…
EchoEllet Sep 19, 2024
cad0307
Merge remote-tracking branch 'origin/master' into feat/default-clipbo…
EchoEllet Sep 20, 2024
da77243
feat: support for web (WIP, will be updated soon)
EchoEllet Sep 20, 2024
685f495
chore: merge master branch and fix conflicts
EchoEllet Sep 21, 2024
499bdee
chore: annotate ClipboardService and related classes as experimental
EchoEllet Sep 21, 2024
76246b5
Merge remote-tracking branch 'origin/master' into feat/default-clipbo…
EchoEllet Sep 21, 2024
d89073a
chore: temporarily add dependency_overrides to fix build failure - re…
EchoEllet Sep 21, 2024
b1ce6a2
Merge remote-tracking branch 'origin/master' into feat/default-clipbo…
EchoEllet Sep 21, 2024
bfeebcc
Merge remote-tracking branch 'origin/master' into feat/default-clipbo…
EchoEllet Sep 21, 2024
d8c8f10
feat: seperate web implementation from quill_native_bridge into quill…
EchoEllet Sep 21, 2024
0c36eee
chore: update description of quill_native_bridge_web
EchoEllet Sep 21, 2024
82642da
chore(web): avoid using jsify() when possible
EchoEllet Sep 21, 2024
eb9f100
chore: publish and use quill_native_bridge_web in quill_native_bridge…
EchoEllet Sep 21, 2024
6fa9c05
docs(readme): use pub.dev link of quill_native_bridge in quill_native…
EchoEllet Sep 21, 2024
12c9b92
chore: use .toJS in clipboardItem map (minor change)
EchoEllet Sep 21, 2024
e9d6285
fix: use hosted quill_native_bridge in dependencies and override with…
EchoEllet Sep 21, 2024
7479abc
fix: update minimum required version of Flutter/Dart by quill_native_…
EchoEllet Sep 22, 2024
2beb39e
test: write basic integration tests for getClipboardImage() and copyI…
EchoEllet Sep 22, 2024
36b8f52
Merge remote-tracking branch 'origin/master' into feat/default-clipbo…
EchoEllet Sep 22, 2024
0dc9a42
feat: add copyHTMLToClipboard(), add integration tests for copyHTMLTo…
EchoEllet Sep 22, 2024
4382209
chore: cleanup QuillNativeBridgeWeb, extract mime constants, organize…
EchoEllet Sep 22, 2024
f0b5241
fix(web): issue caused by previous commit
EchoEllet Sep 22, 2024
2d8b135
docs(web): update methods of QuillNativeBridge to reflect the web sup…
EchoEllet Sep 22, 2024
686e0ff
chore(android): cleanup the check for HTML from the clipboard in getC…
EchoEllet Sep 22, 2024
47f05f4
test: add a test for getClipboardHTML to ensure it's not null only wh…
EchoEllet Sep 22, 2024
351dad8
ci: attempt to fix CI failure by updating outdated path of quill_nati…
EchoEllet Sep 22, 2024
f1c9913
docs: document why platform implementations of QuillNativeBridgePlatf…
EchoEllet Sep 23, 2024
4e65d65
chore(example): add windows platform runner example using Flutter CLI…
EchoEllet Sep 23, 2024
9300c4a
feat: (WIP) add windows experimental support for getClipboardHTML(), …
EchoEllet Sep 23, 2024
219ee7b
fix(docs): update incorrect description of quill_native_bridge_window…
EchoEllet Sep 23, 2024
c036553
refactor: move plugin platform interface to quill_native_bridge_platf…
EchoEllet Sep 23, 2024
1e4d0e2
chore: (WIP): publish quill_native_bridge 10.7.5
EchoEllet Sep 23, 2024
217ef1a
chore: (WIP) publish quill_native_bridge_web to use quill_native_brid…
EchoEllet Sep 23, 2024
e49d6f3
chore(example): add linux platform runner example using Flutter CLI (…
EchoEllet Sep 23, 2024
57a6b8d
feat(linux): (WIP) highly experimental linux support using xclip
EchoEllet Sep 24, 2024
3d6bee6
fix(windows): non case sensitive check in stripWin32HtmlDescription()…
EchoEllet Sep 24, 2024
e1b0eb3
chore(example): unrelated change for windows in Flutter Quill example…
EchoEllet Sep 24, 2024
3cfdf18
chore: merge master branch and fix conflicts
EchoEllet Sep 25, 2024
2b7799b
chore(android): cleanup onMethodCall() in QuillNativeBridgePlugin
EchoEllet Sep 25, 2024
d2cd4e8
docs(readme): update docs to reflect the changes
EchoEllet Sep 25, 2024
86e235d
chore: use hasWebSupport instead of hardcoding the check directly in …
EchoEllet Sep 26, 2024
bf2e462
feat: rename MethodChannelQuillNativeBridge.methodChannel to testMeth…
EchoEllet Sep 26, 2024
d7e3064
refactor: move android implementation from quill_native_bridge to qui…
EchoEllet Sep 26, 2024
fb0f2b8
chore: update QuillNativeBridgeAndroid.registerWith() assert message
EchoEllet Sep 26, 2024
622e087
refactor(apple): move iOS and macOS implementation from quill_native_…
EchoEllet Sep 26, 2024
17845c8
chore: add quill_native_bridge_platform_interface in pubspec_overides…
EchoEllet Sep 26, 2024
d3e9357
refactor: rename copyHTMLToClipboard() and getClipboardHTML() to copy…
EchoEllet Sep 26, 2024
7321ef5
feat: more advance method to check the platform support check allowin…
EchoEllet Sep 26, 2024
707d370
chore(analysis): remove unused imports in quill_native_bridge and qui…
EchoEllet Sep 26, 2024
fd50828
fix(ci): temporarily pub get quill_native_bridge packages in main wor…
EchoEllet Sep 26, 2024
6939289
chore: format dart pigeon generated files as a workaround to CI failure
EchoEllet Sep 26, 2024
8d0cdb1
chore: merge master branch and fix conflicts
EchoEllet Sep 27, 2024
64ae54f
chore: merge master branch and fix conflicts
EchoEllet Sep 27, 2024
7847418
chore(deps): update flutter_lints to 5.0.0 in quill_native_bridge
EchoEllet Sep 27, 2024
f489acf
refactor(windows): move CloseClipboard() to finally block in getClipb…
EchoEllet Sep 27, 2024
6257e70
chore(windows): clear todo related to previous commit
EchoEllet Sep 27, 2024
a54ea77
chore(readme): remove description from the platform support table, us…
EchoEllet Sep 28, 2024
88d6675
chore(readme): use different emoji for platforms that doesn't support…
EchoEllet Sep 28, 2024
877240b
Merge remote-tracking branch 'origin/master' into feat/default-clipbo…
EchoEllet Sep 28, 2024
2c2b283
style(windows): use TEXT and free from win32 instead of toNativeUtf16…
EchoEllet Sep 28, 2024
0d572c2
refactor(windows): only register HTML format id once
EchoEllet Sep 28, 2024
af80f16
feat(windows): (WIP) highly experimental support for copyHtmlToClipbo…
EchoEllet Sep 28, 2024
b30923f
refactor: extract supported platforms into Set for isSupported()
EchoEllet Sep 29, 2024
6794351
chore(windows): add error code in errors using GetLastError()
EchoEllet Sep 29, 2024
9c7ec6d
chore(windows): avoid passing the locked memory pointer to SetClipboa…
EchoEllet Sep 29, 2024
f69646c
docs(readme): document android platform configuration in quill_native…
EchoEllet Sep 29, 2024
1c6e7b8
fix(windows): (WIP) GlobalUnlock before SetClipboardData and GlobalFr…
EchoEllet Sep 29, 2024
781de0d
docs(readme): slighly improve platform configuration docs in quill_na…
EchoEllet Sep 29, 2024
ec6751f
fix(windows): GlobalUnlock() the handle instead of pointer before cal…
EchoEllet Sep 29, 2024
3c14070
chore(android): add reference to Flutter #63533
EchoEllet Sep 29, 2024
299a976
chore(android): define package in GeneratedMessages.kt, update relate…
EchoEllet Sep 30, 2024
f44a802
chore(android): ignore analysis warning for the generated code messag…
EchoEllet Sep 30, 2024
d5344da
feat: (WIP) add initial support for getClipboardFiles()
EchoEllet Oct 1, 2024
333497c
chore(ci): format generated messages.g.dart file to bypass CI failure
EchoEllet Oct 1, 2024
9ab4fd9
feat(linux): add support for getClipboardFiles()
EchoEllet Oct 1, 2024
a9a549f
docs: update old reference of QuillNativeBridgeFeature, add doc comme…
EchoEllet Oct 1, 2024
9f9faeb
chore(readme): add link for quill_native_bridge, correct minor typo
EchoEllet Oct 1, 2024
cbe6492
chore(docs): minor changes to update doc comment in QuillController
EchoEllet Oct 1, 2024
2f1851f
Merge remote-tracking branch 'origin/master' into feat/default-clipbo…
EchoEllet Oct 13, 2024
ae908ca
chore: move quill_native_bridge to https://github.com/FlutterQuill/qu…
EchoEllet Oct 14, 2024
c0f4e1a
docs(readme): improve the 'Rich Text Paste' section, drop the TODO fo…
EchoEllet Oct 15, 2024
414f5a1
chore: update deprecation message of FlutterQuillExtensions.useSuperC…
EchoEllet Oct 15, 2024
3401bac
chore(example): remove commnet of deprecated method FlutterQuillExten…
EchoEllet Oct 15, 2024
1c33424
chore: rename ClipboardService.copyImageToClipboard() to ClipboardSer…
EchoEllet Oct 15, 2024
6b46df4
chore: add a link to a TODO in DefaultClipboardService._getClipboardF…
EchoEllet Oct 16, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: move quill_native_bridge to https://github.com/FlutterQuill/qu…
  • Loading branch information
EchoEllet committed Oct 14, 2024
commit ae908caa0386cdd6d7bd5b917bee84f630251ee8
27 changes: 0 additions & 27 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,33 +33,6 @@ jobs:
- name: 📦 Install flutter_quill_test dependencies
run: flutter pub get -C flutter_quill_test

# TODO: Remove quill_native_bridge packages from here once moved to it's own repo
# https://github.com/singerdmx/flutter-quill/pull/2230

- name: 📦 Install quill_native_bridge dependencies
run: flutter pub get -C quill_native_bridge/quill_native_bridge

- name: 📦 Install quill_native_bridge_platform_interface dependencies
run: flutter pub get -C quill_native_bridge/quill_native_bridge_platform_interface

- name: 📦 Install quill_native_bridge_android dependencies
run: flutter pub get -C quill_native_bridge/quill_native_bridge_android

- name: 📦 Install quill_native_bridge_ios dependencies
run: flutter pub get -C quill_native_bridge/quill_native_bridge_ios

- name: 📦 Install quill_native_bridge_macos dependencies
run: flutter pub get -C quill_native_bridge/quill_native_bridge_macos

- name: 📦 Install quill_native_bridge_windows dependencies
run: flutter pub get -C quill_native_bridge/quill_native_bridge_windows

- name: 📦 Install quill_native_bridge_web dependencies
run: flutter pub get -C quill_native_bridge/quill_native_bridge_web

- name: 📦 Install quill_native_bridge_linux dependencies
run: flutter pub get -C quill_native_bridge/quill_native_bridge_linux

- name: 🔍 Run Flutter analysis
run: flutter analyze

Expand Down
2 changes: 1 addition & 1 deletion example/android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
android:exported="true"
android:grantUriPermissions="true" />

<!-- For `quill_native_bridge` plugin https://github.com/singerdmx/flutter-quill#-platform-specific-configurations -->
<!-- For `quill_native_bridge` plugin https://github.com/FlutterQuill/quill-native-bridge/tree/main/quill_native_bridge#-platform-configuration -->
<provider
android:name="androidx.core.content.FileProvider"
android:authorities="${applicationId}.fileprovider"
Expand Down
13 changes: 0 additions & 13 deletions example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,19 +58,6 @@ dependency_overrides:
path: ../flutter_quill_extensions
flutter_quill_test:
path: ../flutter_quill_test
quill_native_bridge:
path: ../quill_native_bridge/quill_native_bridge
quill_native_bridge_platform_interface:
path: ../quill_native_bridge/quill_native_bridge_platform_interface
quill_native_bridge_linux:
path: ../quill_native_bridge/quill_native_bridge_linux
quill_native_bridge_android:
path: ../quill_native_bridge/quill_native_bridge_android
quill_native_bridge_ios:
path: ../quill_native_bridge/quill_native_bridge_ios
quill_native_bridge_macos:
path: ../quill_native_bridge/quill_native_bridge_macos


dev_dependencies:
flutter_test:
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ dependencies:
# Plugins
url_launcher: ^6.2.4
flutter_keyboard_visibility_temp_fork: ^0.1.1
quill_native_bridge: ^10.7.7
quill_native_bridge: ^10.7.8

dev_dependencies:
flutter_lints: ^5.0.0
Expand Down
6 changes: 0 additions & 6 deletions pubspec_overrides.yaml

This file was deleted.

29 changes: 0 additions & 29 deletions quill_native_bridge/quill_native_bridge/.gitignore

This file was deleted.

39 changes: 0 additions & 39 deletions quill_native_bridge/quill_native_bridge/.metadata

This file was deleted.

26 changes: 0 additions & 26 deletions quill_native_bridge/quill_native_bridge/CHANGELOG.md

This file was deleted.

21 changes: 0 additions & 21 deletions quill_native_bridge/quill_native_bridge/LICENSE

This file was deleted.

62 changes: 0 additions & 62 deletions quill_native_bridge/quill_native_bridge/README.md

This file was deleted.

32 changes: 0 additions & 32 deletions quill_native_bridge/quill_native_bridge/analysis_options.yaml

This file was deleted.

43 changes: 0 additions & 43 deletions quill_native_bridge/quill_native_bridge/example/.gitignore

This file was deleted.

30 changes: 0 additions & 30 deletions quill_native_bridge/quill_native_bridge/example/.metadata

This file was deleted.

3 changes: 0 additions & 3 deletions quill_native_bridge/quill_native_bridge/example/README.md

This file was deleted.

Loading