├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md └── workflows │ ├── nix-build.yaml │ ├── nix-flake-check.yaml │ ├── pull_request.yml │ ├── push.yml │ └── release.yml ├── .gitignore ├── .gpm.yaml ├── CHANGELOG.md ├── CONTRIBUTING.md ├── Cargo.lock ├── Cargo.toml ├── LICENSE ├── Makefile ├── README.md ├── api └── note.graphqls ├── build ├── ci │ ├── collect-dart-coverage-lcov │ └── travis-coverage ├── firebase │ ├── .firebaserc │ ├── .gitignore │ ├── firebase.json │ └── web ├── linters │ └── check-for-copyright └── make │ ├── cc_globals.mk │ ├── common.mk │ ├── dart.mk │ ├── flutter.mk │ ├── go.mk │ ├── gomobile.mk │ ├── gomobile_globals.mk │ └── version_globals.mk ├── cmd └── note-maps │ ├── build.mk │ ├── config.go │ ├── config_test.go │ ├── find.go │ ├── find_test.go │ ├── integration_test.go │ ├── main.go │ ├── set.go │ └── set_test.go ├── dart ├── nm_delta │ ├── .gitignore │ ├── CHANGELOG.md │ ├── README.md │ ├── analysis_options.yaml │ ├── build.mk │ ├── example │ │ └── nm_delta_example.dart │ ├── lib │ │ ├── nm_delta.dart │ │ └── src │ │ │ ├── item_op.dart │ │ │ ├── note_delta.dart │ │ │ ├── note_map_buffer.dart │ │ │ ├── note_map_change.dart │ │ │ ├── note_map_delta.dart │ │ │ ├── sequence_delta.dart │ │ │ └── string_delta.dart │ ├── pubspec.yaml │ └── test │ │ ├── item_delta_test.dart │ │ ├── note_delta_test.dart │ │ ├── note_map_buffer_test.dart │ │ ├── note_map_delta_test.dart │ │ └── sequence_delta_test.dart └── nm_delta_notus │ ├── .gitignore │ ├── CHANGELOG.md │ ├── README.md │ ├── analysis_options.yaml │ ├── build.mk │ ├── example │ └── nm_delta_notus_example.dart │ ├── lib │ ├── nm_delta_notus.dart │ └── src │ │ ├── custom_attributes.dart │ │ ├── note_map_notus_translator.dart │ │ └── quill_document_codec.dart │ ├── pubspec.yaml │ └── test │ ├── note_map_notus_translator_test.dart │ └── quill_document_codec_test.dart ├── docs ├── build.md ├── data-model.md ├── design.md ├── inspiration-board.jpg ├── like-editing-a-document.md ├── requirements.md └── ux.md ├── flake.lock ├── flake.nix ├── flutter ├── nm_app │ ├── .gitignore │ ├── .metadata │ ├── README.md │ ├── android │ │ ├── .gitignore │ │ ├── Gemfile │ │ ├── Gemfile.lock │ │ ├── app │ │ │ ├── build.gradle │ │ │ └── src │ │ │ │ ├── debug │ │ │ │ └── AndroidManifest.xml │ │ │ │ ├── main │ │ │ │ ├── AndroidManifest.xml │ │ │ │ ├── kotlin │ │ │ │ │ └── com │ │ │ │ │ │ └── github │ │ │ │ │ │ └── google │ │ │ │ │ │ └── notemaps │ │ │ │ │ │ └── MainActivity.kt │ │ │ │ └── res │ │ │ │ │ ├── drawable-v21 │ │ │ │ │ └── launch_background.xml │ │ │ │ │ ├── drawable │ │ │ │ │ └── launch_background.xml │ │ │ │ │ ├── mipmap-hdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ │ ├── mipmap-mdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ │ ├── mipmap-xhdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ │ ├── mipmap-xxhdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ │ ├── mipmap-xxxhdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ │ ├── values-night │ │ │ │ │ └── styles.xml │ │ │ │ │ └── values │ │ │ │ │ └── styles.xml │ │ │ │ └── profile │ │ │ │ └── AndroidManifest.xml │ │ ├── build.gradle │ │ ├── fastlane │ │ │ ├── Appfile │ │ │ └── Fastfile │ │ ├── gradle.properties │ │ ├── gradle │ │ │ └── wrapper │ │ │ │ └── gradle-wrapper.properties │ │ └── settings.gradle │ ├── build.mk │ ├── deps.nix │ ├── integration_test │ │ ├── app_test.dart │ │ └── driver.dart │ ├── ios │ │ ├── .gitignore │ │ ├── Flutter │ │ │ ├── AppFrameworkInfo.plist │ │ │ ├── Debug.xcconfig │ │ │ └── Release.xcconfig │ │ ├── Gemfile │ │ ├── Gemfile.lock │ │ ├── Podfile │ │ ├── Podfile.lock │ │ ├── Runner.xcodeproj │ │ │ ├── project.pbxproj │ │ │ ├── project.xcworkspace │ │ │ │ ├── contents.xcworkspacedata │ │ │ │ └── xcshareddata │ │ │ │ │ ├── IDEWorkspaceChecks.plist │ │ │ │ │ └── WorkspaceSettings.xcsettings │ │ │ └── xcshareddata │ │ │ │ └── xcschemes │ │ │ │ ├── Runner.xcscheme │ │ │ │ └── Snapshots.xcscheme │ │ ├── Runner.xcworkspace │ │ │ ├── contents.xcworkspacedata │ │ │ └── xcshareddata │ │ │ │ ├── IDEWorkspaceChecks.plist │ │ │ │ └── WorkspaceSettings.xcsettings │ │ ├── Runner │ │ │ ├── AppDelegate.swift │ │ │ ├── Assets.xcassets │ │ │ │ ├── AppIcon.appiconset │ │ │ │ │ ├── Contents.json │ │ │ │ │ ├── Icon-App-1024x1024@1x.png │ │ │ │ │ ├── Icon-App-20x20@1x.png │ │ │ │ │ ├── Icon-App-20x20@2x.png │ │ │ │ │ ├── Icon-App-20x20@3x.png │ │ │ │ │ ├── Icon-App-29x29@1x.png │ │ │ │ │ ├── Icon-App-29x29@2x.png │ │ │ │ │ ├── Icon-App-29x29@3x.png │ │ │ │ │ ├── Icon-App-40x40@1x.png │ │ │ │ │ ├── Icon-App-40x40@2x.png │ │ │ │ │ ├── Icon-App-40x40@3x.png │ │ │ │ │ ├── Icon-App-60x60@2x.png │ │ │ │ │ ├── Icon-App-60x60@3x.png │ │ │ │ │ ├── Icon-App-76x76@1x.png │ │ │ │ │ ├── Icon-App-76x76@2x.png │ │ │ │ │ └── Icon-App-83.5x83.5@2x.png │ │ │ │ └── LaunchImage.imageset │ │ │ │ │ ├── Contents.json │ │ │ │ │ ├── LaunchImage.png │ │ │ │ │ ├── LaunchImage@2x.png │ │ │ │ │ ├── LaunchImage@3x.png │ │ │ │ │ └── README.md │ │ │ ├── Base.lproj │ │ │ │ ├── LaunchScreen.storyboard │ │ │ │ └── Main.storyboard │ │ │ ├── Info.plist │ │ │ └── Runner-Bridging-Header.h │ │ ├── Snapshots │ │ │ ├── Info.plist │ │ │ ├── SnapshotHelper.swift │ │ │ └── Snapshots.swift │ │ └── fastlane │ │ │ ├── Appfile │ │ │ ├── Fastfile │ │ │ ├── README.md │ │ │ └── Snapfile │ ├── lib │ │ ├── main.dart │ │ └── src │ │ │ ├── about_list_tile.dart │ │ │ ├── drawer.dart │ │ │ └── editor_page.dart │ ├── linux │ │ ├── .gitignore │ │ ├── CMakeLists.txt │ │ ├── flutter │ │ │ ├── CMakeLists.txt │ │ │ ├── generated_plugin_registrant.cc │ │ │ ├── generated_plugin_registrant.h │ │ │ └── generated_plugins.cmake │ │ ├── main.cc │ │ ├── my_application.cc │ │ └── my_application.h │ ├── macos │ │ ├── .gitignore │ │ ├── Flutter │ │ │ ├── Flutter-Debug.xcconfig │ │ │ ├── Flutter-Release.xcconfig │ │ │ └── GeneratedPluginRegistrant.swift │ │ ├── Podfile │ │ ├── Podfile.lock │ │ ├── Runner.xcodeproj │ │ │ ├── project.pbxproj │ │ │ ├── project.xcworkspace │ │ │ │ └── xcshareddata │ │ │ │ │ └── IDEWorkspaceChecks.plist │ │ │ └── xcshareddata │ │ │ │ └── xcschemes │ │ │ │ └── Runner.xcscheme │ │ ├── Runner.xcworkspace │ │ │ ├── contents.xcworkspacedata │ │ │ └── xcshareddata │ │ │ │ └── IDEWorkspaceChecks.plist │ │ └── Runner │ │ │ ├── AppDelegate.swift │ │ │ ├── Assets.xcassets │ │ │ └── AppIcon.appiconset │ │ │ │ ├── Contents.json │ │ │ │ ├── app_icon_1024.png │ │ │ │ ├── app_icon_128.png │ │ │ │ ├── app_icon_16.png │ │ │ │ ├── app_icon_256.png │ │ │ │ ├── app_icon_32.png │ │ │ │ ├── app_icon_512.png │ │ │ │ └── app_icon_64.png │ │ │ ├── Base.lproj │ │ │ └── MainMenu.xib │ │ │ ├── Configs │ │ │ ├── AppInfo.xcconfig │ │ │ ├── Debug.xcconfig │ │ │ ├── Release.xcconfig │ │ │ └── Warnings.xcconfig │ │ │ ├── DebugProfile.entitlements │ │ │ ├── Info.plist │ │ │ ├── MainFlutterWindow.swift │ │ │ └── Release.entitlements │ ├── pubspec.lock │ ├── pubspec.yaml │ ├── test │ │ └── widget_test.dart │ └── web │ │ ├── favicon.png │ │ ├── icons │ │ ├── Icon-192.png │ │ └── Icon-512.png │ │ ├── index.html │ │ └── manifest.json └── nm_gql_go_link │ ├── .gitignore │ ├── .metadata │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── analysis_options.yaml │ ├── android │ ├── .gitignore │ ├── build.gradle │ ├── gradle.properties │ ├── gradle │ │ └── wrapper │ │ │ └── gradle-wrapper.properties │ ├── settings.gradle │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ └── java │ │ └── com │ │ └── example │ │ └── nm_gql_go_link │ │ └── NmGqlGoLinkPlugin.java │ ├── build.mk │ ├── build.yaml │ ├── cgo │ └── main.go │ ├── example │ ├── .gitignore │ ├── .metadata │ ├── README.md │ ├── android │ │ ├── .gitignore │ │ ├── app │ │ │ ├── build.gradle │ │ │ └── src │ │ │ │ ├── debug │ │ │ │ └── AndroidManifest.xml │ │ │ │ ├── main │ │ │ │ ├── AndroidManifest.xml │ │ │ │ ├── java │ │ │ │ │ └── com │ │ │ │ │ │ └── example │ │ │ │ │ │ └── nm_gql_go_link_example │ │ │ │ │ │ └── MainActivity.java │ │ │ │ └── res │ │ │ │ │ ├── drawable │ │ │ │ │ └── launch_background.xml │ │ │ │ │ ├── mipmap-hdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ │ ├── mipmap-mdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ │ ├── mipmap-xhdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ │ ├── mipmap-xxhdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ │ ├── mipmap-xxxhdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ │ └── values │ │ │ │ │ └── styles.xml │ │ │ │ └── profile │ │ │ │ └── AndroidManifest.xml │ │ ├── build.gradle │ │ ├── gradle.properties │ │ ├── gradle │ │ │ └── wrapper │ │ │ │ └── gradle-wrapper.properties │ │ └── settings.gradle │ ├── ios │ │ ├── .gitignore │ │ ├── Flutter │ │ │ ├── AppFrameworkInfo.plist │ │ │ ├── Debug.xcconfig │ │ │ └── Release.xcconfig │ │ ├── Podfile │ │ ├── Podfile.lock │ │ ├── Runner.xcodeproj │ │ │ ├── project.pbxproj │ │ │ ├── project.xcworkspace │ │ │ │ ├── contents.xcworkspacedata │ │ │ │ └── xcshareddata │ │ │ │ │ ├── IDEWorkspaceChecks.plist │ │ │ │ │ └── WorkspaceSettings.xcsettings │ │ │ └── xcshareddata │ │ │ │ └── xcschemes │ │ │ │ └── Runner.xcscheme │ │ ├── Runner.xcworkspace │ │ │ ├── contents.xcworkspacedata │ │ │ └── xcshareddata │ │ │ │ ├── IDEWorkspaceChecks.plist │ │ │ │ └── WorkspaceSettings.xcsettings │ │ └── Runner │ │ │ ├── AppDelegate.h │ │ │ ├── AppDelegate.m │ │ │ ├── AppDelegate.swift │ │ │ ├── Assets.xcassets │ │ │ ├── AppIcon.appiconset │ │ │ │ ├── Contents.json │ │ │ │ ├── Icon-App-1024x1024@1x.png │ │ │ │ ├── Icon-App-20x20@1x.png │ │ │ │ ├── Icon-App-20x20@2x.png │ │ │ │ ├── Icon-App-20x20@3x.png │ │ │ │ ├── Icon-App-29x29@1x.png │ │ │ │ ├── Icon-App-29x29@2x.png │ │ │ │ ├── Icon-App-29x29@3x.png │ │ │ │ ├── Icon-App-40x40@1x.png │ │ │ │ ├── Icon-App-40x40@2x.png │ │ │ │ ├── Icon-App-40x40@3x.png │ │ │ │ ├── Icon-App-60x60@2x.png │ │ │ │ ├── Icon-App-60x60@3x.png │ │ │ │ ├── Icon-App-76x76@1x.png │ │ │ │ ├── Icon-App-76x76@2x.png │ │ │ │ └── Icon-App-83.5x83.5@2x.png │ │ │ └── LaunchImage.imageset │ │ │ │ ├── Contents.json │ │ │ │ ├── LaunchImage.png │ │ │ │ ├── LaunchImage@2x.png │ │ │ │ ├── LaunchImage@3x.png │ │ │ │ └── README.md │ │ │ ├── Base.lproj │ │ │ ├── LaunchScreen.storyboard │ │ │ └── Main.storyboard │ │ │ ├── Info.plist │ │ │ ├── Runner-Bridging-Header.h │ │ │ └── main.m │ ├── lib │ │ └── main.dart │ ├── linux │ │ ├── .gitignore │ │ ├── CMakeLists.txt │ │ ├── flutter │ │ │ ├── CMakeLists.txt │ │ │ ├── generated_plugin_registrant.cc │ │ │ ├── generated_plugin_registrant.h │ │ │ └── generated_plugins.cmake │ │ ├── main.cc │ │ ├── my_application.cc │ │ └── my_application.h │ ├── macos │ │ ├── .gitignore │ │ ├── Flutter │ │ │ ├── Flutter-Debug.xcconfig │ │ │ ├── Flutter-Release.xcconfig │ │ │ └── GeneratedPluginRegistrant.swift │ │ ├── Podfile │ │ ├── Podfile.lock │ │ ├── Runner.xcodeproj │ │ │ ├── project.pbxproj │ │ │ ├── project.xcworkspace │ │ │ │ └── xcshareddata │ │ │ │ │ └── IDEWorkspaceChecks.plist │ │ │ └── xcshareddata │ │ │ │ └── xcschemes │ │ │ │ └── Runner.xcscheme │ │ ├── Runner.xcworkspace │ │ │ ├── contents.xcworkspacedata │ │ │ └── xcshareddata │ │ │ │ └── IDEWorkspaceChecks.plist │ │ └── Runner │ │ │ ├── AppDelegate.swift │ │ │ ├── Assets.xcassets │ │ │ └── AppIcon.appiconset │ │ │ │ ├── Contents.json │ │ │ │ ├── app_icon_1024.png │ │ │ │ ├── app_icon_128.png │ │ │ │ ├── app_icon_16.png │ │ │ │ ├── app_icon_256.png │ │ │ │ ├── app_icon_32.png │ │ │ │ ├── app_icon_512.png │ │ │ │ └── app_icon_64.png │ │ │ ├── Base.lproj │ │ │ └── MainMenu.xib │ │ │ ├── Configs │ │ │ ├── AppInfo.xcconfig │ │ │ ├── Debug.xcconfig │ │ │ ├── Release.xcconfig │ │ │ └── Warnings.xcconfig │ │ │ ├── DebugProfile.entitlements │ │ │ ├── Info.plist │ │ │ ├── MainFlutterWindow.swift │ │ │ └── Release.entitlements │ ├── pubspec.lock │ ├── pubspec.yaml │ └── test │ │ └── widget_test.dart │ ├── graphql │ ├── note.graphqls │ └── note.status.query.graphql │ ├── ios │ ├── .gitignore │ ├── Assets │ │ └── .gitkeep │ ├── Classes │ │ ├── NmGqlGoLinkPlugin.h │ │ └── NmGqlGoLinkPlugin.m │ └── nm_gql_go_link.podspec │ ├── lib │ ├── nm_gql_go_link.dart │ ├── note_graphql.dart │ ├── note_graphql.graphql.dart │ └── note_graphql.graphql.g.dart │ ├── linux │ ├── CMakeLists.txt │ ├── include │ │ └── nm_gql_go_link │ │ │ └── nm_gql_go_link_plugin.h │ └── nm_gql_go_link_plugin.cc │ ├── macos │ ├── Classes │ │ ├── NmGqlGoLinkPlugin.h │ │ └── NmGqlGoLinkPlugin.m │ ├── Frameworks │ │ └── GoNmgql.framework │ │ │ ├── Headers │ │ │ ├── Modules │ │ │ ├── Resources │ │ │ └── Versions │ │ │ ├── A │ │ │ ├── Headers │ │ │ │ └── GoNmgql.h │ │ │ ├── Modules │ │ │ │ └── module.modulemap │ │ │ └── Resources │ │ │ │ └── Info.plist │ │ │ └── Current │ └── nm_gql_go_link.podspec │ ├── nm_gql.go │ ├── nm_gql_android.go │ ├── nm_gql_go_link.iml │ ├── nm_gql_ios.go │ ├── nm_gql_macos.go │ ├── pubspec.lock │ ├── pubspec.yaml │ └── test │ └── nm_gql_go_link_test.dart ├── githooks └── pre-commit ├── go.mod ├── go.nix ├── go.sum ├── gomod2nix.toml ├── kv ├── badger │ ├── badger.go │ └── badger_test.go ├── cmd │ └── kvschema │ │ ├── bindata │ │ └── bindata.go │ │ ├── main.go │ │ ├── main_test.go │ │ └── templates │ │ └── kvschema.gotmpl ├── examples │ └── docs │ │ ├── docs.go │ │ ├── docs_test.go │ │ └── kvschema.go ├── kv.go ├── kv_test.go ├── kvtest │ ├── kvtest.go │ └── kvtest_test.go ├── memory │ ├── memory.go │ └── memory_test.go └── test.sh ├── nix ├── dart2nix.sh ├── default.nix ├── envrc ├── sources.json └── sources.nix ├── note ├── dbtest │ ├── dbtest.go │ └── dbtest_test.go ├── empty.go ├── empty_test.go ├── errors.go ├── generate_graph.go ├── generate_id_ot.go ├── gqlgen.yml ├── graph │ ├── generated │ │ └── generated.go │ ├── model │ │ └── models_gen.go │ ├── resolver.go │ ├── schema.graphqls │ └── schema.resolvers.go ├── id.go ├── id_ot.go ├── id_ot_test.go ├── id_test.go ├── notes.go ├── notes_test.go ├── notetest │ ├── notestest.go │ └── notestest_test.go ├── op.go ├── op_test.go ├── plain.go ├── query.go ├── stage.go ├── stage_test.go ├── textile │ ├── textile.go │ └── textile_test.go ├── truncated │ ├── truncated.go │ └── truncated_test.go └── yaml │ ├── marshal.go │ ├── unmarshal.go │ ├── yaml.go │ └── yaml_test.go ├── otgen ├── generate.go ├── generate_tmpls.go ├── generated_tmpls.go ├── main.go ├── main_test.go ├── otgen.go ├── runes │ ├── generate_runes.go │ ├── runes.go │ ├── runes_ot.go │ ├── runes_ot_test.go │ └── runes_test.go └── templates │ ├── ot.go.tmpl │ └── ot_test.go.tmpl ├── rust ├── notemaps │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── notemaps_core │ ├── Cargo.toml │ └── src │ │ ├── am.rs │ │ ├── base.rs │ │ ├── error.rs │ │ ├── lib.rs │ │ ├── markup.rs │ │ └── text.rs └── notemaps_text │ ├── Cargo.toml │ └── src │ ├── cursor.rs │ ├── immutable.rs │ ├── lib.rs │ ├── mark_set.rs │ ├── marked.rs │ ├── markup.rs │ ├── measured.rs │ ├── offsets.rs │ ├── slice.rs │ └── table.rs ├── third_party ├── nixpkgs │ ├── THIRD_PARTY.md │ ├── dart │ │ └── default.nix │ ├── fastlane │ │ ├── Gemfile │ │ ├── Gemfile.lock │ │ ├── default.nix │ │ └── gemset.nix │ └── flutter │ │ ├── beta.nix │ │ ├── default.nix │ │ ├── dev.nix │ │ ├── flutter.nix │ │ ├── patches │ │ ├── dev │ │ │ ├── disable-auto-update.patch │ │ │ └── move-cache.patch │ │ └── stable │ │ │ ├── disable-auto-update.patch │ │ │ └── move-cache.patch │ │ └── stable.nix └── zefyr │ ├── .github │ └── ISSUE_TEMPLATE.md │ ├── .gitignore │ ├── .travis.yml │ ├── README.md │ ├── SUMMARY.md │ ├── assets │ ├── markdown-semantics.png │ ├── quick-start-rec-01.gif │ ├── quick-start-rec-02.gif │ ├── quick-start-rec-03.gif │ ├── quick-start-screen-01.png │ ├── quick-start-screen-02.png │ ├── zefyr-1.png │ └── zefyr-2.png │ ├── doc │ ├── concepts │ │ ├── attributes.md │ │ ├── data-and-document.md │ │ └── heuristics.md │ ├── faq.md │ ├── images.md │ ├── quick-start.md │ └── release-notes.md │ ├── docs │ ├── .last_build_id │ ├── assets │ │ ├── AssetManifest.json │ │ ├── FontManifest.json │ │ ├── NOTICES │ │ ├── assets │ │ │ ├── layout_expanded.note │ │ │ ├── layout_scrollable.note │ │ │ └── welcome.note │ │ ├── fonts │ │ │ └── MaterialIcons-Regular.otf │ │ ├── images │ │ │ └── breeze.jpg │ │ └── packages │ │ │ └── cupertino_icons │ │ │ └── assets │ │ │ └── CupertinoIcons.ttf │ ├── favicon.png │ ├── flutter_service_worker.js │ ├── icons │ │ ├── Icon-192.png │ │ └── Icon-512.png │ ├── index.html │ ├── main.dart.js │ ├── main.dart.js.map │ ├── manifest.json │ └── version.json │ ├── packages │ ├── notus │ │ ├── .gitignore │ │ ├── AUTHORS │ │ ├── CHANGELOG.md │ │ ├── LICENSE │ │ ├── README.md │ │ ├── analysis_options.yaml │ │ ├── example │ │ │ └── main.dart │ │ ├── lib │ │ │ ├── convert.dart │ │ │ ├── notus.dart │ │ │ └── src │ │ │ │ ├── convert │ │ │ │ └── markdown.dart │ │ │ │ ├── document.dart │ │ │ │ ├── document │ │ │ │ ├── attributes.dart │ │ │ │ ├── block.dart │ │ │ │ ├── embeds.dart │ │ │ │ ├── leaf.dart │ │ │ │ ├── line.dart │ │ │ │ └── node.dart │ │ │ │ ├── heuristics.dart │ │ │ │ └── heuristics │ │ │ │ ├── delete_rules.dart │ │ │ │ ├── format_rules.dart │ │ │ │ └── insert_rules.dart │ │ ├── pubspec.yaml │ │ ├── test │ │ │ ├── convert │ │ │ │ └── markdown_test.dart │ │ │ ├── document │ │ │ │ ├── attributes_test.dart │ │ │ │ ├── block_test.dart │ │ │ │ ├── leaf_test.dart │ │ │ │ ├── line_test.dart │ │ │ │ └── node_test.dart │ │ │ ├── document_test.dart │ │ │ ├── heuristics │ │ │ │ ├── delete_rules_test.dart │ │ │ │ ├── format_rules_test.dart │ │ │ │ └── insert_rules_test.dart │ │ │ ├── heuristics_test.dart │ │ │ └── matchers.dart │ │ └── tool │ │ │ └── travis.sh │ └── zefyr │ │ ├── .gitignore │ │ ├── AUTHORS │ │ ├── CHANGELOG.md │ │ ├── LICENSE │ │ ├── README.md │ │ ├── analysis_options.yaml │ │ ├── example │ │ ├── .gitignore │ │ ├── .metadata │ │ ├── README.md │ │ ├── android │ │ │ ├── .gitignore │ │ │ ├── app │ │ │ │ ├── build.gradle │ │ │ │ └── src │ │ │ │ │ ├── debug │ │ │ │ │ └── AndroidManifest.xml │ │ │ │ │ ├── main │ │ │ │ │ ├── AndroidManifest.xml │ │ │ │ │ ├── kotlin │ │ │ │ │ │ └── com │ │ │ │ │ │ │ └── zefyr │ │ │ │ │ │ │ └── example │ │ │ │ │ │ │ └── MainActivity.kt │ │ │ │ │ └── res │ │ │ │ │ │ ├── drawable │ │ │ │ │ │ └── launch_background.xml │ │ │ │ │ │ ├── mipmap-hdpi │ │ │ │ │ │ └── ic_launcher.png │ │ │ │ │ │ ├── mipmap-mdpi │ │ │ │ │ │ └── ic_launcher.png │ │ │ │ │ │ ├── mipmap-xhdpi │ │ │ │ │ │ └── ic_launcher.png │ │ │ │ │ │ ├── mipmap-xxhdpi │ │ │ │ │ │ └── ic_launcher.png │ │ │ │ │ │ ├── mipmap-xxxhdpi │ │ │ │ │ │ └── ic_launcher.png │ │ │ │ │ │ └── values │ │ │ │ │ │ └── styles.xml │ │ │ │ │ └── profile │ │ │ │ │ └── AndroidManifest.xml │ │ │ ├── build.gradle │ │ │ ├── gradle.properties │ │ │ ├── gradle │ │ │ │ └── wrapper │ │ │ │ │ ├── gradle-wrapper.jar │ │ │ │ │ └── gradle-wrapper.properties │ │ │ ├── gradlew │ │ │ ├── gradlew.bat │ │ │ └── settings.gradle │ │ ├── assets │ │ │ ├── basics_read_only_view.note │ │ │ ├── layout_expanded.note │ │ │ ├── layout_scrollable.note │ │ │ └── welcome.note │ │ ├── example.iml │ │ ├── example_android.iml │ │ ├── images │ │ │ └── breeze.jpg │ │ ├── ios │ │ │ ├── .gitignore │ │ │ ├── Flutter │ │ │ │ ├── AppFrameworkInfo.plist │ │ │ │ ├── Debug.xcconfig │ │ │ │ └── Release.xcconfig │ │ │ ├── Podfile │ │ │ ├── Podfile.lock │ │ │ ├── Runner.xcodeproj │ │ │ │ ├── project.pbxproj │ │ │ │ ├── project.xcworkspace │ │ │ │ │ ├── contents.xcworkspacedata │ │ │ │ │ └── xcshareddata │ │ │ │ │ │ ├── IDEWorkspaceChecks.plist │ │ │ │ │ │ └── WorkspaceSettings.xcsettings │ │ │ │ └── xcshareddata │ │ │ │ │ └── xcschemes │ │ │ │ │ └── Runner.xcscheme │ │ │ ├── Runner.xcworkspace │ │ │ │ ├── contents.xcworkspacedata │ │ │ │ └── xcshareddata │ │ │ │ │ ├── IDEWorkspaceChecks.plist │ │ │ │ │ └── WorkspaceSettings.xcsettings │ │ │ └── Runner │ │ │ │ ├── AppDelegate.swift │ │ │ │ ├── Assets.xcassets │ │ │ │ ├── AppIcon.appiconset │ │ │ │ │ ├── Contents.json │ │ │ │ │ ├── Icon-App-1024x1024@1x.png │ │ │ │ │ ├── Icon-App-20x20@1x.png │ │ │ │ │ ├── Icon-App-20x20@2x.png │ │ │ │ │ ├── Icon-App-20x20@3x.png │ │ │ │ │ ├── Icon-App-29x29@1x.png │ │ │ │ │ ├── Icon-App-29x29@2x.png │ │ │ │ │ ├── Icon-App-29x29@3x.png │ │ │ │ │ ├── Icon-App-40x40@1x.png │ │ │ │ │ ├── Icon-App-40x40@2x.png │ │ │ │ │ ├── Icon-App-40x40@3x.png │ │ │ │ │ ├── Icon-App-60x60@2x.png │ │ │ │ │ ├── Icon-App-60x60@3x.png │ │ │ │ │ ├── Icon-App-76x76@1x.png │ │ │ │ │ ├── Icon-App-76x76@2x.png │ │ │ │ │ └── Icon-App-83.5x83.5@2x.png │ │ │ │ └── LaunchImage.imageset │ │ │ │ │ ├── Contents.json │ │ │ │ │ ├── LaunchImage.png │ │ │ │ │ ├── LaunchImage@2x.png │ │ │ │ │ ├── LaunchImage@3x.png │ │ │ │ │ └── README.md │ │ │ │ ├── Base.lproj │ │ │ │ ├── LaunchScreen.storyboard │ │ │ │ └── Main.storyboard │ │ │ │ ├── Info.plist │ │ │ │ └── Runner-Bridging-Header.h │ │ ├── lib │ │ │ ├── main.dart │ │ │ ├── quick_start.dart │ │ │ └── src │ │ │ │ ├── editor_page.dart │ │ │ │ ├── form.dart │ │ │ │ ├── forms_decorated_field.dart │ │ │ │ ├── full_page.dart │ │ │ │ ├── home.dart │ │ │ │ ├── layout.dart │ │ │ │ ├── layout_expanded.dart │ │ │ │ ├── layout_scrollable.dart │ │ │ │ ├── read_only_view.dart │ │ │ │ ├── scaffold.dart │ │ │ │ ├── settings.dart │ │ │ │ └── text_field_page.dart │ │ ├── linux │ │ │ ├── .gitignore │ │ │ ├── CMakeLists.txt │ │ │ ├── flutter │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── generated_plugin_registrant.cc │ │ │ │ ├── generated_plugin_registrant.h │ │ │ │ └── generated_plugins.cmake │ │ │ ├── main.cc │ │ │ ├── my_application.cc │ │ │ └── my_application.h │ │ ├── macos │ │ │ ├── .gitignore │ │ │ ├── Flutter │ │ │ │ ├── Flutter-Debug.xcconfig │ │ │ │ ├── Flutter-Release.xcconfig │ │ │ │ └── GeneratedPluginRegistrant.swift │ │ │ ├── Podfile │ │ │ ├── Podfile.lock │ │ │ ├── Runner.xcodeproj │ │ │ │ ├── project.pbxproj │ │ │ │ ├── project.xcworkspace │ │ │ │ │ └── xcshareddata │ │ │ │ │ │ └── IDEWorkspaceChecks.plist │ │ │ │ └── xcshareddata │ │ │ │ │ └── xcschemes │ │ │ │ │ └── Runner.xcscheme │ │ │ ├── Runner.xcworkspace │ │ │ │ ├── contents.xcworkspacedata │ │ │ │ └── xcshareddata │ │ │ │ │ └── IDEWorkspaceChecks.plist │ │ │ └── Runner │ │ │ │ ├── AppDelegate.swift │ │ │ │ ├── Assets.xcassets │ │ │ │ └── AppIcon.appiconset │ │ │ │ │ ├── Contents.json │ │ │ │ │ ├── app_icon_1024.png │ │ │ │ │ ├── app_icon_128.png │ │ │ │ │ ├── app_icon_16.png │ │ │ │ │ ├── app_icon_256.png │ │ │ │ │ ├── app_icon_32.png │ │ │ │ │ ├── app_icon_512.png │ │ │ │ │ └── app_icon_64.png │ │ │ │ ├── Base.lproj │ │ │ │ └── MainMenu.xib │ │ │ │ ├── Configs │ │ │ │ ├── AppInfo.xcconfig │ │ │ │ ├── Debug.xcconfig │ │ │ │ ├── Release.xcconfig │ │ │ │ └── Warnings.xcconfig │ │ │ │ ├── DebugProfile.entitlements │ │ │ │ ├── Info.plist │ │ │ │ ├── MainFlutterWindow.swift │ │ │ │ └── Release.entitlements │ │ ├── pubspec.yaml │ │ ├── test │ │ │ └── widget_test.dart │ │ └── web │ │ │ ├── favicon.png │ │ │ ├── icons │ │ │ ├── Icon-192.png │ │ │ └── Icon-512.png │ │ │ ├── index.html │ │ │ └── manifest.json │ │ ├── lib │ │ ├── src │ │ │ ├── fast_diff.dart │ │ │ ├── rendering │ │ │ │ ├── baseline_proxy.dart │ │ │ │ ├── cursor_painter.dart │ │ │ │ ├── editable_box.dart │ │ │ │ ├── editable_text_block.dart │ │ │ │ ├── editable_text_line.dart │ │ │ │ ├── editor.dart │ │ │ │ ├── embed_proxy.dart │ │ │ │ └── paragraph_proxy.dart │ │ │ ├── services │ │ │ │ └── keyboard.dart │ │ │ └── widgets │ │ │ │ ├── baseline_proxy.dart │ │ │ │ ├── controller.dart │ │ │ │ ├── cursor.dart │ │ │ │ ├── editable_text_block.dart │ │ │ │ ├── editable_text_line.dart │ │ │ │ ├── editor.dart │ │ │ │ ├── editor_input_client_mixin.dart │ │ │ │ ├── editor_keyboard_mixin.dart │ │ │ │ ├── editor_selection_delegate_mixin.dart │ │ │ │ ├── editor_toolbar.dart │ │ │ │ ├── embed_proxy.dart │ │ │ │ ├── field.dart │ │ │ │ ├── rich_text_proxy.dart │ │ │ │ ├── selection_utils.dart │ │ │ │ ├── text_line.dart │ │ │ │ ├── text_selection.dart │ │ │ │ └── theme.dart │ │ ├── util.dart │ │ └── zefyr.dart │ │ ├── pubspec.yaml │ │ ├── test │ │ ├── fast_diff_test.dart │ │ ├── testing.dart │ │ ├── util_test.dart │ │ └── widgets │ │ │ ├── controller_test.dart │ │ │ ├── editable_text_test.dart │ │ │ └── editor_test.dart │ │ ├── tool │ │ └── travis.sh │ │ └── zefyr.png │ └── tool │ └── travis.sh └── tmaps ├── ctm ├── ctm.go ├── ctm_test.go └── internal │ └── lex │ ├── lex.go │ └── lex_test.go ├── internal └── lex │ ├── lex.go │ └── lex_test.go ├── mobileapi ├── android.go ├── ios.go └── mobileapi.go ├── pb ├── pb.go ├── tmaps.pb.go └── tmaps.proto ├── pbapi ├── pbapi.go └── pbapi_test.go ├── tmaps.go ├── tmdb ├── models │ ├── internal │ │ └── pb │ │ │ ├── pb.go │ │ │ ├── tmdb_models_internal.pb.go │ │ │ └── tmdb_models_internal.proto │ ├── kvschema.go │ ├── models.go │ └── models_test.go ├── tmdb.go └── tmdb_test.go └── tmql ├── tmql.go └── tmql_test.go /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Bug report 3 | about: Create a report to help us improve 4 | title: '' 5 | labels: '' 6 | assignees: jtacoma 7 | 8 | --- 9 | 10 | **Describe the bug** 11 | A clear and concise description of what the bug is. 12 | 13 | **To Reproduce** 14 | Steps to reproduce the behavior: 15 | 1. Go to '...' 16 | 2. Click on '....' 17 | 3. Scroll down to '....' 18 | 4. See error 19 | 20 | **Expected behavior** 21 | A clear and concise description of what you expected to happen. 22 | 23 | **Screenshots** 24 | If applicable, add screenshots to help explain your problem. 25 | 26 | **Desktop (please complete the following information):** 27 | - OS: [e.g. iOS] 28 | - Browser [e.g. chrome, safari] 29 | - Version [e.g. 22] 30 | 31 | **Smartphone (please complete the following information):** 32 | - Device: [e.g. iPhone6] 33 | - OS: [e.g. iOS8.1] 34 | - Browser [e.g. stock browser, safari] 35 | - Version [e.g. 22] 36 | 37 | **Additional context** 38 | Add any other context about the problem here. 39 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Feature request 3 | about: Suggest an idea for this project 4 | title: '' 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | **Is your feature request related to a problem? Please describe.** 11 | A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] 12 | 13 | **Describe the solution you'd like** 14 | A clear and concise description of what you want to happen. 15 | 16 | **Describe alternatives you've considered** 17 | A clear and concise description of any alternative solutions or features you've considered. 18 | 19 | **Additional context** 20 | Add any other context or screenshots about the feature request here. 21 | -------------------------------------------------------------------------------- /.github/workflows/nix-build.yaml: -------------------------------------------------------------------------------- 1 | name: nix-build 2 | on: [ push ] 3 | env: 4 | NIXPKGS_ALLOW_UNFREE: 1 5 | jobs: 6 | build: 7 | runs-on: 'ubuntu-24.04' 8 | steps: 9 | - uses: actions/checkout@v2.3.4 10 | - uses: cachix/install-nix-action@v16 11 | with: 12 | nix_path: nixpkgs=channel:nixos-unstable 13 | - uses: cachix/cachix-action@v10 14 | with: 15 | name: note-maps 16 | authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" 17 | - run: nix build 18 | -------------------------------------------------------------------------------- /.github/workflows/nix-flake-check.yaml: -------------------------------------------------------------------------------- 1 | name: nix-flake-check 2 | on: [ push ] 3 | env: 4 | NIXPKGS_ALLOW_UNFREE: 1 5 | jobs: 6 | check: 7 | runs-on: 'ubuntu-24.04' 8 | steps: 9 | - uses: actions/checkout@v2.3.4 10 | - uses: cachix/install-nix-action@v16 11 | with: 12 | nix_path: nixpkgs=channel:nixos-unstable 13 | - uses: cachix/cachix-action@v10 14 | with: 15 | name: note-maps 16 | authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" 17 | - run: nix flake check 18 | -------------------------------------------------------------------------------- /.github/workflows/push.yml: -------------------------------------------------------------------------------- 1 | name: push 2 | on: 3 | push: 4 | branches-ignore: '**' 5 | env: 6 | NIXPKGS_ALLOW_UNFREE: 1 7 | jobs: 8 | test: 9 | runs-on: 'ubuntu-24.04' 10 | steps: 11 | - uses: actions/checkout@v2.3.4 12 | - uses: cachix/install-nix-action@v16 13 | with: 14 | nix_path: nixpkgs=channel:nixos-unstable 15 | - uses: cachix/cachix-action@v10 16 | with: 17 | name: note-maps 18 | authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" 19 | - run: nix shell -c make -e download 20 | - run: nix shell -c make -e -j lint test 21 | - run: nix shell -c make -e build 22 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore Android archives (AAR) 2 | *.aar 3 | # Ignore Java archives (JAR) 4 | *.jar 5 | # Ignore Gradle temporary files 6 | .gradle 7 | # Ignore Nix stuff 8 | /.direnv 9 | /result 10 | # Ignore configs that any developer may want to customize for their own 11 | # environment. 12 | /.envrc 13 | /shell.nix 14 | /config.mk 15 | # Ignore temporary files produced by Makefile 16 | .mk.* 17 | /out 18 | /VERSION 19 | /VERSION_INFO 20 | # Ignore F-Droid data that's not meant to be versioned 21 | /fdroid/keystore.* 22 | /fdroid/tmp 23 | /fdroid/repo 24 | /fdroid/archive 25 | # Ignore authentication credentials and private keys 26 | /secret 27 | # Ignore Rust temporary build outputs 28 | /target 29 | -------------------------------------------------------------------------------- /.gpm.yaml: -------------------------------------------------------------------------------- 1 | packages: 2 | - path: dart/nm_delta 3 | test: 4 | steps: 5 | - run: dart test --coverage=coverage 6 | - run: format_coverage --in=coverage --packages=.packages --report-on=lib --lcov --out=coverage.lcov 7 | - path: dart/nm_delta_notus 8 | test: 9 | steps: 10 | - run: dart test --coverage=coverage 11 | - run: format_coverage --in=coverage --packages=.packages --report-on=lib --lcov --out=coverage.lcov 12 | -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- 1 | [workspace] 2 | members = [ 3 | "rust/notemaps", 4 | "rust/notemaps_core", 5 | "rust/notemaps_text", 6 | ] 7 | 8 | [profile.release] 9 | lto = true 10 | codegen-units = 1 11 | debug = true 12 | -------------------------------------------------------------------------------- /api/note.graphqls: -------------------------------------------------------------------------------- 1 | # Copyright 2020 Google LLC 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # https:#www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | type Status { 16 | id: ID! 17 | summary: String! 18 | } 19 | 20 | type Query { 21 | status: Status! 22 | } 23 | -------------------------------------------------------------------------------- /build/ci/collect-dart-coverage-lcov: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Copyright 2020-2021 Google LLC 4 | # 5 | # Licensed under the Apache License, Version 2.0 (the "License"); 6 | # you may not use this file except in compliance with the License. 7 | # You may obtain a copy of the License at 8 | # 9 | # https://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | 17 | find packages -name coverage.lcov | while read filename ; do 18 | sed -e 's/^SF:.*\/packages\//SF:packages\//' < "${filename}" > "${filename}.relative" 19 | done 20 | find packages -name coverage.lcov.relative -exec echo -a {} \; | xargs lcov -o dart-coverage.lcov 21 | -------------------------------------------------------------------------------- /build/ci/travis-coverage: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # Copyright 2019 Google LLC 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # https://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | 16 | # Prerequisites: 17 | # go get github.com/mattn/goveralls 18 | 19 | set -e 20 | 21 | # Redirect output to stderr. 22 | exec 1>&2 23 | 24 | gopkgs="$(go list ./... | grep -Ev '/(bindata|pb|third_party|vendor)\>')" 25 | 26 | go test -v -covermode=count -coverprofile=coverage.out ${gopkgs} 27 | "${GOPATH}/bin/goveralls" -coverprofile=coverage.out -service=travis-ci 28 | -------------------------------------------------------------------------------- /build/firebase/.firebaserc: -------------------------------------------------------------------------------- 1 | { 2 | "projects": { 3 | "default": "note-maps" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /build/firebase/firebase.json: -------------------------------------------------------------------------------- 1 | { 2 | "hosting": { 3 | "public": "web", 4 | "ignore": [ 5 | "firebase.json", 6 | "**/.*", 7 | "**/node_modules/**" 8 | ] 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /build/firebase/web: -------------------------------------------------------------------------------- 1 | ../../out/flutter/nm_app/web -------------------------------------------------------------------------------- /build/make/cc_globals.mk: -------------------------------------------------------------------------------- 1 | # Copyright 2020 Google LLC 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # https://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | ifdef DEBUG 16 | CFLAGS ?= -g 17 | else 18 | CFLAGS ?= -O3 19 | endif 20 | 21 | NM_CFLAGS = $(CFLAGS) -std=c11 22 | NM_CFLAGS += -Wall 23 | NM_CFLAGS += -Wpedantic 24 | NM_CFLAGS += -Werror 25 | NM_CFLAGS += -Iinclude 26 | 27 | NM_CPPFLAGS = -DNM_VERSION=\"${NM_VERSION}\" 28 | NM_CPPFLAGS += -DMAJOR_VERSION=${MAJOR_VERSION} 29 | NM_CPPFLAGS += -DMINOR_VERSION=${MINOR_VERSION} 30 | NM_CPPFLAGS += -DPATCH_VERSION=${PATCH_VERSION} 31 | 32 | NM_LIBS = -Llib 33 | -------------------------------------------------------------------------------- /build/make/common.mk: -------------------------------------------------------------------------------- 1 | # Copyright 2020 Google LLC 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # https://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | define common_clean = 16 | rm -f $(dir $@).mk.* 17 | endef 18 | -------------------------------------------------------------------------------- /build/make/gomobile.mk: -------------------------------------------------------------------------------- 1 | # Copyright 2020 Google LLC 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # https://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | .PHONY: ios-plugin android-plugin 16 | 17 | GOMOBILE_DIR := tmaps/mobileapi 18 | GOMOBILE_DIR := flutter/nm_gql_go_link 19 | 20 | $(GOMOBILE_DIR)/.mk.ios-plugin: .gomobile $(GO_DIR)/.mk.go.built 21 | go generate -tags ios ./$(GOMOBILE_DIR) 22 | 23 | $(GOMOBILE_DIR)/.mk.android-plugin: .gomobile $(GO_DIR)/.mk.go.built 24 | go generate -tags android ./$(GOMOBILE_DIR) 25 | -------------------------------------------------------------------------------- /build/make/gomobile_globals.mk: -------------------------------------------------------------------------------- 1 | # Copyright 2020 Google LLC 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # https://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | GOMOBILE = $(TMPBINDIR)/gomobile 16 | $(GOMOBILE): 17 | $(call go_tmpdir) 18 | @[ -d "$(@D)" ] || mkdir -p "$(@D)" 19 | go build -o $@ golang.org/x/mobile/cmd/gomobile 20 | 21 | GOBIND = $(TMPBINDIR)/gobind 22 | $(GOBIND): 23 | $(call go_tmpdir) 24 | @[ -d "$(@D)" ] || mkdir -p "$(@D)" 25 | go build -o $@ golang.org/x/mobile/cmd/gobind 26 | 27 | .PHONY: .gomobile 28 | .gomobile: $(GOMOBILE) $(GOBIND) 29 | 30 | -------------------------------------------------------------------------------- /build/make/version_globals.mk: -------------------------------------------------------------------------------- 1 | # Copyright 2020 Google LLC 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # https://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | .PHONY: VERSION 16 | VERSION: 17 | echo $(shell git describe --tags --always --long) > $@ 18 | 19 | .mk.version.clean: 20 | rm -f VERSION 21 | 22 | DOWNLOAD_TARGETS += VERSION 23 | CLEAN_TARGETS += .mk.version.clean 24 | -------------------------------------------------------------------------------- /cmd/note-maps/config_test.go: -------------------------------------------------------------------------------- 1 | // Copyright 2020 Google LLC 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // https://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | package main 16 | 17 | import ( 18 | "context" 19 | "flag" 20 | "testing" 21 | 22 | "github.com/google/subcommands" 23 | ) 24 | 25 | func TestConfigCmd(t *testing.T) { 26 | ctx := context.Background() 27 | flag.NewFlagSet("", flag.PanicOnError) 28 | flag.CommandLine.Parse([]string{"config"}) 29 | if subcommands.Execute(ctx) != subcommands.ExitSuccess { 30 | t.Fatal("expected success with config") 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /cmd/note-maps/find_test.go: -------------------------------------------------------------------------------- 1 | // Copyright 2020 Google LLC 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // https://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | package main 16 | 17 | import ( 18 | "context" 19 | "flag" 20 | "testing" 21 | 22 | "github.com/google/subcommands" 23 | ) 24 | 25 | func TestFindCmd(t *testing.T) { 26 | t.Skip() 27 | ctx := context.Background() 28 | flag.NewFlagSet("", flag.PanicOnError) 29 | flag.CommandLine.Parse([]string{"-db=:memory:", "find"}) 30 | if subcommands.Execute(ctx) != subcommands.ExitSuccess { 31 | t.Fatal("expected success with find") 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /cmd/note-maps/main.go: -------------------------------------------------------------------------------- 1 | // Copyright 2020 Google LLC 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // https://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | package main 16 | 17 | import ( 18 | "context" 19 | "flag" 20 | "os" 21 | 22 | "github.com/google/subcommands" 23 | ) 24 | 25 | func main() { 26 | subcommands.Register(subcommands.HelpCommand(), "") 27 | subcommands.Register(subcommands.FlagsCommand(), "") 28 | subcommands.Register(subcommands.CommandsCommand(), "") 29 | 30 | flag.Parse() 31 | ctx := context.Background() 32 | os.Exit(int(subcommands.Execute(ctx))) 33 | } 34 | -------------------------------------------------------------------------------- /cmd/note-maps/set_test.go: -------------------------------------------------------------------------------- 1 | // Copyright 2020 Google LLC 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // https://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | package main 16 | 17 | /* 18 | import ( 19 | "testing" 20 | "github.com/google/note-maps/notes/genji" 21 | ) 22 | 23 | func TestSetCmd(t *testing.T) { 24 | db, err := genji.Open(":memory:") 25 | if err != nil { 26 | t.Fatal(err) 27 | } 28 | CommandForTest{ 29 | db: db, 30 | cmd: &setCmd{}, 31 | input: "note: &42\n- is: hello", 32 | expectOutput: `42` + "\n", 33 | }.Exec(t) 34 | } 35 | */ 36 | -------------------------------------------------------------------------------- /dart/nm_delta/.gitignore: -------------------------------------------------------------------------------- 1 | # Files and directories created by pub 2 | .dart_tool/ 3 | .packages 4 | 5 | # Omit commiting pubspec.lock for library packages: 6 | # https://dart.dev/guides/libraries/private-files#pubspeclock 7 | pubspec.lock 8 | 9 | # Conventional directory for build outputs 10 | build/ 11 | 12 | # Directory created by dartdoc 13 | doc/api/ 14 | -------------------------------------------------------------------------------- /dart/nm_delta/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | ## 1.0.0 2 | 3 | - Initial version, created by Stagehand 4 | -------------------------------------------------------------------------------- /dart/nm_delta/analysis_options.yaml: -------------------------------------------------------------------------------- 1 | # Defines a default set of lint rules enforced for 2 | # projects at Google. For details and rationale, 3 | # see https://github.com/dart-lang/pedantic#enabled-lints. 4 | include: package:pedantic/analysis_options.yaml 5 | 6 | # For lint rules and documentation, see http://dart-lang.github.io/linter/lints. 7 | # Uncomment to specify additional rules. 8 | # linter: 9 | # rules: 10 | # - camel_case_types 11 | 12 | analyzer: 13 | # exclude: 14 | # - path/to/excluded/files/** 15 | -------------------------------------------------------------------------------- /dart/nm_delta/pubspec.yaml: -------------------------------------------------------------------------------- 1 | name: nm_delta 2 | description: Generic data models for the Note Maps project. 3 | version: 0.2.0 4 | homepage: https://github.com/google/note-maps 5 | publish_to: 'none' 6 | 7 | environment: 8 | sdk: '>=2.8.1 <3.0.0' 9 | 10 | dependencies: 11 | quill_delta: ^3.0.0-nullsafety.2 12 | 13 | dev_dependencies: 14 | pedantic: ^1.9.0 15 | test: ^1.14.4 16 | -------------------------------------------------------------------------------- /dart/nm_delta_notus/.gitignore: -------------------------------------------------------------------------------- 1 | # Files and directories created by pub 2 | .dart_tool/ 3 | .packages 4 | 5 | # Omit commiting pubspec.lock for library packages: 6 | # https://dart.dev/guides/libraries/private-files#pubspeclock 7 | pubspec.lock 8 | 9 | # Conventional directory for build outputs 10 | build/ 11 | 12 | # Directory created by dartdoc 13 | doc/api/ 14 | -------------------------------------------------------------------------------- /dart/nm_delta_notus/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | ## 1.0.0 2 | 3 | - Initial version, created by Stagehand 4 | -------------------------------------------------------------------------------- /dart/nm_delta_notus/README.md: -------------------------------------------------------------------------------- 1 | A library for Dart developers. 2 | 3 | Created from templates made available by Stagehand under a BSD-style 4 | [license](https://github.com/dart-lang/stagehand/blob/master/LICENSE). 5 | 6 | ## Usage 7 | 8 | A simple usage example: 9 | 10 | ```dart 11 | import 'package:nm_delta_notus/nm_delta_notus.dart'; 12 | 13 | main() { 14 | var awesome = new Awesome(); 15 | } 16 | ``` 17 | 18 | ## Features and bugs 19 | 20 | Please file feature requests and bugs at the [issue tracker][tracker]. 21 | 22 | [tracker]: http://example.com/issues/replaceme 23 | -------------------------------------------------------------------------------- /dart/nm_delta_notus/analysis_options.yaml: -------------------------------------------------------------------------------- 1 | # Defines a default set of lint rules enforced for 2 | # projects at Google. For details and rationale, 3 | # see https://github.com/dart-lang/pedantic#enabled-lints. 4 | include: package:pedantic/analysis_options.yaml 5 | 6 | # For lint rules and documentation, see http://dart-lang.github.io/linter/lints. 7 | # Uncomment to specify additional rules. 8 | # linter: 9 | # rules: 10 | # - camel_case_types 11 | 12 | analyzer: 13 | # exclude: 14 | # - path/to/excluded/files/** 15 | -------------------------------------------------------------------------------- /dart/nm_delta_notus/example/nm_delta_notus_example.dart: -------------------------------------------------------------------------------- 1 | void main() { 2 | // TODO: show how to use the custom attributes in a NotusDocument. 3 | } 4 | -------------------------------------------------------------------------------- /dart/nm_delta_notus/lib/nm_delta_notus.dart: -------------------------------------------------------------------------------- 1 | // Copyright 2020-2021 Google LLC 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // https://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | /// Support for custom attributes required for Notus to work with Quill deltas that encode Note Maps. 16 | /// 17 | /// More dartdocs go here. 18 | library nm_delta_notus; 19 | 20 | export 'src/custom_attributes.dart'; 21 | export 'src/quill_document_codec.dart'; 22 | export 'src/note_map_notus_translator.dart'; 23 | -------------------------------------------------------------------------------- /dart/nm_delta_notus/pubspec.yaml: -------------------------------------------------------------------------------- 1 | name: nm_delta_notus 2 | description: Notus integration for Note Maps. 3 | version: 0.2.0 4 | homepage: https://github.com/google/note-maps 5 | publish_to: 'none' 6 | 7 | environment: 8 | sdk: '>=2.8.1 <3.0.0' 9 | 10 | dependencies: 11 | nm_delta: 12 | path: ../nm_delta 13 | quill_delta: ^3.0.0-nullsafety.2 14 | uuid: ^3.0.0 15 | logger: ^0.9.4 16 | 17 | dev_dependencies: 18 | pedantic: ^1.9.0 19 | test: ^1.20.0 20 | -------------------------------------------------------------------------------- /docs/inspiration-board.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/docs/inspiration-board.jpg -------------------------------------------------------------------------------- /flutter/nm_app/.gitignore: -------------------------------------------------------------------------------- 1 | # Miscellaneous 2 | *.class 3 | *.log 4 | *.pyc 5 | *.swp 6 | .DS_Store 7 | .atom/ 8 | .buildlog/ 9 | .history 10 | .svn/ 11 | 12 | # IntelliJ related 13 | *.iml 14 | *.ipr 15 | *.iws 16 | .idea/ 17 | 18 | # The .vscode folder contains launch configuration and tasks you configure in 19 | # VS Code which you may wish to be included in version control, so this line 20 | # is commented out by default. 21 | #.vscode/ 22 | 23 | # Flutter/Dart/Pub related 24 | **/doc/api/ 25 | **/ios/Flutter/.last_build_id 26 | .dart_tool/ 27 | .flutter-plugins 28 | .flutter-plugins-dependencies 29 | .packages 30 | .pub-cache/ 31 | .pub/ 32 | /build/ 33 | 34 | # Web related 35 | lib/generated_plugin_registrant.dart 36 | 37 | # Symbolication related 38 | app.*.symbols 39 | 40 | # Obfuscation related 41 | app.*.map.json 42 | -------------------------------------------------------------------------------- /flutter/nm_app/.metadata: -------------------------------------------------------------------------------- 1 | # This file tracks properties of this Flutter project. 2 | # Used by Flutter tool to assess capabilities and perform upgrades etc. 3 | # 4 | # This file should be version controlled and should not be manually edited. 5 | 6 | version: 7 | revision: ce40de69b7b4f89c66d19c8dbd3bd86ae30f1bc6 8 | channel: dev 9 | 10 | project_type: app 11 | -------------------------------------------------------------------------------- /flutter/nm_app/README.md: -------------------------------------------------------------------------------- 1 | # nm_app 2 | 3 | A new Flutter project. 4 | 5 | ## Getting Started 6 | 7 | This project is a starting point for a Flutter application. 8 | 9 | A few resources to get you started if this is your first Flutter project: 10 | 11 | - [Lab: Write your first Flutter app](https://flutter.dev/docs/get-started/codelab) 12 | - [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook) 13 | 14 | For help getting started with Flutter, view our 15 | [online documentation](https://flutter.dev/docs), which offers tutorials, 16 | samples, guidance on mobile development, and a full API reference. 17 | -------------------------------------------------------------------------------- /flutter/nm_app/android/.gitignore: -------------------------------------------------------------------------------- 1 | gradle-wrapper.jar 2 | /.gradle 3 | /captures/ 4 | /gradlew 5 | /gradlew.bat 6 | /local.properties 7 | GeneratedPluginRegistrant.java 8 | 9 | # Remember to never publicly share your keystore. 10 | # See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app 11 | key.properties 12 | -------------------------------------------------------------------------------- /flutter/nm_app/android/Gemfile: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | gem 'fastlane' 3 | -------------------------------------------------------------------------------- /flutter/nm_app/android/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /flutter/nm_app/android/app/src/main/kotlin/com/github/google/notemaps/MainActivity.kt: -------------------------------------------------------------------------------- 1 | // Copyright 2020-2021 Google LLC 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // https://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | package com.github.google.notemaps 16 | 17 | import io.flutter.embedding.android.FlutterActivity 18 | 19 | class MainActivity: FlutterActivity() { 20 | } 21 | -------------------------------------------------------------------------------- /flutter/nm_app/android/app/src/main/res/drawable-v21/launch_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 13 | -------------------------------------------------------------------------------- /flutter/nm_app/android/app/src/main/res/drawable/launch_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 13 | -------------------------------------------------------------------------------- /flutter/nm_app/android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/flutter/nm_app/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /flutter/nm_app/android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/flutter/nm_app/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /flutter/nm_app/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/flutter/nm_app/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /flutter/nm_app/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/flutter/nm_app/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /flutter/nm_app/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/flutter/nm_app/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /flutter/nm_app/android/app/src/main/res/values-night/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 15 | 18 | 19 | -------------------------------------------------------------------------------- /flutter/nm_app/android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 15 | 18 | 19 | -------------------------------------------------------------------------------- /flutter/nm_app/android/app/src/profile/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /flutter/nm_app/android/build.gradle: -------------------------------------------------------------------------------- 1 | buildscript { 2 | ext.kotlin_version = '1.3.50' 3 | repositories { 4 | google() 5 | jcenter() 6 | } 7 | 8 | dependencies { 9 | classpath 'com.android.tools.build:gradle:4.1.1' 10 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" 11 | } 12 | } 13 | 14 | allprojects { 15 | repositories { 16 | google() 17 | jcenter() 18 | } 19 | } 20 | 21 | rootProject.buildDir = '../build' 22 | subprojects { 23 | project.buildDir = "${rootProject.buildDir}/${project.name}" 24 | } 25 | subprojects { 26 | project.evaluationDependsOn(':app') 27 | } 28 | 29 | task clean(type: Delete) { 30 | delete rootProject.buildDir 31 | } 32 | -------------------------------------------------------------------------------- /flutter/nm_app/android/fastlane/Appfile: -------------------------------------------------------------------------------- 1 | json_key_file("../../../secret/fastlane-google.json") # Path to the json secret file - Follow https://docs.fastlane.tools/actions/supply/#setup to get one 2 | package_name("com.github.google.notemaps") 3 | -------------------------------------------------------------------------------- /flutter/nm_app/android/fastlane/Fastfile: -------------------------------------------------------------------------------- 1 | # This file contains the fastlane.tools configuration 2 | # You can find the documentation at https://docs.fastlane.tools 3 | # 4 | # For a list of all available actions, check out 5 | # 6 | # https://docs.fastlane.tools/actions 7 | # 8 | # For a list of all available plugins, check out 9 | # 10 | # https://docs.fastlane.tools/plugins/available-plugins 11 | # 12 | 13 | # Uncomment the line if you want fastlane to automatically update itself 14 | # update_fastlane 15 | 16 | default_platform(:android) 17 | 18 | platform :android do 19 | desc "Runs all the tests" 20 | lane :test do 21 | gradle(task: "test") 22 | end 23 | 24 | desc "Submit a new Beta Build to Crashlytics Beta" 25 | lane :beta do 26 | gradle(task: "clean assembleRelease") 27 | crashlytics 28 | 29 | # sh "your_script.sh" 30 | # You can also use other beta testing services here 31 | end 32 | 33 | desc "Deploy a new version to the Google Play" 34 | lane :deploy do 35 | gradle(task: "clean assembleRelease") 36 | upload_to_play_store 37 | end 38 | end 39 | -------------------------------------------------------------------------------- /flutter/nm_app/android/gradle.properties: -------------------------------------------------------------------------------- 1 | org.gradle.jvmargs=-Xmx1536M 2 | android.useAndroidX=true 3 | android.enableJetifier=true 4 | android.enableR8=true 5 | -------------------------------------------------------------------------------- /flutter/nm_app/android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Sun Dec 27 21:35:30 EST 2020 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-bin.zip 7 | -------------------------------------------------------------------------------- /flutter/nm_app/android/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | 3 | def localPropertiesFile = new File(rootProject.projectDir, "local.properties") 4 | def properties = new Properties() 5 | 6 | assert localPropertiesFile.exists() 7 | localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) } 8 | 9 | def flutterSdkPath = properties.getProperty("flutter.sdk") 10 | assert flutterSdkPath != null, "flutter.sdk not set in local.properties" 11 | apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle" 12 | -------------------------------------------------------------------------------- /flutter/nm_app/integration_test/driver.dart: -------------------------------------------------------------------------------- 1 | // This file is generated (just once) as a convenience for running integration tests via the 2 | // flutter drive command. 3 | // 4 | // flutter drive --driver integration_test/driver.dart --target integration_test/app_test.dart 5 | 6 | import 'package:integration_test/integration_test_driver.dart'; 7 | 8 | Future main() => integrationDriver(); 9 | -------------------------------------------------------------------------------- /flutter/nm_app/ios/.gitignore: -------------------------------------------------------------------------------- 1 | *.mode1v3 2 | *.mode2v3 3 | *.moved-aside 4 | *.pbxuser 5 | *.perspectivev3 6 | **/*sync/ 7 | .sconsign.dblite 8 | .tags* 9 | **/.vagrant/ 10 | **/DerivedData/ 11 | Icon? 12 | **/Pods/ 13 | **/.symlinks/ 14 | profile 15 | xcuserdata 16 | **/.generated/ 17 | Flutter/App.framework 18 | Flutter/Flutter.framework 19 | Flutter/Flutter.podspec 20 | Flutter/Generated.xcconfig 21 | Flutter/app.flx 22 | Flutter/app.zip 23 | Flutter/flutter_assets/ 24 | Flutter/flutter_export_environment.sh 25 | ServiceDefinitions.json 26 | Runner/GeneratedPluginRegistrant.* 27 | screenshots 28 | fastlane 29 | 30 | # Exceptions to above rules. 31 | !default.mode1v3 32 | !default.mode2v3 33 | !default.pbxuser 34 | !default.perspectivev3 35 | -------------------------------------------------------------------------------- /flutter/nm_app/ios/Flutter/AppFrameworkInfo.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleExecutable 8 | App 9 | CFBundleIdentifier 10 | io.flutter.flutter.app 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | App 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1.0 23 | MinimumOSVersion 24 | 9.0 25 | 26 | 27 | -------------------------------------------------------------------------------- /flutter/nm_app/ios/Flutter/Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig" 2 | #include "Generated.xcconfig" 3 | -------------------------------------------------------------------------------- /flutter/nm_app/ios/Flutter/Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig" 2 | #include "Generated.xcconfig" 3 | -------------------------------------------------------------------------------- /flutter/nm_app/ios/Gemfile: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | gem 'fastlane' 3 | -------------------------------------------------------------------------------- /flutter/nm_app/ios/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - Flutter (1.0.0) 3 | - url_launcher (0.0.1): 4 | - Flutter 5 | 6 | DEPENDENCIES: 7 | - Flutter (from `Flutter`) 8 | - url_launcher (from `.symlinks/plugins/url_launcher/ios`) 9 | 10 | EXTERNAL SOURCES: 11 | Flutter: 12 | :path: Flutter 13 | url_launcher: 14 | :path: ".symlinks/plugins/url_launcher/ios" 15 | 16 | SPEC CHECKSUMS: 17 | Flutter: 434fef37c0980e73bb6479ef766c45957d4b510c 18 | url_launcher: 6fef411d543ceb26efce54b05a0a40bfd74cbbef 19 | 20 | PODFILE CHECKSUM: aafe91acc616949ddb318b77800a7f51bffa2a4c 21 | 22 | COCOAPODS: 1.10.0 23 | -------------------------------------------------------------------------------- /flutter/nm_app/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /flutter/nm_app/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /flutter/nm_app/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /flutter/nm_app/ios/Runner.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /flutter/nm_app/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /flutter/nm_app/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /flutter/nm_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/flutter/nm_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png -------------------------------------------------------------------------------- /flutter/nm_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/flutter/nm_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png -------------------------------------------------------------------------------- /flutter/nm_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/flutter/nm_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png -------------------------------------------------------------------------------- /flutter/nm_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/flutter/nm_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png -------------------------------------------------------------------------------- /flutter/nm_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/flutter/nm_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png -------------------------------------------------------------------------------- /flutter/nm_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/flutter/nm_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png -------------------------------------------------------------------------------- /flutter/nm_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/flutter/nm_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png -------------------------------------------------------------------------------- /flutter/nm_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/flutter/nm_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png -------------------------------------------------------------------------------- /flutter/nm_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/flutter/nm_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png -------------------------------------------------------------------------------- /flutter/nm_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/flutter/nm_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png -------------------------------------------------------------------------------- /flutter/nm_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/flutter/nm_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png -------------------------------------------------------------------------------- /flutter/nm_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/flutter/nm_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png -------------------------------------------------------------------------------- /flutter/nm_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/flutter/nm_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png -------------------------------------------------------------------------------- /flutter/nm_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/flutter/nm_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png -------------------------------------------------------------------------------- /flutter/nm_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/flutter/nm_app/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png -------------------------------------------------------------------------------- /flutter/nm_app/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "LaunchImage.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "LaunchImage@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "LaunchImage@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /flutter/nm_app/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/flutter/nm_app/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png -------------------------------------------------------------------------------- /flutter/nm_app/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/flutter/nm_app/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png -------------------------------------------------------------------------------- /flutter/nm_app/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/flutter/nm_app/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png -------------------------------------------------------------------------------- /flutter/nm_app/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md: -------------------------------------------------------------------------------- 1 | # Launch Screen Assets 2 | 3 | You can customize the launch screen with your own desired assets by replacing the image files in this directory. 4 | 5 | You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images. -------------------------------------------------------------------------------- /flutter/nm_app/ios/Runner/Runner-Bridging-Header.h: -------------------------------------------------------------------------------- 1 | // Copyright 2020-2021 Google LLC 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // https://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | #import "GeneratedPluginRegistrant.h" 16 | -------------------------------------------------------------------------------- /flutter/nm_app/ios/Snapshots/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | $(PRODUCT_BUNDLE_PACKAGE_TYPE) 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleVersion 20 | 1 21 | 22 | 23 | -------------------------------------------------------------------------------- /flutter/nm_app/ios/fastlane/Appfile: -------------------------------------------------------------------------------- 1 | app_identifier("com.github.google.notemaps") 2 | apple_id("joshua.tacoma@gmail.com") 3 | 4 | 5 | # For more information about the Appfile, see: 6 | # https://docs.fastlane.tools/advanced/#appfile 7 | -------------------------------------------------------------------------------- /flutter/nm_app/ios/fastlane/Fastfile: -------------------------------------------------------------------------------- 1 | # This file contains the fastlane.tools configuration 2 | # You can find the documentation at https://docs.fastlane.tools 3 | # 4 | # For a list of all available actions, check out 5 | # 6 | # https://docs.fastlane.tools/actions 7 | # 8 | # For a list of all available plugins, check out 9 | # 10 | # https://docs.fastlane.tools/plugins/available-plugins 11 | # 12 | 13 | # Uncomment the line if you want fastlane to automatically update itself 14 | # update_fastlane 15 | 16 | default_platform(:ios) 17 | 18 | platform :ios do 19 | desc "Description of what the lane does" 20 | lane :custom_lane do 21 | # add actions here: https://docs.fastlane.tools/actions 22 | end 23 | end 24 | 25 | lane :beta do 26 | build_app(scheme: "Runner") 27 | upload_to_testflight 28 | end 29 | -------------------------------------------------------------------------------- /flutter/nm_app/ios/fastlane/README.md: -------------------------------------------------------------------------------- 1 | fastlane documentation 2 | ================ 3 | # Installation 4 | 5 | Make sure you have the latest version of the Xcode command line tools installed: 6 | 7 | ``` 8 | xcode-select --install 9 | ``` 10 | 11 | Install _fastlane_ using 12 | ``` 13 | [sudo] gem install fastlane -NV 14 | ``` 15 | or alternatively using `brew cask install fastlane` 16 | 17 | # Available Actions 18 | ### beta 19 | ``` 20 | fastlane beta 21 | ``` 22 | 23 | 24 | ---- 25 | 26 | ## iOS 27 | ### ios custom_lane 28 | ``` 29 | fastlane ios custom_lane 30 | ``` 31 | Description of what the lane does 32 | 33 | ---- 34 | 35 | This README.md is auto-generated and will be re-generated every time [fastlane](https://fastlane.tools) is run. 36 | More information about fastlane can be found on [fastlane.tools](https://fastlane.tools). 37 | The documentation of fastlane can be found on [docs.fastlane.tools](https://docs.fastlane.tools). 38 | -------------------------------------------------------------------------------- /flutter/nm_app/lib/src/drawer.dart: -------------------------------------------------------------------------------- 1 | // Copyright 2020 Google LLC 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // https://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | import 'package:flutter/material.dart'; 16 | 17 | import './about_list_tile.dart'; 18 | 19 | class NmDrawer extends StatelessWidget { 20 | @override 21 | Widget build(BuildContext context) { 22 | return Drawer( 23 | child: ListView( 24 | padding: EdgeInsets.zero, 25 | children: [ 26 | NmAboutListTile(), 27 | ], 28 | ), 29 | ); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /flutter/nm_app/linux/.gitignore: -------------------------------------------------------------------------------- 1 | flutter/ephemeral 2 | -------------------------------------------------------------------------------- /flutter/nm_app/linux/flutter/generated_plugin_registrant.cc: -------------------------------------------------------------------------------- 1 | // 2 | // Generated file. Do not edit. 3 | // 4 | 5 | // clang-format off 6 | 7 | #include "generated_plugin_registrant.h" 8 | 9 | #include 10 | 11 | void fl_register_plugins(FlPluginRegistry* registry) { 12 | g_autoptr(FlPluginRegistrar) url_launcher_linux_registrar = 13 | fl_plugin_registry_get_registrar_for_plugin(registry, "UrlLauncherPlugin"); 14 | url_launcher_plugin_register_with_registrar(url_launcher_linux_registrar); 15 | } 16 | -------------------------------------------------------------------------------- /flutter/nm_app/linux/flutter/generated_plugin_registrant.h: -------------------------------------------------------------------------------- 1 | // 2 | // Generated file. Do not edit. 3 | // 4 | 5 | // clang-format off 6 | 7 | #ifndef GENERATED_PLUGIN_REGISTRANT_ 8 | #define GENERATED_PLUGIN_REGISTRANT_ 9 | 10 | #include 11 | 12 | // Registers Flutter plugins. 13 | void fl_register_plugins(FlPluginRegistry* registry); 14 | 15 | #endif // GENERATED_PLUGIN_REGISTRANT_ 16 | -------------------------------------------------------------------------------- /flutter/nm_app/linux/flutter/generated_plugins.cmake: -------------------------------------------------------------------------------- 1 | # 2 | # Generated file, do not edit. 3 | # 4 | 5 | list(APPEND FLUTTER_PLUGIN_LIST 6 | url_launcher_linux 7 | ) 8 | 9 | set(PLUGIN_BUNDLED_LIBRARIES) 10 | 11 | foreach(plugin ${FLUTTER_PLUGIN_LIST}) 12 | add_subdirectory(flutter/ephemeral/.plugin_symlinks/${plugin}/linux plugins/${plugin}) 13 | target_link_libraries(${BINARY_NAME} PRIVATE ${plugin}_plugin) 14 | list(APPEND PLUGIN_BUNDLED_LIBRARIES $) 15 | list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries}) 16 | endforeach(plugin) 17 | -------------------------------------------------------------------------------- /flutter/nm_app/linux/main.cc: -------------------------------------------------------------------------------- 1 | // Copyright 2020-2021 Google LLC 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // https://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | #include "my_application.h" 16 | 17 | int main(int argc, char** argv) { 18 | // Only X11 is currently supported. 19 | // Wayland support is being developed: https://github.com/flutter/flutter/issues/57932. 20 | gdk_set_allowed_backends("x11"); 21 | 22 | g_autoptr(MyApplication) app = my_application_new(); 23 | return g_application_run(G_APPLICATION(app), argc, argv); 24 | } 25 | -------------------------------------------------------------------------------- /flutter/nm_app/macos/.gitignore: -------------------------------------------------------------------------------- 1 | # Flutter-related 2 | **/Flutter/ephemeral/ 3 | **/Pods/ 4 | 5 | # Xcode-related 6 | **/xcuserdata/ 7 | -------------------------------------------------------------------------------- /flutter/nm_app/macos/Flutter/Flutter-Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig" 2 | #include "ephemeral/Flutter-Generated.xcconfig" 3 | -------------------------------------------------------------------------------- /flutter/nm_app/macos/Flutter/Flutter-Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig" 2 | #include "ephemeral/Flutter-Generated.xcconfig" 3 | -------------------------------------------------------------------------------- /flutter/nm_app/macos/Flutter/GeneratedPluginRegistrant.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Generated file. Do not edit. 3 | // 4 | 5 | import FlutterMacOS 6 | import Foundation 7 | 8 | import url_launcher_macos 9 | 10 | func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { 11 | UrlLauncherPlugin.register(with: registry.registrar(forPlugin: "UrlLauncherPlugin")) 12 | } 13 | -------------------------------------------------------------------------------- /flutter/nm_app/macos/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - FlutterMacOS (1.0.0) 3 | - url_launcher (0.0.1) 4 | - url_launcher_macos (0.0.1): 5 | - FlutterMacOS 6 | 7 | DEPENDENCIES: 8 | - FlutterMacOS (from `Flutter/ephemeral/.symlinks/flutter/darwin-x64`) 9 | - url_launcher (from `Flutter/ephemeral/.symlinks/plugins/url_launcher/macos`) 10 | - url_launcher_macos (from `Flutter/ephemeral/.symlinks/plugins/url_launcher_macos/macos`) 11 | 12 | EXTERNAL SOURCES: 13 | FlutterMacOS: 14 | :path: Flutter/ephemeral/.symlinks/flutter/darwin-x64 15 | url_launcher: 16 | :path: Flutter/ephemeral/.symlinks/plugins/url_launcher/macos 17 | url_launcher_macos: 18 | :path: Flutter/ephemeral/.symlinks/plugins/url_launcher_macos/macos 19 | 20 | SPEC CHECKSUMS: 21 | FlutterMacOS: 15bea8a44d2fa024068daa0140371c020b4b6ff9 22 | url_launcher: af78307ef9bafff91273b34f1c6c0c86a0004fd7 23 | url_launcher_macos: 45af3d61de06997666568a7149c1be98b41c95d4 24 | 25 | PODFILE CHECKSUM: d8ba9b3e9e93c62c74a660b46c6fcb09f03991a7 26 | 27 | COCOAPODS: 1.10.0 28 | -------------------------------------------------------------------------------- /flutter/nm_app/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /flutter/nm_app/macos/Runner.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /flutter/nm_app/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /flutter/nm_app/macos/Runner/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // Copyright 2020-2021 Google LLC 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // https://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | import Cocoa 16 | import FlutterMacOS 17 | 18 | @NSApplicationMain 19 | class AppDelegate: FlutterAppDelegate { 20 | override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool { 21 | return true 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /flutter/nm_app/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/flutter/nm_app/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png -------------------------------------------------------------------------------- /flutter/nm_app/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/flutter/nm_app/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png -------------------------------------------------------------------------------- /flutter/nm_app/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/flutter/nm_app/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png -------------------------------------------------------------------------------- /flutter/nm_app/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/flutter/nm_app/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png -------------------------------------------------------------------------------- /flutter/nm_app/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/flutter/nm_app/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png -------------------------------------------------------------------------------- /flutter/nm_app/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/flutter/nm_app/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png -------------------------------------------------------------------------------- /flutter/nm_app/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/flutter/nm_app/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png -------------------------------------------------------------------------------- /flutter/nm_app/macos/Runner/Configs/AppInfo.xcconfig: -------------------------------------------------------------------------------- 1 | // Application-level settings for the Runner target. 2 | // 3 | // This may be replaced with something auto-generated from metadata (e.g., pubspec.yaml) in the 4 | // future. If not, the values below would default to using the project name when this becomes a 5 | // 'flutter create' template. 6 | 7 | // The application's name. By default this is also the title of the Flutter window. 8 | PRODUCT_NAME = nm_app 9 | 10 | // The application's bundle identifier 11 | PRODUCT_BUNDLE_IDENTIFIER = com.example.nmApp 12 | 13 | // The copyright displayed in application information 14 | PRODUCT_COPYRIGHT = Copyright © 2020 com.example. All rights reserved. 15 | -------------------------------------------------------------------------------- /flutter/nm_app/macos/Runner/Configs/Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include "../../Flutter/Flutter-Debug.xcconfig" 2 | #include "Warnings.xcconfig" 3 | -------------------------------------------------------------------------------- /flutter/nm_app/macos/Runner/Configs/Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include "../../Flutter/Flutter-Release.xcconfig" 2 | #include "Warnings.xcconfig" 3 | -------------------------------------------------------------------------------- /flutter/nm_app/macos/Runner/Configs/Warnings.xcconfig: -------------------------------------------------------------------------------- 1 | WARNING_CFLAGS = -Wall -Wconditional-uninitialized -Wnullable-to-nonnull-conversion -Wmissing-method-return-type -Woverlength-strings 2 | GCC_WARN_UNDECLARED_SELECTOR = YES 3 | CLANG_UNDEFINED_BEHAVIOR_SANITIZER_NULLABILITY = YES 4 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE 5 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES 6 | CLANG_WARN_PRAGMA_PACK = YES 7 | CLANG_WARN_STRICT_PROTOTYPES = YES 8 | CLANG_WARN_COMMA = YES 9 | GCC_WARN_STRICT_SELECTOR_MATCH = YES 10 | CLANG_WARN_OBJC_REPEATED_USE_OF_WEAK = YES 11 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES 12 | GCC_WARN_SHADOW = YES 13 | CLANG_WARN_UNREACHABLE_CODE = YES 14 | -------------------------------------------------------------------------------- /flutter/nm_app/macos/Runner/DebugProfile.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | com.apple.security.app-sandbox 6 | 7 | com.apple.security.cs.allow-jit 8 | 9 | com.apple.security.network.server 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /flutter/nm_app/macos/Runner/Release.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | com.apple.security.app-sandbox 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /flutter/nm_app/web/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/flutter/nm_app/web/favicon.png -------------------------------------------------------------------------------- /flutter/nm_app/web/icons/Icon-192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/flutter/nm_app/web/icons/Icon-192.png -------------------------------------------------------------------------------- /flutter/nm_app/web/icons/Icon-512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/flutter/nm_app/web/icons/Icon-512.png -------------------------------------------------------------------------------- /flutter/nm_app/web/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "nm_app", 3 | "short_name": "nm_app", 4 | "start_url": ".", 5 | "display": "standalone", 6 | "background_color": "#0175C2", 7 | "theme_color": "#0175C2", 8 | "description": "A new Flutter project.", 9 | "orientation": "portrait-primary", 10 | "prefer_related_applications": false, 11 | "icons": [ 12 | { 13 | "src": "icons/Icon-192.png", 14 | "sizes": "192x192", 15 | "type": "image/png" 16 | }, 17 | { 18 | "src": "icons/Icon-512.png", 19 | "sizes": "512x512", 20 | "type": "image/png" 21 | } 22 | ] 23 | } 24 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | .dart_tool/ 3 | .idea 4 | .packages 5 | .pub/ 6 | build/ 7 | ios/Frameworks/ 8 | tmp 9 | macos/Frameworks/GoNmgql.framework/**/*.objc.h 10 | macos/Frameworks/GoNmgql.framework/**/ref.h 11 | macos/Frameworks/GoNmgql.framework/**/GoNmgql 12 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/.metadata: -------------------------------------------------------------------------------- 1 | # This file tracks properties of this Flutter project. 2 | # Used by Flutter tool to assess capabilities and perform upgrades etc. 3 | # 4 | # This file should be version controlled and should not be manually edited. 5 | 6 | version: 7 | revision: 5a6dfa35caaf7bccb35488dc03677c150ebf2d97 8 | channel: dev 9 | 10 | project_type: plugin 11 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | ## 0.0.1 2 | 3 | * TODO: Describe initial release. 4 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/README.md: -------------------------------------------------------------------------------- 1 | # nm_gql_go_link 2 | 3 | A Flutter plugin for a terminating a [package:gql_link][] `Link` with a Go endpoint. 4 | 5 | [package:gql_link]: https://pub.dev/packages/gql_link 6 | 7 | This is not an officially supported Google product. 8 | 9 | ## Building 10 | 11 | 1. Install [Go][]. 12 | 1. `cd nm_gql_go_link`. 13 | 1. Compile the Go code for your target platform. Any combination of: 14 | * `go generate -tags android` 15 | * `go generate -tags ios`. 16 | * `go generate -tags macos`. 17 | 18 | After GraphQL schema changes, 19 | 20 | 1. `cd nm_gql_go_link` 21 | 1. `flutter pub run build_runner build` 22 | 23 | [Go]: https://golang.org 24 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/analysis_options.yaml: -------------------------------------------------------------------------------- 1 | # Copyright 2020 Google LLC 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # https://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | include: package:pedantic/analysis_options.yaml 16 | 17 | analyzer: 18 | exclude: 19 | - lib/note_graphql.graphql.dart 20 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/android/.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/workspace.xml 5 | /.idea/libraries 6 | .DS_Store 7 | /build 8 | /captures 9 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/android/build.gradle: -------------------------------------------------------------------------------- 1 | group 'com.example.nm_gql_go_link' 2 | version '1.0' 3 | 4 | buildscript { 5 | repositories { 6 | google() 7 | jcenter() 8 | } 9 | 10 | dependencies { 11 | classpath 'com.android.tools.build:gradle:3.5.0' 12 | } 13 | } 14 | 15 | rootProject.allprojects { 16 | repositories { 17 | google() 18 | jcenter() 19 | } 20 | } 21 | 22 | apply plugin: 'com.android.library' 23 | 24 | android { 25 | compileSdkVersion 28 26 | 27 | defaultConfig { 28 | minSdkVersion 16 29 | } 30 | lintOptions { 31 | disable 'InvalidPackage' 32 | } 33 | } 34 | 35 | dependencies { 36 | implementation fileTree(include: '*.aar', dir: 'libs') 37 | } 38 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/android/gradle.properties: -------------------------------------------------------------------------------- 1 | org.gradle.jvmargs=-Xmx1536M 2 | android.enableR8=true 3 | android.useAndroidX=true 4 | android.enableJetifier=true 5 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | zipStoreBase=GRADLE_USER_HOME 4 | zipStorePath=wrapper/dists 5 | distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-all.zip 6 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/android/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'nm_gql_go_link' 2 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/android/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/build.yaml: -------------------------------------------------------------------------------- 1 | targets: 2 | nm_gql_go_link: 3 | sources: 4 | - lib/** 5 | - graphql/** 6 | - $package$ 7 | builders: 8 | artemis: 9 | options: 10 | schema_mapping: 11 | - output: lib/note_graphql.dart 12 | schema: graphql/note.graphqls 13 | queries_glob: graphql/note.*.query.graphql 14 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/.gitignore: -------------------------------------------------------------------------------- 1 | # Miscellaneous 2 | *.class 3 | *.log 4 | *.pyc 5 | *.swp 6 | .DS_Store 7 | .atom/ 8 | .buildlog/ 9 | .history 10 | .svn/ 11 | 12 | # IntelliJ related 13 | *.iml 14 | *.ipr 15 | *.iws 16 | .idea/ 17 | 18 | # The .vscode folder contains launch configuration and tasks you configure in 19 | # VS Code which you may wish to be included in version control, so this line 20 | # is commented out by default. 21 | #.vscode/ 22 | 23 | # Flutter/Dart/Pub related 24 | **/doc/api/ 25 | **/ios/Flutter/.last_build_id 26 | .dart_tool/ 27 | .flutter-plugins 28 | .flutter-plugins-dependencies 29 | .packages 30 | .pub-cache/ 31 | .pub/ 32 | /build/ 33 | 34 | # Web related 35 | lib/generated_plugin_registrant.dart 36 | 37 | # Symbolication related 38 | app.*.symbols 39 | 40 | # Obfuscation related 41 | app.*.map.json 42 | 43 | # Exceptions to above rules. 44 | !/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages 45 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/.metadata: -------------------------------------------------------------------------------- 1 | # This file tracks properties of this Flutter project. 2 | # Used by Flutter tool to assess capabilities and perform upgrades etc. 3 | # 4 | # This file should be version controlled and should not be manually edited. 5 | 6 | version: 7 | revision: 5a6dfa35caaf7bccb35488dc03677c150ebf2d97 8 | channel: dev 9 | 10 | project_type: app 11 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/README.md: -------------------------------------------------------------------------------- 1 | # nm_gql_go_link_example 2 | 3 | Demonstrates how to use the nm_gql_go_link plugin. 4 | 5 | ## Getting Started 6 | 7 | This project is a starting point for a Flutter application. 8 | 9 | A few resources to get you started if this is your first Flutter project: 10 | 11 | - [Lab: Write your first Flutter app](https://flutter.dev/docs/get-started/codelab) 12 | - [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook) 13 | 14 | For help getting started with Flutter, view our 15 | [online documentation](https://flutter.dev/docs), which offers tutorials, 16 | samples, guidance on mobile development, and a full API reference. 17 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/android/.gitignore: -------------------------------------------------------------------------------- 1 | gradle-wrapper.jar 2 | /.gradle 3 | /captures/ 4 | /gradlew 5 | /gradlew.bat 6 | /local.properties 7 | GeneratedPluginRegistrant.java 8 | 9 | # Remember to never publicly share your keystore. 10 | # See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app 11 | key.properties 12 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/android/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/android/app/src/main/java/com/example/nm_gql_go_link_example/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.example.nm_gql_go_link_example; 2 | 3 | import io.flutter.embedding.android.FlutterActivity; 4 | 5 | public class MainActivity extends FlutterActivity { 6 | } 7 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/android/app/src/main/res/drawable/launch_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 13 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/flutter/nm_gql_go_link/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/flutter/nm_gql_go_link/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/flutter/nm_gql_go_link/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/flutter/nm_gql_go_link/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/flutter/nm_gql_go_link/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 15 | 18 | 19 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/android/app/src/profile/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/android/build.gradle: -------------------------------------------------------------------------------- 1 | buildscript { 2 | repositories { 3 | google() 4 | jcenter() 5 | } 6 | 7 | dependencies { 8 | classpath 'com.android.tools.build:gradle:3.5.0' 9 | } 10 | } 11 | 12 | allprojects { 13 | repositories { 14 | google() 15 | jcenter() 16 | } 17 | } 18 | 19 | rootProject.buildDir = '../build' 20 | subprojects { 21 | project.buildDir = "${rootProject.buildDir}/${project.name}" 22 | } 23 | subprojects { 24 | project.evaluationDependsOn(':app') 25 | } 26 | 27 | task clean(type: Delete) { 28 | delete rootProject.buildDir 29 | } 30 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/android/gradle.properties: -------------------------------------------------------------------------------- 1 | org.gradle.jvmargs=-Xmx1536M 2 | android.enableR8=true 3 | android.useAndroidX=true 4 | android.enableJetifier=true 5 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Fri Jun 23 08:50:38 CEST 2017 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-all.zip 7 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/android/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | 3 | def localPropertiesFile = new File(rootProject.projectDir, "local.properties") 4 | def properties = new Properties() 5 | 6 | assert localPropertiesFile.exists() 7 | localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) } 8 | 9 | def flutterSdkPath = properties.getProperty("flutter.sdk") 10 | assert flutterSdkPath != null, "flutter.sdk not set in local.properties" 11 | apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle" 12 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/ios/.gitignore: -------------------------------------------------------------------------------- 1 | *.mode1v3 2 | *.mode2v3 3 | *.moved-aside 4 | *.pbxuser 5 | *.perspectivev3 6 | **/*sync/ 7 | .sconsign.dblite 8 | .tags* 9 | **/.vagrant/ 10 | **/DerivedData/ 11 | Icon? 12 | **/Pods/ 13 | **/.symlinks/ 14 | profile 15 | xcuserdata 16 | **/.generated/ 17 | Flutter/App.framework 18 | Flutter/Flutter.framework 19 | Flutter/Flutter.podspec 20 | Flutter/Generated.xcconfig 21 | Flutter/app.flx 22 | Flutter/app.zip 23 | Flutter/flutter_assets/ 24 | Flutter/flutter_export_environment.sh 25 | ServiceDefinitions.json 26 | Runner/GeneratedPluginRegistrant.* 27 | 28 | # Exceptions to above rules. 29 | !default.mode1v3 30 | !default.mode2v3 31 | !default.pbxuser 32 | !default.perspectivev3 33 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/ios/Flutter/AppFrameworkInfo.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleExecutable 8 | App 9 | CFBundleIdentifier 10 | io.flutter.flutter.app 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | App 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1.0 23 | MinimumOSVersion 24 | 9.0 25 | 26 | 27 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/ios/Flutter/Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig" 2 | #include "Generated.xcconfig" 3 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/ios/Flutter/Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig" 2 | #include "Generated.xcconfig" 3 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/ios/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - Flutter (1.0.0) 3 | - nm_gql_go_link (0.0.1): 4 | - Flutter 5 | 6 | DEPENDENCIES: 7 | - Flutter (from `Flutter`) 8 | - nm_gql_go_link (from `.symlinks/plugins/nm_gql_go_link/ios`) 9 | 10 | EXTERNAL SOURCES: 11 | Flutter: 12 | :path: Flutter 13 | nm_gql_go_link: 14 | :path: ".symlinks/plugins/nm_gql_go_link/ios" 15 | 16 | SPEC CHECKSUMS: 17 | Flutter: 0e3d915762c693b495b44d77113d4970485de6ec 18 | nm_gql_go_link: f44ecd6dee9c6715b38ea7380664f74fd01e2edf 19 | 20 | PODFILE CHECKSUM: 8e679eca47255a8ca8067c4c67aab20e64cb974d 21 | 22 | COCOAPODS: 1.9.3 23 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/ios/Runner.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/ios/Runner/AppDelegate.h: -------------------------------------------------------------------------------- 1 | #import 2 | #import 3 | 4 | @interface AppDelegate : FlutterAppDelegate 5 | 6 | @end 7 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/ios/Runner/AppDelegate.m: -------------------------------------------------------------------------------- 1 | #import "AppDelegate.h" 2 | #import "GeneratedPluginRegistrant.h" 3 | 4 | @implementation AppDelegate 5 | 6 | - (BOOL)application:(UIApplication *)application 7 | didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { 8 | [GeneratedPluginRegistrant registerWithRegistry:self]; 9 | // Override point for customization after application launch. 10 | return [super application:application didFinishLaunchingWithOptions:launchOptions]; 11 | } 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/ios/Runner/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | import UIKit 2 | import Flutter 3 | 4 | @UIApplicationMain 5 | @objc class AppDelegate: FlutterAppDelegate { 6 | override func application( 7 | _ application: UIApplication, 8 | didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? 9 | ) -> Bool { 10 | GeneratedPluginRegistrant.register(with: self) 11 | return super.application(application, didFinishLaunchingWithOptions: launchOptions) 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/flutter/nm_gql_go_link/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/flutter/nm_gql_go_link/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/flutter/nm_gql_go_link/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/flutter/nm_gql_go_link/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/flutter/nm_gql_go_link/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/flutter/nm_gql_go_link/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/flutter/nm_gql_go_link/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/flutter/nm_gql_go_link/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/flutter/nm_gql_go_link/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/flutter/nm_gql_go_link/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/flutter/nm_gql_go_link/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/flutter/nm_gql_go_link/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/flutter/nm_gql_go_link/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/flutter/nm_gql_go_link/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/flutter/nm_gql_go_link/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "LaunchImage.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "LaunchImage@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "LaunchImage@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/flutter/nm_gql_go_link/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/flutter/nm_gql_go_link/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/flutter/nm_gql_go_link/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md: -------------------------------------------------------------------------------- 1 | # Launch Screen Assets 2 | 3 | You can customize the launch screen with your own desired assets by replacing the image files in this directory. 4 | 5 | You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images. -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/ios/Runner/Runner-Bridging-Header.h: -------------------------------------------------------------------------------- 1 | #import "GeneratedPluginRegistrant.h" 2 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/ios/Runner/main.m: -------------------------------------------------------------------------------- 1 | #import 2 | #import 3 | #import "AppDelegate.h" 4 | 5 | int main(int argc, char* argv[]) { 6 | @autoreleasepool { 7 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/linux/.gitignore: -------------------------------------------------------------------------------- 1 | flutter/ephemeral 2 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/linux/flutter/generated_plugin_registrant.cc: -------------------------------------------------------------------------------- 1 | // 2 | // Generated file. Do not edit. 3 | // 4 | 5 | #include "generated_plugin_registrant.h" 6 | 7 | #include 8 | 9 | void fl_register_plugins(FlPluginRegistry* registry) { 10 | g_autoptr(FlPluginRegistrar) nm_gql_go_link_registrar = 11 | fl_plugin_registry_get_registrar_for_plugin(registry, "NmGqlGoLinkPlugin"); 12 | nm_gql_go_link_plugin_register_with_registrar(nm_gql_go_link_registrar); 13 | } 14 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/linux/flutter/generated_plugin_registrant.h: -------------------------------------------------------------------------------- 1 | // 2 | // Generated file. Do not edit. 3 | // 4 | 5 | #ifndef GENERATED_PLUGIN_REGISTRANT_ 6 | #define GENERATED_PLUGIN_REGISTRANT_ 7 | 8 | #include 9 | 10 | // Registers Flutter plugins. 11 | void fl_register_plugins(FlPluginRegistry* registry); 12 | 13 | #endif // GENERATED_PLUGIN_REGISTRANT_ 14 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/linux/flutter/generated_plugins.cmake: -------------------------------------------------------------------------------- 1 | # 2 | # Generated file, do not edit. 3 | # 4 | 5 | list(APPEND FLUTTER_PLUGIN_LIST 6 | nm_gql_go_link 7 | ) 8 | 9 | set(PLUGIN_BUNDLED_LIBRARIES) 10 | 11 | foreach(plugin ${FLUTTER_PLUGIN_LIST}) 12 | add_subdirectory(flutter/ephemeral/.plugin_symlinks/${plugin}/linux plugins/${plugin}) 13 | target_link_libraries(${BINARY_NAME} PRIVATE ${plugin}_plugin) 14 | list(APPEND PLUGIN_BUNDLED_LIBRARIES $) 15 | list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries}) 16 | endforeach(plugin) 17 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/linux/main.cc: -------------------------------------------------------------------------------- 1 | #include "my_application.h" 2 | 3 | int main(int argc, char** argv) { 4 | // Only X11 is currently supported. 5 | // Wayland support is being developed: https://github.com/flutter/flutter/issues/57932. 6 | gdk_set_allowed_backends("x11"); 7 | 8 | g_autoptr(MyApplication) app = my_application_new(); 9 | return g_application_run(G_APPLICATION(app), argc, argv); 10 | } 11 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/linux/my_application.h: -------------------------------------------------------------------------------- 1 | #ifndef FLUTTER_MY_APPLICATION_H_ 2 | #define FLUTTER_MY_APPLICATION_H_ 3 | 4 | #include 5 | 6 | G_DECLARE_FINAL_TYPE(MyApplication, my_application, MY, APPLICATION, 7 | GtkApplication) 8 | 9 | /** 10 | * my_application_new: 11 | * 12 | * Creates a new Flutter-based application. 13 | * 14 | * Returns: a new #MyApplication. 15 | */ 16 | MyApplication* my_application_new(); 17 | 18 | #endif // FLUTTER_MY_APPLICATION_H_ 19 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/macos/.gitignore: -------------------------------------------------------------------------------- 1 | # Flutter-related 2 | **/Flutter/ephemeral/ 3 | **/Pods/ 4 | 5 | # Xcode-related 6 | **/xcuserdata/ 7 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/macos/Flutter/Flutter-Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig" 2 | #include "ephemeral/Flutter-Generated.xcconfig" 3 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/macos/Flutter/Flutter-Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig" 2 | #include "ephemeral/Flutter-Generated.xcconfig" 3 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/macos/Flutter/GeneratedPluginRegistrant.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Generated file. Do not edit. 3 | // 4 | 5 | import FlutterMacOS 6 | import Foundation 7 | 8 | import nm_gql_go_link 9 | 10 | func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { 11 | NmGqlGoLinkPlugin.register(with: registry.registrar(forPlugin: "NmGqlGoLinkPlugin")) 12 | } 13 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/macos/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - FlutterMacOS (1.0.0) 3 | - nm_gql_go_link (0.0.1): 4 | - FlutterMacOS 5 | 6 | DEPENDENCIES: 7 | - FlutterMacOS (from `Flutter/ephemeral/.symlinks/flutter/darwin-x64`) 8 | - nm_gql_go_link (from `Flutter/ephemeral/.symlinks/plugins/nm_gql_go_link/macos`) 9 | 10 | EXTERNAL SOURCES: 11 | FlutterMacOS: 12 | :path: Flutter/ephemeral/.symlinks/flutter/darwin-x64 13 | nm_gql_go_link: 14 | :path: Flutter/ephemeral/.symlinks/plugins/nm_gql_go_link/macos 15 | 16 | SPEC CHECKSUMS: 17 | FlutterMacOS: 15bea8a44d2fa024068daa0140371c020b4b6ff9 18 | nm_gql_go_link: 82d50f765447bb387c3c8245a28e1fbcb3da7efb 19 | 20 | PODFILE CHECKSUM: d8ba9b3e9e93c62c74a660b46c6fcb09f03991a7 21 | 22 | COCOAPODS: 1.9.3 23 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/macos/Runner.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/macos/Runner/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | import Cocoa 2 | import FlutterMacOS 3 | 4 | @NSApplicationMain 5 | class AppDelegate: FlutterAppDelegate { 6 | override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool { 7 | return true 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/flutter/nm_gql_go_link/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/flutter/nm_gql_go_link/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/flutter/nm_gql_go_link/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/flutter/nm_gql_go_link/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/flutter/nm_gql_go_link/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/flutter/nm_gql_go_link/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/flutter/nm_gql_go_link/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/macos/Runner/Configs/AppInfo.xcconfig: -------------------------------------------------------------------------------- 1 | // Application-level settings for the Runner target. 2 | // 3 | // This may be replaced with something auto-generated from metadata (e.g., pubspec.yaml) in the 4 | // future. If not, the values below would default to using the project name when this becomes a 5 | // 'flutter create' template. 6 | 7 | // The application's name. By default this is also the title of the Flutter window. 8 | PRODUCT_NAME = nm_gql_go_link_example 9 | 10 | // The application's bundle identifier 11 | PRODUCT_BUNDLE_IDENTIFIER = com.example.nmGqlGoLinkExample 12 | 13 | // The copyright displayed in application information 14 | PRODUCT_COPYRIGHT = Copyright © 2020 com.example. All rights reserved. 15 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/macos/Runner/Configs/Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include "../../Flutter/Flutter-Debug.xcconfig" 2 | #include "Warnings.xcconfig" 3 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/macos/Runner/Configs/Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include "../../Flutter/Flutter-Release.xcconfig" 2 | #include "Warnings.xcconfig" 3 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/macos/Runner/Configs/Warnings.xcconfig: -------------------------------------------------------------------------------- 1 | WARNING_CFLAGS = -Wall -Wconditional-uninitialized -Wnullable-to-nonnull-conversion -Wmissing-method-return-type -Woverlength-strings 2 | GCC_WARN_UNDECLARED_SELECTOR = YES 3 | CLANG_UNDEFINED_BEHAVIOR_SANITIZER_NULLABILITY = YES 4 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE 5 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES 6 | CLANG_WARN_PRAGMA_PACK = YES 7 | CLANG_WARN_STRICT_PROTOTYPES = YES 8 | CLANG_WARN_COMMA = YES 9 | GCC_WARN_STRICT_SELECTOR_MATCH = YES 10 | CLANG_WARN_OBJC_REPEATED_USE_OF_WEAK = YES 11 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES 12 | GCC_WARN_SHADOW = YES 13 | CLANG_WARN_UNREACHABLE_CODE = YES 14 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/macos/Runner/DebugProfile.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | com.apple.security.app-sandbox 6 | 7 | com.apple.security.cs.allow-jit 8 | 9 | com.apple.security.network.server 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/macos/Runner/MainFlutterWindow.swift: -------------------------------------------------------------------------------- 1 | import Cocoa 2 | import FlutterMacOS 3 | 4 | class MainFlutterWindow: NSWindow { 5 | override func awakeFromNib() { 6 | let flutterViewController = FlutterViewController.init() 7 | let windowFrame = self.frame 8 | self.contentViewController = flutterViewController 9 | self.setFrame(windowFrame, display: true) 10 | 11 | RegisterGeneratedPlugins(registry: flutterViewController) 12 | 13 | super.awakeFromNib() 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/macos/Runner/Release.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | com.apple.security.app-sandbox 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/example/test/widget_test.dart: -------------------------------------------------------------------------------- 1 | // This is a basic Flutter widget test. 2 | // 3 | // To perform an interaction with a widget in your test, use the WidgetTester 4 | // utility that Flutter provides. For example, you can send tap and scroll 5 | // gestures. You can also use WidgetTester to find child widgets in the widget 6 | // tree, read text, and verify that the values of widget properties are correct. 7 | 8 | import 'package:flutter/material.dart'; 9 | import 'package:flutter_test/flutter_test.dart'; 10 | 11 | import 'package:nm_gql_go_link_example/main.dart'; 12 | 13 | void main() { 14 | testWidgets('Verify Platform version', (WidgetTester tester) async { 15 | // Build our app and trigger a frame. 16 | await tester.pumpWidget(MyApp()); 17 | 18 | // Verify that platform version is retrieved. 19 | expect( 20 | find.byWidgetPredicate( 21 | (Widget widget) => 22 | widget is Text && widget.data.startsWith('Running on:'), 23 | ), 24 | findsOneWidget, 25 | ); 26 | }); 27 | } 28 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/graphql/note.graphqls: -------------------------------------------------------------------------------- 1 | ../../../api/note.graphqls -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/graphql/note.status.query.graphql: -------------------------------------------------------------------------------- 1 | # Copyright 2020-2021 Google LLC 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # https://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | query note_status { 16 | status { 17 | summary 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/ios/.gitignore: -------------------------------------------------------------------------------- 1 | .idea/ 2 | .vagrant/ 3 | .sconsign.dblite 4 | .svn/ 5 | 6 | .DS_Store 7 | *.swp 8 | profile 9 | 10 | DerivedData/ 11 | build/ 12 | GeneratedPluginRegistrant.h 13 | GeneratedPluginRegistrant.m 14 | 15 | .generated/ 16 | 17 | *.pbxuser 18 | *.mode1v3 19 | *.mode2v3 20 | *.perspectivev3 21 | 22 | !default.pbxuser 23 | !default.mode1v3 24 | !default.mode2v3 25 | !default.perspectivev3 26 | 27 | xcuserdata 28 | 29 | *.moved-aside 30 | 31 | *.pyc 32 | *sync/ 33 | Icon? 34 | .tags* 35 | 36 | /Flutter/Generated.xcconfig 37 | /Flutter/flutter_export_environment.sh -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/ios/Assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/flutter/nm_gql_go_link/ios/Assets/.gitkeep -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/ios/Classes/NmGqlGoLinkPlugin.h: -------------------------------------------------------------------------------- 1 | // Copyright 2020-2021 Google LLC 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // https://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | #import 16 | 17 | @interface NmGqlGoLinkPlugin : NSObject 18 | @end 19 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/lib/note_graphql.dart: -------------------------------------------------------------------------------- 1 | // GENERATED CODE - DO NOT MODIFY BY HAND 2 | export 'note_graphql.graphql.dart'; 3 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/macos/Classes/NmGqlGoLinkPlugin.h: -------------------------------------------------------------------------------- 1 | // Copyright 2020 Google LLC 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // https://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | #import 16 | 17 | @interface NmGqlGoLinkPlugin : NSObject 18 | @end 19 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/macos/Frameworks/GoNmgql.framework/Headers: -------------------------------------------------------------------------------- 1 | Versions/Current/Headers -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/macos/Frameworks/GoNmgql.framework/Modules: -------------------------------------------------------------------------------- 1 | Versions/Current/Modules -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/macos/Frameworks/GoNmgql.framework/Resources: -------------------------------------------------------------------------------- 1 | Versions/Current/Resources -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/macos/Frameworks/GoNmgql.framework/Versions/A/Headers/GoNmgql.h: -------------------------------------------------------------------------------- 1 | // Copyright 2020 Google LLC 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // https://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | #ifndef __GoNmgql_FRAMEWORK_H__ 16 | #define __GoNmgql_FRAMEWORK_H__ 17 | 18 | #include "GoNmgql.objc.h" 19 | #include "Universe.objc.h" 20 | 21 | #endif 22 | 23 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/macos/Frameworks/GoNmgql.framework/Versions/A/Modules/module.modulemap: -------------------------------------------------------------------------------- 1 | framework module "GoNmgql" { 2 | header "ref.h" 3 | header "GoNmgql.objc.h" 4 | header "Universe.objc.h" 5 | header "GoNmgql.h" 6 | 7 | export * 8 | } 9 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/macos/Frameworks/GoNmgql.framework/Versions/A/Resources/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/macos/Frameworks/GoNmgql.framework/Versions/Current: -------------------------------------------------------------------------------- 1 | A -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/nm_gql_android.go: -------------------------------------------------------------------------------- 1 | // Copyright 2020 Google LLC 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // https://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // +build android 16 | 17 | package nmgql 18 | 19 | //go:generate mkdir -p ./android/libs 20 | //go:generate gomobile bind -target=android -o ./android/libs/gomobilenmgql.aar github.com/google/note-maps/flutter/nm_gql_go_link 21 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/nm_gql_ios.go: -------------------------------------------------------------------------------- 1 | // Copyright 2020 Google LLC 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // https://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // +build ios 16 | 17 | package nmgql 18 | 19 | //go:generate mkdir -p ./ios/Frameworks 20 | //go:generate gomobile bind -target=ios -prefix=GoMobile -o ./ios/Frameworks/GoMobileNmgql.framework github.com/google/note-maps/flutter/nm_gql_go_link 21 | -------------------------------------------------------------------------------- /flutter/nm_gql_go_link/pubspec.yaml: -------------------------------------------------------------------------------- 1 | name: nm_gql_go_link 2 | description: A new flutter plugin project. 3 | version: 0.2.0 4 | homepage: https://github.com/google/note-maps/blob/main/packages/nm_gql_go_link 5 | publish_to: 'none' 6 | 7 | environment: 8 | sdk: ">=2.7.0 <3.0.0" 9 | flutter: ">=1.17.0 <2.0.0" 10 | 11 | dependencies: 12 | flutter: 13 | sdk: flutter 14 | gql_link: ^0.2.3 15 | gql_exec: ^0.2.4 16 | json_annotation: ^3.0.0 17 | 18 | dev_dependencies: 19 | flutter_test: 20 | sdk: flutter 21 | artemis: '>=5.0.0 <6.0.0' 22 | build_runner: ^1.5.0 23 | json_serializable: ^3.0.0 24 | pedantic: ^1.9.2 25 | 26 | flutter: 27 | plugin: 28 | platforms: 29 | android: 30 | pluginClass: NmGqlGoLinkPlugin 31 | package: com.example.nm_gql_go_link 32 | ios: 33 | pluginClass: NmGqlGoLinkPlugin 34 | linux: 35 | pluginClass: NmGqlGoLinkPlugin 36 | macos: 37 | pluginClass: NmGqlGoLinkPlugin 38 | -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- 1 | module github.com/google/note-maps 2 | 3 | go 1.14 4 | 5 | replace git.apache.org/thrift.git => github.com/apache/thrift v0.14.2 6 | 7 | require ( 8 | github.com/99designs/gqlgen v0.13.0 9 | github.com/99designs/keyring v1.1.6 10 | github.com/alecthomas/participle v0.7.1 11 | github.com/dgraph-io/badger v1.6.2 12 | github.com/golang/protobuf v1.5.2 // indirect 13 | github.com/google/subcommands v1.2.0 14 | github.com/onsi/ginkgo v1.14.0 // indirect 15 | github.com/textileio/go-threads v1.0.2 16 | github.com/vektah/gqlparser/v2 v2.5.14 17 | golang.org/x/net v0.38.0 // indirect 18 | google.golang.org/protobuf v1.33.0 19 | gopkg.in/yaml.v3 v3.0.1 20 | ) 21 | -------------------------------------------------------------------------------- /go.nix: -------------------------------------------------------------------------------- 1 | # Copyright 2020 Google LLC 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # https://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | { pkgs }: { 16 | notemaps = pkgs.buildGoApplication rec { 17 | pname = "notemaps"; 18 | version = "0.2.0"; 19 | src = ./.; 20 | modules = ./gomod2nix.toml; 21 | meta = with pkgs.lib; { 22 | platforms = platforms.linux ++ platforms.darwin; 23 | }; 24 | }; 25 | } 26 | -------------------------------------------------------------------------------- /kv/test.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # Copyright 2020-2021 Google LLC 4 | # 5 | # Licensed under the Apache License, Version 2.0 (the "License"); 6 | # you may not use this file except in compliance with the License. 7 | # You may obtain a copy of the License at 8 | # 9 | # https://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | 17 | go build . 18 | go get . 19 | go generate ./cmd/kvschema 20 | go get ./cmd/kvschema 21 | go generate ./examples/... 22 | go test ./... -coverprofile=cov 23 | -------------------------------------------------------------------------------- /nix/envrc: -------------------------------------------------------------------------------- 1 | # Example envrc. Copy this and shell.nix to the parent directory to use direnv 2 | # and Nix to manage the development environment for this project. 3 | 4 | use nix 5 | -------------------------------------------------------------------------------- /note/errors.go: -------------------------------------------------------------------------------- 1 | // Copyright 2020 Google LLC 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // https://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | package note 16 | 17 | import "errors" 18 | 19 | var ( 20 | InvalidID = errors.New("invalid note id") 21 | ) 22 | -------------------------------------------------------------------------------- /note/generate_graph.go: -------------------------------------------------------------------------------- 1 | // Copyright 2020 Google LLC 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // https://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | package note 16 | 17 | //go:generate go run github.com/99designs/gqlgen init 18 | //go:generate rm server.go 19 | -------------------------------------------------------------------------------- /note/generate_id_ot.go: -------------------------------------------------------------------------------- 1 | // Copyright 2020 Google LLC 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // https://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // +build ignore 16 | 17 | package main 18 | 19 | import ( 20 | "log" 21 | 22 | "github.com/google/note-maps/otgen" 23 | ) 24 | 25 | func main() { 26 | err := otgen.Generate(otgen.Options{ 27 | PackageName: "note", 28 | ElementType: "ID", 29 | SliceType: "IDSlice", 30 | BaseName: "id_ot", 31 | OpStringer: true, 32 | }) 33 | if err != nil { 34 | log.Fatalln(err) 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /note/graph/model/models_gen.go: -------------------------------------------------------------------------------- 1 | // Code generated by github.com/99designs/gqlgen, DO NOT EDIT. 2 | 3 | package model 4 | 5 | type Status struct { 6 | ID string `json:"id"` 7 | Summary string `json:"summary"` 8 | } 9 | -------------------------------------------------------------------------------- /note/graph/resolver.go: -------------------------------------------------------------------------------- 1 | // Copyright 2020-2021 Google LLC 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // https://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | package graph 16 | 17 | // Dependency injection. Add any required dependencies here. 18 | 19 | type Resolver struct{} 20 | -------------------------------------------------------------------------------- /note/graph/schema.graphqls: -------------------------------------------------------------------------------- 1 | ../../api/note.graphqls -------------------------------------------------------------------------------- /note/graph/schema.resolvers.go: -------------------------------------------------------------------------------- 1 | package graph 2 | 3 | // This file will be automatically regenerated based on the schema, any resolver implementations 4 | // will be copied through when generating and any unknown code will be moved to the end. 5 | 6 | import ( 7 | "context" 8 | 9 | "github.com/google/note-maps/note/graph/generated" 10 | "github.com/google/note-maps/note/graph/model" 11 | ) 12 | 13 | func (r *queryResolver) Status(ctx context.Context) (*model.Status, error) { 14 | return &model.Status{ 15 | ID: "", 16 | Summary: "linked but not yet implemented", 17 | }, nil 18 | } 19 | 20 | // Query returns generated.QueryResolver implementation. 21 | func (r *Resolver) Query() generated.QueryResolver { return &queryResolver{r} } 22 | 23 | type queryResolver struct{ *Resolver } 24 | -------------------------------------------------------------------------------- /note/id_test.go: -------------------------------------------------------------------------------- 1 | // Copyright 2020 Google LLC 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // https://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | package note 16 | 17 | const ( 18 | TestID0 = "a" 19 | TestID1 = "b" 20 | TestID2 = "c" 21 | TestID3 = "d" 22 | TestID4 = "d" 23 | ) 24 | -------------------------------------------------------------------------------- /note/notetest/notestest_test.go: -------------------------------------------------------------------------------- 1 | // Copyright 2020 Google LLC 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // https://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | package notetest 16 | 17 | import ( 18 | "testing" 19 | ) 20 | 21 | func TestTodo(t *testing.T) { 22 | t.Skip("no tests yet") 23 | } 24 | -------------------------------------------------------------------------------- /note/query.go: -------------------------------------------------------------------------------- 1 | // Copyright 2020 Google LLC 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // https://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | package note 16 | 17 | // Query limits the notes that will be found when loading information from a 18 | // graph. 19 | // 20 | // The default query matches all notes. 21 | type Query struct { 22 | } 23 | -------------------------------------------------------------------------------- /note/yaml/yaml.go: -------------------------------------------------------------------------------- 1 | // Copyright 2020 Google LLC 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // https://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Package yaml marshals notes to and from YAML format. 16 | package yaml 17 | -------------------------------------------------------------------------------- /otgen/generate.go: -------------------------------------------------------------------------------- 1 | // Copyright 2020 Google LLC 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // https://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | package otgen 16 | 17 | //go:generate go run generate_tmpls.go 18 | -------------------------------------------------------------------------------- /otgen/generate_tmpls.go: -------------------------------------------------------------------------------- 1 | // Copyright 2020 Google LLC 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // https://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // +build ignore 16 | 17 | package main 18 | 19 | import ( 20 | "log" 21 | "net/http" 22 | 23 | "github.com/shurcooL/vfsgen" 24 | ) 25 | 26 | func main() { 27 | err := vfsgen.Generate(http.Dir("templates"), vfsgen.Options{ 28 | PackageName: "otgen", 29 | VariableName: "tmpls", 30 | Filename: "generated_tmpls.go", 31 | }) 32 | if err != nil { 33 | log.Fatalln(err) 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /otgen/runes/generate_runes.go: -------------------------------------------------------------------------------- 1 | // +build ignore 2 | // Copyright 2020 Google LLC 3 | // 4 | // Licensed under the Apache License, Version 2.0 (the "License"); 5 | // you may not use this file except in compliance with the License. 6 | // You may obtain a copy of the License at 7 | // 8 | // https://www.apache.org/licenses/LICENSE-2.0 9 | // 10 | // Unless required by applicable law or agreed to in writing, software 11 | // distributed under the License is distributed on an "AS IS" BASIS, 12 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | // See the License for the specific language governing permissions and 14 | // limitations under the License. 15 | 16 | package main 17 | 18 | import ( 19 | "log" 20 | 21 | "github.com/google/note-maps/otgen" 22 | ) 23 | 24 | func main() { 25 | err := otgen.Generate(otgen.Options{ 26 | PackageName: "runes", 27 | ElementType: "rune", 28 | SliceType: "String", 29 | BaseName: "runes_ot", 30 | OpStringer: true, 31 | }) 32 | if err != nil { 33 | log.Fatalln(err) 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /otgen/runes/runes.go: -------------------------------------------------------------------------------- 1 | // Copyright 2020 Google LLC 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // https://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | package runes 16 | 17 | //go:generate go run generate_runes.go 18 | 19 | type String []rune 20 | 21 | func (xs String) String() string { return string(xs) } 22 | -------------------------------------------------------------------------------- /rust/notemaps/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "notemaps" 3 | version = "0.2.0" 4 | authors = ["Joshua Tacoma "] 5 | edition = "2021" 6 | description = "Note Maps application binary" 7 | repository = "https://github.com/google/note-maps" 8 | license = "Apache-2.0" 9 | keywords = ["notemaps"] 10 | categories = ["data-structures", "text-processing"] 11 | publish = false 12 | 13 | [dependencies] 14 | env_logger = "0.9.0" 15 | log = "0.4.14" 16 | -------------------------------------------------------------------------------- /rust/notemaps/src/main.rs: -------------------------------------------------------------------------------- 1 | // Copyright 2020-2021 Google LLC 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // https://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | fn main() { 16 | env_logger::init(); 17 | log::debug!("TODO: develop app"); 18 | } 19 | -------------------------------------------------------------------------------- /rust/notemaps_core/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "notemaps_core" 3 | version = "0.1.0" 4 | authors = ["Joshua Tacoma "] 5 | edition = "2021" 6 | description = "Common structs and traits for representing and editing note maps." 7 | repository = "https://github.com/google/note-maps" 8 | license = "Apache-2.0" 9 | keywords = ["notemaps"] 10 | categories = ["data-structures", "text-processing"] 11 | publish = false 12 | 13 | [dependencies] 14 | automerge = { git="https://github.com/automerge/automerge-rs", branch="main" } 15 | automerge-persistent = { git="https://github.com/jeffa5/automerge-persistent", branch="main" } 16 | automerge-persistent-sled = { git="https://github.com/jeffa5/automerge-persistent", branch="main" } 17 | automerge-protocol = { git="https://github.com/automerge/automerge-rs", branch="main" } 18 | directories = "4.0" 19 | env_logger = "0.9.0" 20 | im = "15" 21 | log = "0.4.14" 22 | petgraph = "0.6" 23 | sled = "0.34" 24 | smol_str = "0.1" 25 | thiserror = "1.0.30" 26 | tinyvec = "1.5" 27 | unicode-segmentation = "1.7" 28 | uuid = { version="0.8", features=["v4", "v5"] } 29 | -------------------------------------------------------------------------------- /rust/notemaps_text/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "notemaps_text" 3 | version = "0.2.0" 4 | authors = ["Joshua Tacoma "] 5 | edition = "2021" 6 | description = "Some ideas about representing semantic markup (ropes, piece tables, ...?)" 7 | repository = "https://github.com/google/note-maps" 8 | license = "Apache-2.0" 9 | keywords = ["notemaps"] 10 | categories = ["data-structures", "text-processing"] 11 | publish = false 12 | 13 | [dependencies] 14 | log = "0.4.14" 15 | unicode-segmentation = "1.7" 16 | -------------------------------------------------------------------------------- /third_party/nixpkgs/THIRD_PARTY.md: -------------------------------------------------------------------------------- 1 | # `nixpkgs` in `note-maps/third\_party` 2 | 3 | ## `./dart` 4 | 5 | base: https://github.com/NixOS/nixpkgs/tree/42e09c2134add3ae66c6579478c474aeffd8443d/pkgs/development/interpreters/dart 6 | 7 | ## `./flutter` 8 | 9 | base: https://github.com/NixOS/nixpkgs/tree/e250fef76895d9f7230a95cc38d49eecf6fedef9/pkgs/development/compilers/flutter 10 | -------------------------------------------------------------------------------- /third_party/nixpkgs/fastlane/Gemfile: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | gem 'fastlane' 3 | -------------------------------------------------------------------------------- /third_party/zefyr/.github/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | ## Steps to Reproduce 4 | 5 | 6 | 7 | 1. ... 8 | 2. ... 9 | 3. ... 10 | 11 | ## Logs 12 | 13 | 14 | 15 | ``` 16 | ``` 17 | 18 | 19 | 20 | ``` 21 | ``` 22 | -------------------------------------------------------------------------------- /third_party/zefyr/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | .idea/ 3 | .dart_tool/ -------------------------------------------------------------------------------- /third_party/zefyr/.travis.yml: -------------------------------------------------------------------------------- 1 | language: dart 2 | 3 | dart: 4 | - stable 5 | 6 | os: 7 | - linux 8 | 9 | sudo: false 10 | 11 | addons: 12 | apt: 13 | sources: 14 | - ubuntu-toolchain-r-test 15 | packages: 16 | - libstdc++6 17 | - fonts-droid-fallback 18 | 19 | cache: 20 | directories: 21 | - $HOME/.pub-cache 22 | 23 | env: 24 | - FLUTTER_VERSION=master 25 | 26 | before_script: 27 | - pwd 28 | - git clone https://github.com/flutter/flutter.git -b $FLUTTER_VERSION 29 | - ./flutter/bin/flutter doctor 30 | 31 | script: 32 | - pwd 33 | - ./tool/travis.sh notus 34 | - ./tool/travis.sh zefyr 35 | - bash <(curl -s https://codecov.io/bash) 36 | -------------------------------------------------------------------------------- /third_party/zefyr/SUMMARY.md: -------------------------------------------------------------------------------- 1 | # Summary 2 | 3 | * [Release Notes](doc/release-notes.md) 4 | * [Zefyr Changelog](packages/zefyr/CHANGELOG.md) 5 | * [Notus Changelog](packages/notus/CHANGELOG.md) 6 | * [Quick Start](doc/quick-start.md) 7 | * [Concepts](doc/concepts/readme.md) 8 | * [Data Format and Document Model](doc/concepts/data-and-document.md) 9 | * [Attributes](doc/concepts/attributes.md) 10 | * [Heuristic rules](doc/concepts/heuristics.md) 11 | * [Embedding Images](doc/images.md) 12 | * [FAQ](doc/faq.md) 13 | 14 | ## Community 15 | 16 | * [Contribute on Github](https://github.com/memspace/zefyr) 17 | * [Discuss on Spectrum](https://spectrum.chat/zefyr) 18 | -------------------------------------------------------------------------------- /third_party/zefyr/assets/markdown-semantics.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/third_party/zefyr/assets/markdown-semantics.png -------------------------------------------------------------------------------- /third_party/zefyr/assets/quick-start-rec-01.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/third_party/zefyr/assets/quick-start-rec-01.gif -------------------------------------------------------------------------------- /third_party/zefyr/assets/quick-start-rec-02.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/third_party/zefyr/assets/quick-start-rec-02.gif -------------------------------------------------------------------------------- /third_party/zefyr/assets/quick-start-rec-03.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/third_party/zefyr/assets/quick-start-rec-03.gif -------------------------------------------------------------------------------- /third_party/zefyr/assets/quick-start-screen-01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/third_party/zefyr/assets/quick-start-screen-01.png -------------------------------------------------------------------------------- /third_party/zefyr/assets/quick-start-screen-02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/third_party/zefyr/assets/quick-start-screen-02.png -------------------------------------------------------------------------------- /third_party/zefyr/assets/zefyr-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/third_party/zefyr/assets/zefyr-1.png -------------------------------------------------------------------------------- /third_party/zefyr/assets/zefyr-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/third_party/zefyr/assets/zefyr-2.png -------------------------------------------------------------------------------- /third_party/zefyr/doc/faq.md: -------------------------------------------------------------------------------- 1 | ## Frequently asked questions 2 | 3 | ### Q: Are Notus documents compatible with Quill documents? 4 | 5 | Short answer is no. Even though Notus uses Quill Delta as underlying 6 | representation for its documents there are at least differences in 7 | attribute declarations. For instance heading style in Quill 8 | editor uses "header" as the attribute key, in Notus it's "heading". 9 | 10 | There are also semantic differences. In Quill, both list and heading 11 | styles are treated as block styles. This means applying "heading" 12 | style to a list item removes the item from the list. In Notus, heading 13 | style is handled separately from block styles like lists and quotes. 14 | As a consequence you can have a heading line inside of a quote block. 15 | This is intentional and inspired by how Markdown handles such scenarios. 16 | In fact, Notus format tries to follow Markdown semantics as close as 17 | possible. 18 | -------------------------------------------------------------------------------- /third_party/zefyr/docs/.last_build_id: -------------------------------------------------------------------------------- 1 | 6827c2412f76e11c11644586d96284e0 -------------------------------------------------------------------------------- /third_party/zefyr/docs/assets/AssetManifest.json: -------------------------------------------------------------------------------- 1 | {"packages/cupertino_icons/assets/CupertinoIcons.ttf":["packages/cupertino_icons/assets/CupertinoIcons.ttf"],"images/breeze.jpg":["images/breeze.jpg"],"assets/layout_expanded.note":["assets/layout_expanded.note"],"assets/layout_scrollable.note":["assets/layout_scrollable.note"],"assets/welcome.note":["assets/welcome.note"]} -------------------------------------------------------------------------------- /third_party/zefyr/docs/assets/FontManifest.json: -------------------------------------------------------------------------------- 1 | [{"family":"MaterialIcons","fonts":[{"asset":"fonts/MaterialIcons-Regular.otf"}]},{"family":"packages/cupertino_icons/CupertinoIcons","fonts":[{"asset":"packages/cupertino_icons/assets/CupertinoIcons.ttf"}]}] -------------------------------------------------------------------------------- /third_party/zefyr/docs/assets/assets/layout_expanded.note: -------------------------------------------------------------------------------- 1 | [{"insert":"Expandable editor"},{"insert":"\n","attributes":{"heading":1}},{"insert":"This example shows how to make Zefyr editor expand in vertical direction to fill its parent.\nControlling this behavior is easy through the expands property of the editor. You can use button in the top-right corner to toggle expands property of this editor.\nWidget build(BuildContext context) {"},{"insert":"\n","attributes":{"block":"code"}},{"insert":" return ZefyrEditor("},{"insert":"\n","attributes":{"block":"code"}},{"insert":" controller: _controller,"},{"insert":"\n","attributes":{"block":"code"}},{"insert":" focusNode: _focusNode,"},{"insert":"\n","attributes":{"block":"code"}},{"insert":" expands: true, // set this to true"},{"insert":"\n","attributes":{"block":"code"}},{"insert":" );"},{"insert":"\n","attributes":{"block":"code"}},{"insert":"}"},{"insert":"\n","attributes":{"block":"code"}},{"insert":"Note that this property cannot be used together with minHeight and maxHeight.\n"}] -------------------------------------------------------------------------------- /third_party/zefyr/docs/assets/fonts/MaterialIcons-Regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/third_party/zefyr/docs/assets/fonts/MaterialIcons-Regular.otf -------------------------------------------------------------------------------- /third_party/zefyr/docs/assets/images/breeze.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/third_party/zefyr/docs/assets/images/breeze.jpg -------------------------------------------------------------------------------- /third_party/zefyr/docs/assets/packages/cupertino_icons/assets/CupertinoIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/third_party/zefyr/docs/assets/packages/cupertino_icons/assets/CupertinoIcons.ttf -------------------------------------------------------------------------------- /third_party/zefyr/docs/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/third_party/zefyr/docs/favicon.png -------------------------------------------------------------------------------- /third_party/zefyr/docs/icons/Icon-192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/third_party/zefyr/docs/icons/Icon-192.png -------------------------------------------------------------------------------- /third_party/zefyr/docs/icons/Icon-512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/third_party/zefyr/docs/icons/Icon-512.png -------------------------------------------------------------------------------- /third_party/zefyr/docs/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "example", 3 | "short_name": "example", 4 | "start_url": ".", 5 | "display": "minimal-ui", 6 | "background_color": "#0175C2", 7 | "theme_color": "#0175C2", 8 | "description": "A new Flutter project.", 9 | "orientation": "portrait-primary", 10 | "prefer_related_applications": false, 11 | "icons": [ 12 | { 13 | "src": "icons/Icon-192.png", 14 | "sizes": "192x192", 15 | "type": "image/png" 16 | }, 17 | { 18 | "src": "icons/Icon-512.png", 19 | "sizes": "512x512", 20 | "type": "image/png" 21 | } 22 | ] 23 | } 24 | -------------------------------------------------------------------------------- /third_party/zefyr/docs/version.json: -------------------------------------------------------------------------------- 1 | {"app_name":"example","version":"1.0.0","build_number":"1"} -------------------------------------------------------------------------------- /third_party/zefyr/packages/notus/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | .atom/ 3 | .idea 4 | .vscode/ 5 | .packages 6 | .dart_tool/ 7 | packages 8 | pubspec.lock 9 | coverage/ 10 | doc/api/ 11 | test/.test_coverage.dart 12 | coverage/ 13 | -------------------------------------------------------------------------------- /third_party/zefyr/packages/notus/AUTHORS: -------------------------------------------------------------------------------- 1 | # Below is a list of people and organizations that have contributed 2 | # to the Zefyr project. Names should be added to the list like so: 3 | # 4 | # Name/Organization 5 | 6 | Anatoly Pulyaevskiy 7 | -------------------------------------------------------------------------------- /third_party/zefyr/packages/notus/analysis_options.yaml: -------------------------------------------------------------------------------- 1 | include: package:pedantic/analysis_options.yaml -------------------------------------------------------------------------------- /third_party/zefyr/packages/notus/lib/convert.dart: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2018, the Zefyr project authors. Please see the AUTHORS file 2 | // for details. All rights reserved. Use of this source code is governed by a 3 | // BSD-style license that can be found in the LICENSE file. 4 | 5 | /// Provides codecs to convert Notus documents to other formats. 6 | library notus.convert; 7 | 8 | import 'src/convert/markdown.dart'; 9 | 10 | export 'src/convert/markdown.dart'; 11 | 12 | /// Markdown codec for Notus documents. 13 | const NotusMarkdownCodec notusMarkdown = NotusMarkdownCodec(); 14 | -------------------------------------------------------------------------------- /third_party/zefyr/packages/notus/lib/notus.dart: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2018, the Zefyr project authors. Please see the AUTHORS file 2 | // for details. All rights reserved. Use of this source code is governed by a 3 | // BSD-style license that can be found in the LICENSE file. 4 | 5 | /// Rich text document model for Zefyr editor. 6 | library notus; 7 | 8 | export 'src/document.dart'; 9 | export 'src/document/attributes.dart'; 10 | export 'src/document/block.dart'; 11 | export 'src/document/embeds.dart'; 12 | export 'src/document/leaf.dart'; 13 | export 'src/document/line.dart'; 14 | export 'src/document/node.dart'; 15 | export 'src/heuristics.dart'; 16 | export 'src/heuristics/delete_rules.dart'; 17 | export 'src/heuristics/format_rules.dart'; 18 | export 'src/heuristics/insert_rules.dart'; 19 | -------------------------------------------------------------------------------- /third_party/zefyr/packages/notus/pubspec.yaml: -------------------------------------------------------------------------------- 1 | name: notus 2 | description: Platform-agnostic rich text document model based on Delta format and used in Zefyr editor. 3 | version: 1.0.0-dev.4.0 4 | author: Anatoly Pulyaevskiy 5 | homepage: https://github.com/memspace/zefyr 6 | 7 | environment: 8 | sdk: '>=2.9.0 <3.0.0' 9 | 10 | dependencies: 11 | collection: ^1.14.6 12 | meta: ^1.1.0 13 | quill_delta: ^2.0.0 14 | quiver_hashcode: ^2.0.0 15 | 16 | dev_dependencies: 17 | pedantic: ^1.0.0 18 | test: ^1.10.0 19 | test_coverage: ^0.4.0 20 | -------------------------------------------------------------------------------- /third_party/zefyr/packages/notus/test/matchers.dart: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2018, the Zefyr project authors. Please see the AUTHORS file 2 | // for details. All rights reserved. Use of this source code is governed by a 3 | // BSD-style license that can be found in the LICENSE file. 4 | 5 | import 'package:test/test.dart'; 6 | 7 | const isAssertionError = TypeMatcher(); 8 | 9 | // ignore: deprecated_member_use 10 | const Matcher throwsAssertionError = Throws(isAssertionError); 11 | -------------------------------------------------------------------------------- /third_party/zefyr/packages/notus/tool/travis.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -e 4 | 5 | pub get 6 | pub run test -r expanded 7 | dartfmt -n --set-exit-if-changed lib/ 8 | dartfmt -n --set-exit-if-changed test/ 9 | dartanalyzer --fatal-infos --fatal-warnings . 10 | pub run test_coverage 11 | -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | .atom/ 3 | .idea 4 | .vscode/ 5 | *.code-workspace 6 | .packages 7 | .pub/ 8 | packages 9 | pubspec.lock 10 | coverage/ 11 | ios/Flutter/Generated.xcconfig 12 | .flutter-plugins 13 | .flutter-plugins-dependencies 14 | example/ios/.symlinks 15 | example/ios/Flutter/Generated.xcconfig 16 | example/ios/Flutter/flutter_export_environment.sh 17 | doc/api/ 18 | build/ 19 | 20 | example/feather 21 | -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/AUTHORS: -------------------------------------------------------------------------------- 1 | # Below is a list of people and organizations that have contributed 2 | # to the Zefyr project. Names should be added to the list like so: 3 | # 4 | # Name/Organization 5 | 6 | Anatoly Pulyaevskiy 7 | -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/analysis_options.yaml: -------------------------------------------------------------------------------- 1 | include: package:pedantic/analysis_options.yaml 2 | -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/.gitignore: -------------------------------------------------------------------------------- 1 | # Miscellaneous 2 | *.class 3 | *.log 4 | *.pyc 5 | *.swp 6 | .DS_Store 7 | .atom/ 8 | .buildlog/ 9 | .history 10 | .svn/ 11 | 12 | # IntelliJ related 13 | *.iml 14 | *.ipr 15 | *.iws 16 | .idea/ 17 | 18 | # The .vscode folder contains launch configuration and tasks you configure in 19 | # VS Code which you may wish to be included in version control, so this line 20 | # is commented out by default. 21 | #.vscode/ 22 | 23 | # Flutter/Dart/Pub related 24 | **/doc/api/ 25 | .dart_tool/ 26 | .flutter-plugins 27 | .flutter-plugins-dependencies 28 | .packages 29 | .pub-cache/ 30 | .pub/ 31 | /build/ 32 | ios/Flutter/.last_build_id 33 | 34 | # Web related 35 | lib/generated_plugin_registrant.dart 36 | 37 | # Exceptions to above rules. 38 | !/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages 39 | -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/.metadata: -------------------------------------------------------------------------------- 1 | # This file tracks properties of this Flutter project. 2 | # Used by Flutter tool to assess capabilities and perform upgrades etc. 3 | # 4 | # This file should be version controlled and should not be manually edited. 5 | 6 | version: 7 | revision: b5a23fdf5bc01e292238627f031a34ed0adb80b0 8 | channel: dev 9 | 10 | project_type: app 11 | -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/README.md: -------------------------------------------------------------------------------- 1 | # example 2 | 3 | A new Flutter project. 4 | 5 | ## Getting Started 6 | 7 | This project is a starting point for a Flutter application. 8 | 9 | A few resources to get you started if this is your first Flutter project: 10 | 11 | - [Lab: Write your first Flutter app](https://flutter.dev/docs/get-started/codelab) 12 | - [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook) 13 | 14 | For help getting started with Flutter, view our 15 | [online documentation](https://flutter.dev/docs), which offers tutorials, 16 | samples, guidance on mobile development, and a full API reference. 17 | -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/android/.gitignore: -------------------------------------------------------------------------------- 1 | gradle-wrapper.jar 2 | /.gradle 3 | /captures/ 4 | /gradlew 5 | /gradlew.bat 6 | /local.properties 7 | GeneratedPluginRegistrant.java 8 | -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/android/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/android/app/src/main/kotlin/com/zefyr/example/MainActivity.kt: -------------------------------------------------------------------------------- 1 | package com.zefyr.example 2 | 3 | import androidx.annotation.NonNull; 4 | import io.flutter.embedding.android.FlutterActivity 5 | import io.flutter.embedding.engine.FlutterEngine 6 | import io.flutter.plugins.GeneratedPluginRegistrant 7 | 8 | class MainActivity: FlutterActivity() { 9 | override fun configureFlutterEngine(@NonNull flutterEngine: FlutterEngine) { 10 | GeneratedPluginRegistrant.registerWith(flutterEngine); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/android/app/src/main/res/drawable/launch_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 13 | -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/third_party/zefyr/packages/zefyr/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/third_party/zefyr/packages/zefyr/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/third_party/zefyr/packages/zefyr/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/third_party/zefyr/packages/zefyr/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/third_party/zefyr/packages/zefyr/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/android/app/src/profile/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/android/build.gradle: -------------------------------------------------------------------------------- 1 | buildscript { 2 | ext.kotlin_version = '1.3.50' 3 | repositories { 4 | google() 5 | jcenter() 6 | } 7 | 8 | dependencies { 9 | classpath 'com.android.tools.build:gradle:3.5.0' 10 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" 11 | } 12 | } 13 | 14 | allprojects { 15 | repositories { 16 | google() 17 | jcenter() 18 | } 19 | } 20 | 21 | rootProject.buildDir = '../build' 22 | subprojects { 23 | project.buildDir = "${rootProject.buildDir}/${project.name}" 24 | } 25 | subprojects { 26 | project.evaluationDependsOn(':app') 27 | } 28 | 29 | task clean(type: Delete) { 30 | delete rootProject.buildDir 31 | } 32 | -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/android/gradle.properties: -------------------------------------------------------------------------------- 1 | org.gradle.jvmargs=-Xmx1536M 2 | android.enableR8=true 3 | android.useAndroidX=true 4 | android.enableJetifier=true 5 | -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/third_party/zefyr/packages/zefyr/example/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Fri Jun 23 08:50:38 CEST 2017 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-all.zip 7 | -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/android/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | 3 | def flutterProjectRoot = rootProject.projectDir.parentFile.toPath() 4 | 5 | def plugins = new Properties() 6 | def pluginsFile = new File(flutterProjectRoot.toFile(), '.flutter-plugins') 7 | if (pluginsFile.exists()) { 8 | pluginsFile.withReader('UTF-8') { reader -> plugins.load(reader) } 9 | } 10 | 11 | plugins.each { name, path -> 12 | def pluginDirectory = flutterProjectRoot.resolve(path).resolve('android').toFile() 13 | include ":$name" 14 | project(":$name").projectDir = pluginDirectory 15 | } 16 | -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/assets/basics_read_only_view.note: -------------------------------------------------------------------------------- 1 | [{"insert":"Read only view"},{"insert":"\n","attributes":{"heading":1}},{"insert":{"_type":"hr","_inline":false}},{"insert":"\nThis is a read-only view made with the following code:\nWidget build(BuildContext context) {"},{"insert":"\n","attributes":{"block":"code"}},{"insert":" return ZefyrEditor("},{"insert":"\n","attributes":{"block":"code"}},{"insert":" controller: controller,"},{"insert":"\n","attributes":{"block":"code"}},{"insert":" focusNode: focusNode,"},{"insert":"\n","attributes":{"block":"code"}},{"insert":" readOnly: true,"},{"insert":"\n","attributes":{"block":"code"}},{"insert":" showCursor: false"},{"insert":"\n","attributes":{"block":"code"}},{"insert":" );"},{"insert":"\n","attributes":{"block":"code"}},{"insert":"}"},{"insert":"\n","attributes":{"block":"code"}},{"insert":"You can click on Edit to toggle both "},{"insert":"readOnly","attributes":{"i":true}},{"insert":" and "},{"insert":"showCursor","attributes":{"i":true}},{"insert":" properties and make this text editable.\n\n"}] -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/assets/layout_expanded.note: -------------------------------------------------------------------------------- 1 | [{"insert":"Expandable editor"},{"insert":"\n","attributes":{"heading":1}},{"insert":"This example shows how to make Zefyr editor expand in vertical direction to fill its parent.\nControlling this behavior is easy through the expands property of the editor. You can use button in the top-right corner to toggle expands property of this editor.\nWidget build(BuildContext context) {"},{"insert":"\n","attributes":{"block":"code"}},{"insert":" return ZefyrEditor("},{"insert":"\n","attributes":{"block":"code"}},{"insert":" controller: _controller,"},{"insert":"\n","attributes":{"block":"code"}},{"insert":" focusNode: _focusNode,"},{"insert":"\n","attributes":{"block":"code"}},{"insert":" expands: true, // set this to true"},{"insert":"\n","attributes":{"block":"code"}},{"insert":" );"},{"insert":"\n","attributes":{"block":"code"}},{"insert":"}"},{"insert":"\n","attributes":{"block":"code"}},{"insert":"Note that this property cannot be used together with minHeight and maxHeight.\n"}] -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/example.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/images/breeze.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/third_party/zefyr/packages/zefyr/example/images/breeze.jpg -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/ios/.gitignore: -------------------------------------------------------------------------------- 1 | *.mode1v3 2 | *.mode2v3 3 | *.moved-aside 4 | *.pbxuser 5 | *.perspectivev3 6 | **/*sync/ 7 | .sconsign.dblite 8 | .tags* 9 | **/.vagrant/ 10 | **/DerivedData/ 11 | Icon? 12 | **/Pods/ 13 | **/.symlinks/ 14 | profile 15 | xcuserdata 16 | **/.generated/ 17 | Flutter/App.framework 18 | Flutter/Flutter.framework 19 | Flutter/Flutter.podspec 20 | Flutter/Generated.xcconfig 21 | Flutter/app.flx 22 | Flutter/app.zip 23 | Flutter/flutter_assets/ 24 | Flutter/flutter_export_environment.sh 25 | ServiceDefinitions.json 26 | Runner/GeneratedPluginRegistrant.* 27 | 28 | # Exceptions to above rules. 29 | !default.mode1v3 30 | !default.mode2v3 31 | !default.pbxuser 32 | !default.perspectivev3 33 | -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/ios/Flutter/AppFrameworkInfo.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleExecutable 8 | App 9 | CFBundleIdentifier 10 | io.flutter.flutter.app 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | App 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1.0 23 | MinimumOSVersion 24 | 8.0 25 | 26 | 27 | -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/ios/Flutter/Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig" 2 | #include "Generated.xcconfig" 3 | -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/ios/Flutter/Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig" 2 | #include "Generated.xcconfig" 3 | -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/ios/Runner.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/ios/Runner/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | import UIKit 2 | import Flutter 3 | 4 | @UIApplicationMain 5 | @objc class AppDelegate: FlutterAppDelegate { 6 | override func application( 7 | _ application: UIApplication, 8 | didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? 9 | ) -> Bool { 10 | GeneratedPluginRegistrant.register(with: self) 11 | return super.application(application, didFinishLaunchingWithOptions: launchOptions) 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/third_party/zefyr/packages/zefyr/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/third_party/zefyr/packages/zefyr/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/third_party/zefyr/packages/zefyr/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/third_party/zefyr/packages/zefyr/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/third_party/zefyr/packages/zefyr/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/third_party/zefyr/packages/zefyr/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/third_party/zefyr/packages/zefyr/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/third_party/zefyr/packages/zefyr/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/third_party/zefyr/packages/zefyr/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/third_party/zefyr/packages/zefyr/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/third_party/zefyr/packages/zefyr/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/third_party/zefyr/packages/zefyr/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/third_party/zefyr/packages/zefyr/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/third_party/zefyr/packages/zefyr/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/third_party/zefyr/packages/zefyr/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "LaunchImage.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "LaunchImage@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "LaunchImage@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/third_party/zefyr/packages/zefyr/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/third_party/zefyr/packages/zefyr/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/third_party/zefyr/packages/zefyr/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md: -------------------------------------------------------------------------------- 1 | # Launch Screen Assets 2 | 3 | You can customize the launch screen with your own desired assets by replacing the image files in this directory. 4 | 5 | You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images. -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/ios/Runner/Runner-Bridging-Header.h: -------------------------------------------------------------------------------- 1 | #import "GeneratedPluginRegistrant.h" 2 | -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/lib/main.dart: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2018, the Zefyr project authors. Please see the AUTHORS file 2 | // for details. All rights reserved. Use of this source code is governed by a 3 | // BSD-style license that can be found in the LICENSE file. 4 | import 'package:flutter/material.dart'; 5 | 6 | import 'src/home.dart'; 7 | 8 | void main() { 9 | runApp(ZefyrApp()); 10 | } 11 | 12 | class ZefyrApp extends StatelessWidget { 13 | @override 14 | Widget build(BuildContext context) { 15 | return MaterialApp( 16 | debugShowCheckedModeBanner: false, 17 | title: 'Zefyr - rich-text editor for Flutter', 18 | home: HomePage(), 19 | ); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/linux/.gitignore: -------------------------------------------------------------------------------- 1 | flutter/ephemeral 2 | -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/linux/flutter/generated_plugin_registrant.cc: -------------------------------------------------------------------------------- 1 | // 2 | // Generated file. Do not edit. 3 | // 4 | 5 | #include "generated_plugin_registrant.h" 6 | 7 | #include 8 | 9 | void fl_register_plugins(FlPluginRegistry* registry) { 10 | g_autoptr(FlPluginRegistrar) url_launcher_linux_registrar = 11 | fl_plugin_registry_get_registrar_for_plugin(registry, "UrlLauncherPlugin"); 12 | url_launcher_plugin_register_with_registrar(url_launcher_linux_registrar); 13 | } 14 | -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/linux/flutter/generated_plugin_registrant.h: -------------------------------------------------------------------------------- 1 | // 2 | // Generated file. Do not edit. 3 | // 4 | 5 | #ifndef GENERATED_PLUGIN_REGISTRANT_ 6 | #define GENERATED_PLUGIN_REGISTRANT_ 7 | 8 | #include 9 | 10 | // Registers Flutter plugins. 11 | void fl_register_plugins(FlPluginRegistry* registry); 12 | 13 | #endif // GENERATED_PLUGIN_REGISTRANT_ 14 | -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/linux/flutter/generated_plugins.cmake: -------------------------------------------------------------------------------- 1 | # 2 | # Generated file, do not edit. 3 | # 4 | 5 | list(APPEND FLUTTER_PLUGIN_LIST 6 | url_launcher_linux 7 | ) 8 | 9 | set(PLUGIN_BUNDLED_LIBRARIES) 10 | 11 | foreach(plugin ${FLUTTER_PLUGIN_LIST}) 12 | add_subdirectory(flutter/ephemeral/.plugin_symlinks/${plugin}/linux plugins/${plugin}) 13 | target_link_libraries(${BINARY_NAME} PRIVATE ${plugin}_plugin) 14 | list(APPEND PLUGIN_BUNDLED_LIBRARIES $) 15 | list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries}) 16 | endforeach(plugin) 17 | -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/linux/main.cc: -------------------------------------------------------------------------------- 1 | #include "my_application.h" 2 | 3 | int main(int argc, char** argv) { 4 | // Only X11 is currently supported. 5 | // Wayland support is being developed: https://github.com/flutter/flutter/issues/57932. 6 | gdk_set_allowed_backends("x11"); 7 | 8 | g_autoptr(MyApplication) app = my_application_new(); 9 | return g_application_run(G_APPLICATION(app), argc, argv); 10 | } 11 | -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/linux/my_application.h: -------------------------------------------------------------------------------- 1 | #ifndef FLUTTER_MY_APPLICATION_H_ 2 | #define FLUTTER_MY_APPLICATION_H_ 3 | 4 | #include 5 | 6 | G_DECLARE_FINAL_TYPE(MyApplication, my_application, MY, APPLICATION, 7 | GtkApplication) 8 | 9 | /** 10 | * my_application_new: 11 | * 12 | * Creates a new Flutter-based application. 13 | * 14 | * Returns: a new #MyApplication. 15 | */ 16 | MyApplication* my_application_new(); 17 | 18 | #endif // FLUTTER_MY_APPLICATION_H_ 19 | -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/macos/.gitignore: -------------------------------------------------------------------------------- 1 | # Flutter-related 2 | **/Flutter/ephemeral/ 3 | **/Pods/ 4 | 5 | # Xcode-related 6 | **/xcuserdata/ 7 | -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/macos/Flutter/Flutter-Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig" 2 | #include "ephemeral/Flutter-Generated.xcconfig" 3 | -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/macos/Flutter/Flutter-Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig" 2 | #include "ephemeral/Flutter-Generated.xcconfig" 3 | -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/macos/Flutter/GeneratedPluginRegistrant.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Generated file. Do not edit. 3 | // 4 | 5 | import FlutterMacOS 6 | import Foundation 7 | 8 | import path_provider_macos 9 | import url_launcher_macos 10 | 11 | func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { 12 | PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin")) 13 | UrlLauncherPlugin.register(with: registry.registrar(forPlugin: "UrlLauncherPlugin")) 14 | } 15 | -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/macos/Runner.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/macos/Runner/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | import Cocoa 2 | import FlutterMacOS 3 | 4 | @NSApplicationMain 5 | class AppDelegate: FlutterAppDelegate { 6 | override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool { 7 | return true 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/third_party/zefyr/packages/zefyr/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/third_party/zefyr/packages/zefyr/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/third_party/zefyr/packages/zefyr/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/third_party/zefyr/packages/zefyr/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/third_party/zefyr/packages/zefyr/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/third_party/zefyr/packages/zefyr/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/third_party/zefyr/packages/zefyr/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/macos/Runner/Configs/AppInfo.xcconfig: -------------------------------------------------------------------------------- 1 | // Application-level settings for the Runner target. 2 | // 3 | // This may be replaced with something auto-generated from metadata (e.g., pubspec.yaml) in the 4 | // future. If not, the values below would default to using the project name when this becomes a 5 | // 'flutter create' template. 6 | 7 | // The application's name. By default this is also the title of the Flutter window. 8 | PRODUCT_NAME = example 9 | 10 | // The application's bundle identifier 11 | PRODUCT_BUNDLE_IDENTIFIER = com.zefyr.example 12 | 13 | // The copyright displayed in application information 14 | PRODUCT_COPYRIGHT = Copyright © 2020 com.zefyr. All rights reserved. 15 | -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/macos/Runner/Configs/Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include "../../Flutter/Flutter-Debug.xcconfig" 2 | #include "Warnings.xcconfig" 3 | -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/macos/Runner/Configs/Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include "../../Flutter/Flutter-Release.xcconfig" 2 | #include "Warnings.xcconfig" 3 | -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/macos/Runner/Configs/Warnings.xcconfig: -------------------------------------------------------------------------------- 1 | WARNING_CFLAGS = -Wall -Wconditional-uninitialized -Wnullable-to-nonnull-conversion -Wmissing-method-return-type -Woverlength-strings 2 | GCC_WARN_UNDECLARED_SELECTOR = YES 3 | CLANG_UNDEFINED_BEHAVIOR_SANITIZER_NULLABILITY = YES 4 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE 5 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES 6 | CLANG_WARN_PRAGMA_PACK = YES 7 | CLANG_WARN_STRICT_PROTOTYPES = YES 8 | CLANG_WARN_COMMA = YES 9 | GCC_WARN_STRICT_SELECTOR_MATCH = YES 10 | CLANG_WARN_OBJC_REPEATED_USE_OF_WEAK = YES 11 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES 12 | GCC_WARN_SHADOW = YES 13 | CLANG_WARN_UNREACHABLE_CODE = YES 14 | -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/macos/Runner/DebugProfile.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | com.apple.security.cs.allow-jit 6 | 7 | com.apple.security.network.server 8 | 9 | com.apple.security.network.client 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/macos/Runner/MainFlutterWindow.swift: -------------------------------------------------------------------------------- 1 | import Cocoa 2 | import FlutterMacOS 3 | 4 | class MainFlutterWindow: NSWindow { 5 | override func awakeFromNib() { 6 | let flutterViewController = FlutterViewController.init() 7 | let windowFrame = self.frame 8 | self.contentViewController = flutterViewController 9 | self.setFrame(windowFrame, display: true) 10 | 11 | RegisterGeneratedPlugins(registry: flutterViewController) 12 | 13 | super.awakeFromNib() 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/macos/Runner/Release.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | com.apple.security.network.client 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/web/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/third_party/zefyr/packages/zefyr/example/web/favicon.png -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/web/icons/Icon-192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/third_party/zefyr/packages/zefyr/example/web/icons/Icon-192.png -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/web/icons/Icon-512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/third_party/zefyr/packages/zefyr/example/web/icons/Icon-512.png -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/example/web/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "example", 3 | "short_name": "example", 4 | "start_url": ".", 5 | "display": "minimal-ui", 6 | "background_color": "#0175C2", 7 | "theme_color": "#0175C2", 8 | "description": "A new Flutter project.", 9 | "orientation": "portrait-primary", 10 | "prefer_related_applications": false, 11 | "icons": [ 12 | { 13 | "src": "icons/Icon-192.png", 14 | "sizes": "192x192", 15 | "type": "image/png" 16 | }, 17 | { 18 | "src": "icons/Icon-512.png", 19 | "sizes": "512x512", 20 | "type": "image/png" 21 | } 22 | ] 23 | } 24 | -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/lib/src/widgets/embed_proxy.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/widgets.dart'; 2 | 3 | import '../rendering/embed_proxy.dart'; 4 | 5 | class EmbedProxy extends SingleChildRenderObjectWidget { 6 | EmbedProxy({ 7 | @required Widget child, 8 | }) : super(child: child); 9 | 10 | @override 11 | RenderEmbedProxy createRenderObject(BuildContext context) { 12 | return RenderEmbedProxy(); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/lib/zefyr.dart: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2018, the Zefyr project authors. Please see the AUTHORS file 2 | // for details. All rights reserved. Use of this source code is governed by a 3 | // BSD-style license that can be found in the LICENSE file. 4 | 5 | /// Zefyr widgets and document model. 6 | /// 7 | /// To use, `import 'package:zefyr/zefyr.dart';`. 8 | library zefyr; 9 | 10 | export 'package:notus/notus.dart'; 11 | 12 | export 'src/rendering/editor.dart'; 13 | export 'src/widgets/controller.dart'; 14 | export 'src/widgets/cursor.dart'; 15 | export 'src/widgets/editor.dart'; 16 | export 'src/widgets/editor_toolbar.dart'; 17 | export 'src/widgets/field.dart'; 18 | export 'src/widgets/text_line.dart'; 19 | export 'src/widgets/theme.dart'; 20 | -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/pubspec.yaml: -------------------------------------------------------------------------------- 1 | name: zefyr 2 | description: Clean, minimalistic and collaboration-ready rich text editor for Flutter. 3 | version: 1.0.0-dev.2.0 4 | author: Anatoly Pulyaevskiy 5 | homepage: https://github.com/memspace/zefyr 6 | 7 | environment: 8 | sdk: '>=2.10.0 <3.0.0' 9 | 10 | dependencies: 11 | flutter: 12 | sdk: flutter 13 | collection: ^1.14.6 14 | url_launcher: ^5.0.0 15 | quill_delta: ^2.0.0 16 | notus: 17 | path: ../notus 18 | meta: ^1.1.0 19 | quiver_hashcode: ^2.0.0 20 | characters: ^1.0.0 21 | 22 | dev_dependencies: 23 | flutter_test: 24 | sdk: flutter 25 | pedantic: ^1.0.0 26 | -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/tool/travis.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -e 4 | 5 | $TRAVIS_BUILD_DIR/flutter/bin/flutter test 6 | 7 | dartfmt -n --set-exit-if-changed lib/ 8 | dartfmt -n --set-exit-if-changed test/ -------------------------------------------------------------------------------- /third_party/zefyr/packages/zefyr/zefyr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/note-maps/a4ce52e0c63c1d2588efd19023704426a34b77bd/third_party/zefyr/packages/zefyr/zefyr.png -------------------------------------------------------------------------------- /third_party/zefyr/tool/travis.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -e 4 | 5 | cd "packages/$1" 6 | ./tool/travis.sh 7 | -------------------------------------------------------------------------------- /tmaps/mobileapi/android.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 Google LLC 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // https://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // +build android 16 | 17 | package mobileapi 18 | 19 | //go:generate gomobile bind -target=android -o ../../note_maps/android/mobileapi/mobileapi.aar github.com/google/note-maps/tmaps/mobileapi 20 | -------------------------------------------------------------------------------- /tmaps/mobileapi/ios.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 Google LLC 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // https://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // +build ios 16 | 17 | package mobileapi 18 | 19 | //go:generate gomobile bind -target=ios -o ../../note_maps/ios/Frameworks/Mobileapi.framework github.com/google/note-maps/tmaps/mobileapi 20 | -------------------------------------------------------------------------------- /tmaps/pb/pb.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 Google LLC 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // https://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Package pb defines protocol buffer message types intended for use in tmaps 16 | // APIs. 17 | // 18 | // These message types are different and independent from those used in 19 | // storage. 20 | package pb 21 | 22 | //go:generate protoc --go_out=paths=source_relative:. tmaps.proto 23 | 24 | //go:generate protoc --dart_out=../../note_maps/lib/mobileapi/store/pb tmaps.proto 25 | -------------------------------------------------------------------------------- /tmaps/tmdb/models/internal/pb/pb.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 Google LLC 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // https://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Package pb includes protocol buffer message types. 16 | package pb 17 | 18 | //go:generate protoc --go_out=paths=source_relative:. tmdb_models_internal.proto 19 | --------------------------------------------------------------------------------