├── .github └── workflows │ └── main.yml ├── .gitignore ├── .metadata ├── README.md ├── analysis_options.yaml ├── distribute_options.yaml ├── images ├── app_icon.png ├── error.png ├── folder.png ├── success.png ├── xlog-decoder └── xlog-decoder.exe ├── lib ├── controller │ ├── base_controller.dart │ ├── const_util.dart │ ├── path_provider_util.dart │ ├── sd_bus.dart │ └── xlog_info_controller.dart ├── main.dart ├── model │ └── xlog_info_item_view_model.dart ├── theme.dart └── xlog_page │ ├── xlog_page.dart │ └── xlog_task_cell.dart ├── 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 │ │ │ ├── icon-128.png │ │ │ ├── icon-128@2x.png │ │ │ ├── icon-16.png │ │ │ ├── icon-16@2x.png │ │ │ ├── icon-256.png │ │ │ ├── icon-256@2x.png │ │ │ ├── icon-32.png │ │ │ ├── icon-32@2x.png │ │ │ ├── icon-512.png │ │ │ └── icon-512@2x.png │ │ └── Contents.json │ ├── Base.lproj │ │ └── MainMenu.xib │ ├── Configs │ │ ├── AppInfo.xcconfig │ │ ├── Debug.xcconfig │ │ ├── Release.xcconfig │ │ └── Warnings.xcconfig │ ├── DebugProfile.entitlements │ ├── Info.plist │ ├── MainFlutterWindow.swift │ └── Release.entitlements └── packaging │ └── dmg │ └── make_config.yaml ├── path_provider-2.0.4 ├── AUTHORS ├── CHANGELOG.md ├── LICENSE ├── README.md ├── android │ ├── build.gradle │ ├── settings.gradle │ └── src │ │ ├── main │ │ ├── AndroidManifest.xml │ │ └── java │ │ │ └── io │ │ │ └── flutter │ │ │ └── plugins │ │ │ └── pathprovider │ │ │ ├── PathProviderPlugin.java │ │ │ └── StorageDirectoryMapper.java │ │ └── test │ │ └── java │ │ └── io │ │ └── flutter │ │ └── plugins │ │ └── pathprovider │ │ └── StorageDirectoryMapperTest.java ├── example │ ├── README.md │ ├── android │ │ ├── app │ │ │ ├── build.gradle │ │ │ ├── gradle │ │ │ │ └── wrapper │ │ │ │ │ └── gradle-wrapper.properties │ │ │ └── src │ │ │ │ ├── androidTest │ │ │ │ └── java │ │ │ │ │ └── io │ │ │ │ │ └── flutter │ │ │ │ │ └── plugins │ │ │ │ │ ├── DartIntegrationTest.java │ │ │ │ │ └── pathprovider │ │ │ │ │ └── MainActivityTest.java │ │ │ │ └── main │ │ │ │ ├── AndroidManifest.xml │ │ │ │ ├── java │ │ │ │ └── io │ │ │ │ │ └── flutter │ │ │ │ │ └── plugins │ │ │ │ │ └── GeneratedPluginRegistrant.java │ │ │ │ └── res │ │ │ │ ├── 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 │ │ ├── build.gradle │ │ ├── gradle.properties │ │ ├── gradle │ │ │ └── wrapper │ │ │ │ └── gradle-wrapper.properties │ │ ├── local.properties │ │ └── settings.gradle │ ├── integration_test │ │ └── path_provider_test.dart │ ├── ios │ │ ├── Flutter │ │ │ ├── AppFrameworkInfo.plist │ │ │ ├── Debug.xcconfig │ │ │ ├── Generated.xcconfig │ │ │ ├── Release.xcconfig │ │ │ └── flutter_export_environment.sh │ │ ├── Podfile │ │ ├── Runner.xcodeproj │ │ │ ├── project.pbxproj │ │ │ ├── project.xcworkspace │ │ │ │ └── contents.xcworkspacedata │ │ │ └── xcshareddata │ │ │ │ └── xcschemes │ │ │ │ └── Runner.xcscheme │ │ ├── Runner.xcworkspace │ │ │ ├── contents.xcworkspacedata │ │ │ └── xcshareddata │ │ │ │ └── IDEWorkspaceChecks.plist │ │ ├── Runner │ │ │ ├── AppDelegate.h │ │ │ ├── AppDelegate.m │ │ │ ├── Assets.xcassets │ │ │ │ └── AppIcon.appiconset │ │ │ │ │ ├── Contents.json │ │ │ │ │ ├── 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 │ │ │ ├── Base.lproj │ │ │ │ ├── LaunchScreen.storyboard │ │ │ │ └── Main.storyboard │ │ │ ├── GeneratedPluginRegistrant.h │ │ │ ├── GeneratedPluginRegistrant.m │ │ │ ├── Info.plist │ │ │ └── main.m │ │ └── RunnerTests │ │ │ ├── Info.plist │ │ │ └── PathProviderTests.m │ ├── lib │ │ └── main.dart │ ├── linux │ │ ├── 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 │ │ ├── Flutter │ │ │ ├── Flutter-Debug.xcconfig │ │ │ ├── Flutter-Release.xcconfig │ │ │ ├── GeneratedPluginRegistrant.swift │ │ │ └── ephemeral │ │ │ │ ├── Flutter-Generated.xcconfig │ │ │ │ └── flutter_export_environment.sh │ │ ├── Podfile │ │ ├── Runner.xcodeproj │ │ │ ├── project.pbxproj │ │ │ └── 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_driver │ │ └── integration_test.dart │ └── windows │ │ ├── CMakeLists.txt │ │ ├── flutter │ │ ├── CMakeLists.txt │ │ ├── ephemeral │ │ │ └── .plugin_symlinks │ │ │ │ └── path_provider_windows │ │ ├── generated_plugin_registrant.cc │ │ ├── generated_plugin_registrant.h │ │ └── generated_plugins.cmake │ │ └── runner │ │ ├── CMakeLists.txt │ │ ├── Runner.rc │ │ ├── flutter_window.cpp │ │ ├── flutter_window.h │ │ ├── main.cpp │ │ ├── resource.h │ │ ├── resources │ │ └── app_icon.ico │ │ ├── run_loop.cpp │ │ ├── run_loop.h │ │ ├── runner.exe.manifest │ │ ├── utils.cpp │ │ ├── utils.h │ │ ├── win32_window.cpp │ │ └── win32_window.h ├── ios │ ├── Classes │ │ ├── FLTPathProviderPlugin.h │ │ └── FLTPathProviderPlugin.m │ └── path_provider.podspec ├── lib │ └── path_provider.dart ├── pubspec.lock ├── pubspec.yaml └── test │ └── path_provider_test.dart ├── path_provider_macos-2.0.4 ├── AUTHORS ├── CHANGELOG.md ├── LICENSE ├── README.md ├── example │ ├── README.md │ ├── integration_test │ │ └── path_provider_test.dart │ ├── lib │ │ └── main.dart │ ├── macos │ │ ├── Flutter │ │ │ ├── Flutter-Debug.xcconfig │ │ │ ├── Flutter-Release.xcconfig │ │ │ ├── GeneratedPluginRegistrant.swift │ │ │ └── ephemeral │ │ │ │ ├── Flutter-Generated.xcconfig │ │ │ │ └── flutter_export_environment.sh │ │ ├── Podfile │ │ ├── Runner.xcodeproj │ │ │ ├── project.pbxproj │ │ │ ├── xcshareddata │ │ │ │ └── xcschemes │ │ │ │ │ └── Runner.xcscheme │ │ │ └── xcuserdata │ │ │ │ └── jerryfans.xcuserdatad │ │ │ │ └── xcschemes │ │ │ │ └── xcschememanagement.plist │ │ ├── Runner.xcworkspace │ │ │ ├── contents.xcworkspacedata │ │ │ ├── xcshareddata │ │ │ │ └── IDEWorkspaceChecks.plist │ │ │ └── xcuserdata │ │ │ │ └── jerryfans.xcuserdatad │ │ │ │ └── UserInterfaceState.xcuserstate │ │ ├── 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 │ │ └── RunnerTests │ │ │ ├── Info.plist │ │ │ └── RunnerTests.swift │ ├── pubspec.lock │ ├── pubspec.yaml │ └── test_driver │ │ └── integration_test.dart ├── lib │ └── path_provider_macos.dart ├── macos │ ├── Classes │ │ └── PathProviderPlugin.swift │ └── path_provider_macos.podspec ├── pubspec.lock └── pubspec.yaml ├── pubspec.lock ├── pubspec.yaml ├── scripts └── windows_installer │ ├── app_icon.ico │ └── inno_setup_config.iss ├── test └── widget_test.dart ├── windows ├── .gitignore ├── CMakeLists.txt ├── flutter │ ├── CMakeLists.txt │ ├── generated_plugin_registrant.cc │ ├── generated_plugin_registrant.h │ └── generated_plugins.cmake └── runner │ ├── CMakeLists.txt │ ├── Runner.rc │ ├── flutter_window.cpp │ ├── flutter_window.h │ ├── main.cpp │ ├── resource.h │ ├── resources │ └── app_icon.ico │ ├── runner.exe.manifest │ ├── utils.cpp │ ├── utils.h │ ├── win32_window.cpp │ └── win32_window.h ├── xlog_decoder_preview.png └── xlog_ios_demo ├── Podfile ├── Podfile.lock ├── Pods ├── Manifest.lock ├── Pods.xcodeproj │ ├── project.pbxproj │ └── xcuserdata │ │ ├── admin.xcuserdatad │ │ └── xcschemes │ │ │ ├── Pods-xlog_ios_demo.xcscheme │ │ │ ├── SSZipArchive.xcscheme │ │ │ ├── SVProgressHUD.xcscheme │ │ │ └── xcschememanagement.plist │ │ └── jerryfans.xcuserdatad │ │ └── xcschemes │ │ ├── Pods-xlog_ios_demo.xcscheme │ │ ├── SSZipArchive.xcscheme │ │ ├── SVProgressHUD.xcscheme │ │ └── xcschememanagement.plist ├── SSZipArchive │ ├── LICENSE.txt │ ├── README.md │ └── SSZipArchive │ │ ├── SSZipArchive.h │ │ ├── SSZipArchive.m │ │ ├── SSZipCommon.h │ │ ├── include │ │ └── ZipArchive.h │ │ └── minizip │ │ ├── mz.h │ │ ├── mz_compat.c │ │ ├── mz_compat.h │ │ ├── mz_crypt.c │ │ ├── mz_crypt.h │ │ ├── mz_crypt_apple.c │ │ ├── mz_os.c │ │ ├── mz_os.h │ │ ├── mz_os_posix.c │ │ ├── mz_strm.c │ │ ├── mz_strm.h │ │ ├── mz_strm_buf.c │ │ ├── mz_strm_buf.h │ │ ├── mz_strm_mem.c │ │ ├── mz_strm_mem.h │ │ ├── mz_strm_os.h │ │ ├── mz_strm_os_posix.c │ │ ├── mz_strm_pkcrypt.c │ │ ├── mz_strm_pkcrypt.h │ │ ├── mz_strm_split.c │ │ ├── mz_strm_split.h │ │ ├── mz_strm_wzaes.c │ │ ├── mz_strm_wzaes.h │ │ ├── mz_strm_zlib.c │ │ ├── mz_strm_zlib.h │ │ ├── mz_zip.c │ │ ├── mz_zip.h │ │ ├── mz_zip_rw.c │ │ └── mz_zip_rw.h ├── SVProgressHUD │ ├── LICENSE │ ├── README.md │ └── SVProgressHUD │ │ ├── SVIndefiniteAnimatedView.h │ │ ├── SVIndefiniteAnimatedView.m │ │ ├── SVProgressAnimatedView.h │ │ ├── SVProgressAnimatedView.m │ │ ├── SVProgressHUD.bundle │ │ ├── angle-mask.png │ │ ├── angle-mask@2x.png │ │ ├── angle-mask@3x.png │ │ ├── error.png │ │ ├── error@2x.png │ │ ├── error@3x.png │ │ ├── info.png │ │ ├── info@2x.png │ │ ├── info@3x.png │ │ ├── success.png │ │ ├── success@2x.png │ │ └── success@3x.png │ │ ├── SVProgressHUD.h │ │ ├── SVProgressHUD.m │ │ ├── SVRadialGradientLayer.h │ │ └── SVRadialGradientLayer.m └── Target Support Files │ ├── Pods-xlog_ios_demo │ ├── Pods-xlog_ios_demo-Info.plist │ ├── Pods-xlog_ios_demo-acknowledgements.markdown │ ├── Pods-xlog_ios_demo-acknowledgements.plist │ ├── Pods-xlog_ios_demo-dummy.m │ ├── Pods-xlog_ios_demo-frameworks-Debug-input-files.xcfilelist │ ├── Pods-xlog_ios_demo-frameworks-Debug-output-files.xcfilelist │ ├── Pods-xlog_ios_demo-frameworks-Release-input-files.xcfilelist │ ├── Pods-xlog_ios_demo-frameworks-Release-output-files.xcfilelist │ ├── Pods-xlog_ios_demo-frameworks.sh │ ├── Pods-xlog_ios_demo-umbrella.h │ ├── Pods-xlog_ios_demo.debug.xcconfig │ ├── Pods-xlog_ios_demo.modulemap │ └── Pods-xlog_ios_demo.release.xcconfig │ ├── SSZipArchive │ ├── SSZipArchive-Info.plist │ ├── SSZipArchive-dummy.m │ ├── SSZipArchive-prefix.pch │ ├── SSZipArchive-umbrella.h │ ├── SSZipArchive.debug.xcconfig │ ├── SSZipArchive.modulemap │ └── SSZipArchive.release.xcconfig │ └── SVProgressHUD │ ├── SVProgressHUD-Info.plist │ ├── SVProgressHUD-dummy.m │ ├── SVProgressHUD-prefix.pch │ ├── SVProgressHUD-umbrella.h │ ├── SVProgressHUD.debug.xcconfig │ ├── SVProgressHUD.modulemap │ └── SVProgressHUD.release.xcconfig ├── README.md ├── xlog_ios_demo.xcodeproj ├── project.pbxproj ├── project.xcworkspace │ ├── contents.xcworkspacedata │ ├── xcshareddata │ │ └── IDEWorkspaceChecks.plist │ └── xcuserdata │ │ └── jerryfans.xcuserdatad │ │ └── UserInterfaceState.xcuserstate └── xcuserdata │ ├── admin.xcuserdatad │ └── xcschemes │ │ └── xcschememanagement.plist │ └── jerryfans.xcuserdatad │ └── xcschemes │ └── xcschememanagement.plist ├── xlog_ios_demo.xcworkspace ├── contents.xcworkspacedata ├── xcshareddata │ └── IDEWorkspaceChecks.plist └── xcuserdata │ ├── admin.xcuserdatad │ └── UserInterfaceState.xcuserstate │ └── jerryfans.xcuserdatad │ ├── UserInterfaceState.xcuserstate │ └── xcdebugger │ └── Breakpoints_v2.xcbkptlist └── xlog_ios_demo ├── AppDelegate.h ├── AppDelegate.mm ├── Assets.xcassets ├── AccentColor.colorset │ └── Contents.json ├── AppIcon.appiconset │ └── Contents.json └── Contents.json ├── Base.lproj ├── LaunchScreen.storyboard └── Main.storyboard ├── Info.plist ├── SceneDelegate.h ├── SceneDelegate.m ├── ViewController.h ├── ViewController.m ├── XLogUtil ├── JRXlogManager.h ├── JRXlogManager.mm ├── LogHelper.h ├── LogHelper.mm ├── LogUtil.h └── LogUtil.m ├── library └── mars.framework │ ├── Headers │ ├── comm │ │ ├── ThreadOperationQueue.h │ │ ├── autobuffer.h │ │ ├── comm_data.h │ │ ├── has_member.h │ │ ├── http.h │ │ ├── local_ipstack.h │ │ ├── nat64_prefix_util.h │ │ ├── projdef.h │ │ ├── scope_autoreleasepool.h │ │ ├── string_cast.h │ │ ├── strutil.h │ │ ├── time_utils.h │ │ └── verinfo.h │ └── xlog │ │ ├── appender.h │ │ ├── preprocessor.h │ │ ├── xlogger.h │ │ ├── xlogger_interface.h │ │ └── xloggerbase.h │ └── mars └── main.m /.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 | # Android Studio will place build artifacts here 44 | /android/app/debug 45 | /android/app/profile 46 | /android/app/release 47 | release_app 48 | -------------------------------------------------------------------------------- /.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. 5 | 6 | version: 7 | revision: f1875d570e39de09040c8f79aa13cc56baab8db1 8 | channel: stable 9 | 10 | project_type: app 11 | 12 | # Tracks metadata for the flutter migrate command 13 | migration: 14 | platforms: 15 | - platform: root 16 | create_revision: f1875d570e39de09040c8f79aa13cc56baab8db1 17 | base_revision: f1875d570e39de09040c8f79aa13cc56baab8db1 18 | - platform: windows 19 | create_revision: f1875d570e39de09040c8f79aa13cc56baab8db1 20 | base_revision: f1875d570e39de09040c8f79aa13cc56baab8db1 21 | 22 | # User provided section 23 | 24 | # List of Local paths (relative to this file) that should be 25 | # ignored by the migrate tool. 26 | # 27 | # Files that are not part of the templates will be ignored by default. 28 | unmanaged_files: 29 | - 'lib/main.dart' 30 | - 'ios/Runner.xcodeproj/project.pbxproj' 31 | -------------------------------------------------------------------------------- /analysis_options.yaml: -------------------------------------------------------------------------------- 1 | # This file configures the analyzer, which statically analyzes Dart code to 2 | # check for errors, warnings, and lints. 3 | # 4 | # The issues identified by the analyzer are surfaced in the UI of Dart-enabled 5 | # IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be 6 | # invoked from the command line by running `flutter analyze`. 7 | 8 | # The following line activates a set of recommended lints for Flutter apps, 9 | # packages, and plugins designed to encourage good coding practices. 10 | include: package:flutter_lints/flutter.yaml 11 | 12 | linter: 13 | # The lint rules applied to this project can be customized in the 14 | # section below to disable rules from the `package:flutter_lints/flutter.yaml` 15 | # included above or to enable additional rules. A list of all available lints 16 | # and their documentation is published at 17 | # https://dart-lang.github.io/linter/lints/index.html. 18 | # 19 | # Instead of disabling a lint rule for the entire project in the 20 | # section below, it can also be suppressed for a single line of code 21 | # or a specific dart file by using the `// ignore: name_of_lint` and 22 | # `// ignore_for_file: name_of_lint` syntax on the line or in the file 23 | # producing the lint. 24 | rules: 25 | # avoid_print: false # Uncomment to disable the `avoid_print` rule 26 | # prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule 27 | 28 | # Additional information about this file can be found at 29 | # https://dart.dev/guides/language/analysis-options 30 | -------------------------------------------------------------------------------- /distribute_options.yaml: -------------------------------------------------------------------------------- 1 | # flutter_distributor release --name prod --jobs release-macos-dmg 2 | output: release_app/ 3 | releases: 4 | - name: prod 5 | jobs: 6 | - name: release-macos-dmg 7 | package: 8 | platform: macos 9 | target: dmg 10 | build_args: 11 | dart-define: 12 | APP_ENV: production 13 | publish: 14 | target: github 15 | args: 16 | repo-owner: JerryFans 17 | repo-name: mars_xlog_decoder_gui 18 | - name: release-windows-exe 19 | package: 20 | platform: windows 21 | target: exe 22 | build_args: 23 | dart-define: 24 | APP_ENV: production -------------------------------------------------------------------------------- /images/app_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/images/app_icon.png -------------------------------------------------------------------------------- /images/error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/images/error.png -------------------------------------------------------------------------------- /images/folder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/images/folder.png -------------------------------------------------------------------------------- /images/success.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/images/success.png -------------------------------------------------------------------------------- /images/xlog-decoder: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/images/xlog-decoder -------------------------------------------------------------------------------- /images/xlog-decoder.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/images/xlog-decoder.exe -------------------------------------------------------------------------------- /lib/controller/base_controller.dart: -------------------------------------------------------------------------------- 1 | import 'dart:async'; 2 | 3 | import 'package:get/get_state_manager/src/simple/get_controllers.dart'; 4 | import 'package:mars_xlog_decoder_gui/controller/sd_bus.dart'; 5 | 6 | class BaseController extends GetxController { 7 | 8 | BaseController() { 9 | registerEventBus(); 10 | } 11 | 12 | var _subscriptionList = []; 13 | 14 | void subscriptEvent(void subscription(T event)) { 15 | _subscriptionList.add(SDBus.getInstance().on().listen((event) { 16 | subscription(event); 17 | })); 18 | } 19 | 20 | void unRegisterEventBus() { 21 | _subscriptionList.forEach((element) { 22 | element.cancel(); 23 | }); 24 | _subscriptionList.clear(); 25 | } 26 | 27 | @override 28 | void onClose() { 29 | super.onClose(); 30 | unRegisterEventBus(); 31 | print('BaseController--onClose'); 32 | } 33 | 34 | void registerEventBus() {} 35 | } -------------------------------------------------------------------------------- /lib/controller/const_util.dart: -------------------------------------------------------------------------------- 1 | const String KXlogSavePathKey = "KXlogSavePathKey"; 2 | const String KEnableCryptKey = "KEnableCryptKey"; 3 | const String KCryptPrivateKey = "KCryptPrivateKey"; -------------------------------------------------------------------------------- /lib/controller/path_provider_util.dart: -------------------------------------------------------------------------------- 1 | import 'dart:io'; 2 | import 'package:path_provider_macos/path_provider_macos.dart'; 3 | import 'package:path_provider_platform_interface/path_provider_platform_interface.dart'; 4 | import 'package:path_provider_windows/path_provider_windows.dart'; 5 | 6 | class PathProviderUtil { 7 | static PathProviderPlatform provider() { 8 | if (Platform.isMacOS) { 9 | final PathProviderPlatform provider = PathProviderMacOS(); 10 | return provider; 11 | } else if (Platform.isWindows) { 12 | final PathProviderPlatform provider = PathProviderWindows(); 13 | return provider; 14 | } 15 | return PathProviderPlatform.instance; 16 | } 17 | 18 | static String platformDirectoryLine() { 19 | if (Platform.isWindows) { 20 | return "\\"; 21 | } 22 | return "/"; 23 | } 24 | } -------------------------------------------------------------------------------- /lib/controller/sd_bus.dart: -------------------------------------------------------------------------------- 1 | import 'package:event_bus/event_bus.dart'; 2 | 3 | class MenuClickInfo { 4 | String action; 5 | MenuClickInfo(this.action); 6 | } 7 | 8 | 9 | class SDBus { 10 | static EventBus? _eventBus; 11 | /// 单例模式 12 | static EventBus getInstance() { 13 | // 只能有一个实例 14 | if (_eventBus == null) { 15 | _eventBus = EventBus(); 16 | } 17 | return _eventBus!; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /lib/model/xlog_info_item_view_model.dart: -------------------------------------------------------------------------------- 1 | import 'dart:io'; 2 | import 'package:flutter/material.dart'; 3 | import 'package:mars_xlog_decoder_gui/controller/path_provider_util.dart'; 4 | 5 | extension FileExtention on FileSystemEntity { 6 | String get fileName { 7 | print("my file path is ${this.path}"); 8 | return this.path.split(PathProviderUtil.platformDirectoryLine()).last; 9 | } 10 | } 11 | 12 | enum XlogInfoStatus { 13 | processing, 14 | fail, 15 | success 16 | } 17 | 18 | class XlogInfoItemViewModel { 19 | File file; 20 | String fileName = ""; 21 | String statusInfo = "Processing"; 22 | Color statusColor = Colors.black54; 23 | Color darkStatusColor = Colors.white54; 24 | XlogInfoStatus status = XlogInfoStatus.processing; 25 | File? saveFile; 26 | 27 | void updateStatus(XlogInfoStatus status) { 28 | this.status = status; 29 | print("setting status"); 30 | switch (status) { 31 | case XlogInfoStatus.processing: 32 | statusInfo = "Processing"; 33 | statusColor = Colors.black54; 34 | darkStatusColor = Colors.white54; 35 | break; 36 | case XlogInfoStatus.fail: 37 | statusInfo = "Fail"; 38 | statusColor = Colors.red; 39 | darkStatusColor = statusColor; 40 | break; 41 | case XlogInfoStatus.success: { 42 | statusInfo = "Success"; 43 | statusColor = Colors.greenAccent; 44 | darkStatusColor = statusColor; 45 | } 46 | break; 47 | } 48 | } 49 | 50 | XlogInfoItemViewModel.file(this.file) { 51 | this.fileName = file.fileName; 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /lib/theme.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class AppTheme extends ChangeNotifier { 4 | ThemeMode _mode = ThemeMode.system; 5 | ThemeMode get mode => _mode; 6 | set mode(ThemeMode mode) { 7 | _mode = mode; 8 | notifyListeners(); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /macos/.gitignore: -------------------------------------------------------------------------------- 1 | # Flutter-related 2 | **/Flutter/ephemeral/ 3 | **/Pods/ 4 | 5 | # Xcode-related 6 | **/xcuserdata/ 7 | -------------------------------------------------------------------------------- /macos/Flutter/Flutter-Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig" 2 | #include "ephemeral/Flutter-Generated.xcconfig" 3 | -------------------------------------------------------------------------------- /macos/Flutter/Flutter-Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig" 2 | #include "ephemeral/Flutter-Generated.xcconfig" 3 | -------------------------------------------------------------------------------- /macos/Flutter/GeneratedPluginRegistrant.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Generated file. Do not edit. 3 | // 4 | 5 | import FlutterMacOS 6 | import Foundation 7 | 8 | import desktop_drop 9 | import native_context_menu 10 | import path_provider_macos 11 | import shared_preferences_foundation 12 | import window_manager 13 | 14 | func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { 15 | DesktopDropPlugin.register(with: registry.registrar(forPlugin: "DesktopDropPlugin")) 16 | NativeContextMenuPlugin.register(with: registry.registrar(forPlugin: "NativeContextMenuPlugin")) 17 | PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin")) 18 | SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin")) 19 | WindowManagerPlugin.register(with: registry.registrar(forPlugin: "WindowManagerPlugin")) 20 | } 21 | -------------------------------------------------------------------------------- /macos/Podfile: -------------------------------------------------------------------------------- 1 | platform :osx, '10.14' 2 | 3 | # CocoaPods analytics sends network stats synchronously affecting flutter build latency. 4 | ENV['COCOAPODS_DISABLE_STATS'] = 'true' 5 | 6 | project 'Runner', { 7 | 'Debug' => :debug, 8 | 'Profile' => :release, 9 | 'Release' => :release, 10 | } 11 | 12 | def flutter_root 13 | generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'ephemeral', 'Flutter-Generated.xcconfig'), __FILE__) 14 | unless File.exist?(generated_xcode_build_settings_path) 15 | raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure \"flutter pub get\" is executed first" 16 | end 17 | 18 | File.foreach(generated_xcode_build_settings_path) do |line| 19 | matches = line.match(/FLUTTER_ROOT\=(.*)/) 20 | return matches[1].strip if matches 21 | end 22 | raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Flutter-Generated.xcconfig, then run \"flutter pub get\"" 23 | end 24 | 25 | require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root) 26 | 27 | flutter_macos_podfile_setup 28 | 29 | target 'Runner' do 30 | use_frameworks! 31 | use_modular_headers! 32 | 33 | flutter_install_all_macos_pods File.dirname(File.realpath(__FILE__)) 34 | end 35 | 36 | post_install do |installer| 37 | installer.pods_project.targets.each do |target| 38 | flutter_additional_macos_build_settings(target) 39 | end 40 | end 41 | -------------------------------------------------------------------------------- /macos/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - desktop_drop (0.0.1): 3 | - FlutterMacOS 4 | - FlutterMacOS (1.0.0) 5 | - native_context_menu (0.0.1): 6 | - FlutterMacOS 7 | - path_provider_macos (0.0.1): 8 | - FlutterMacOS 9 | - shared_preferences_foundation (0.0.1): 10 | - Flutter 11 | - FlutterMacOS 12 | - window_manager (0.1.4): 13 | - FlutterMacOS 14 | 15 | DEPENDENCIES: 16 | - desktop_drop (from `Flutter/ephemeral/.symlinks/plugins/desktop_drop/macos`) 17 | - FlutterMacOS (from `Flutter/ephemeral`) 18 | - native_context_menu (from `Flutter/ephemeral/.symlinks/plugins/native_context_menu/macos`) 19 | - path_provider_macos (from `Flutter/ephemeral/.symlinks/plugins/path_provider_macos/macos`) 20 | - shared_preferences_foundation (from `Flutter/ephemeral/.symlinks/plugins/shared_preferences_foundation/macos`) 21 | - window_manager (from `Flutter/ephemeral/.symlinks/plugins/window_manager/macos`) 22 | 23 | EXTERNAL SOURCES: 24 | desktop_drop: 25 | :path: Flutter/ephemeral/.symlinks/plugins/desktop_drop/macos 26 | FlutterMacOS: 27 | :path: Flutter/ephemeral 28 | native_context_menu: 29 | :path: Flutter/ephemeral/.symlinks/plugins/native_context_menu/macos 30 | path_provider_macos: 31 | :path: Flutter/ephemeral/.symlinks/plugins/path_provider_macos/macos 32 | shared_preferences_foundation: 33 | :path: Flutter/ephemeral/.symlinks/plugins/shared_preferences_foundation/macos 34 | window_manager: 35 | :path: Flutter/ephemeral/.symlinks/plugins/window_manager/macos 36 | 37 | SPEC CHECKSUMS: 38 | desktop_drop: 69eeff437544aa619c8db7f4481b3a65f7696898 39 | FlutterMacOS: 8f6f14fa908a6fb3fba0cd85dbd81ec4b251fb24 40 | native_context_menu: 8b710e17c5962cf3f005b805eb97cce668b3839a 41 | path_provider_macos: 160cab0d5461f0c0e02995469a98f24bdb9a3f1f 42 | shared_preferences_foundation: e2dae3258e06f44cc55f49d42024fd8dd03c590c 43 | window_manager: 02776e5a599084cd4576e27a42dd5ec6f49132cf 44 | 45 | PODFILE CHECKSUM: 353c8bcc5d5b0994e508d035b5431cfe18c1dea7 46 | 47 | COCOAPODS: 1.11.3 48 | -------------------------------------------------------------------------------- /macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /macos/Runner.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "icon-16.png", 5 | "idiom" : "mac", 6 | "scale" : "1x", 7 | "size" : "16x16" 8 | }, 9 | { 10 | "filename" : "icon-16@2x.png", 11 | "idiom" : "mac", 12 | "scale" : "2x", 13 | "size" : "16x16" 14 | }, 15 | { 16 | "filename" : "icon-32.png", 17 | "idiom" : "mac", 18 | "scale" : "1x", 19 | "size" : "32x32" 20 | }, 21 | { 22 | "filename" : "icon-32@2x.png", 23 | "idiom" : "mac", 24 | "scale" : "2x", 25 | "size" : "32x32" 26 | }, 27 | { 28 | "filename" : "icon-128.png", 29 | "idiom" : "mac", 30 | "scale" : "1x", 31 | "size" : "128x128" 32 | }, 33 | { 34 | "filename" : "icon-128@2x.png", 35 | "idiom" : "mac", 36 | "scale" : "2x", 37 | "size" : "128x128" 38 | }, 39 | { 40 | "filename" : "icon-256.png", 41 | "idiom" : "mac", 42 | "scale" : "1x", 43 | "size" : "256x256" 44 | }, 45 | { 46 | "filename" : "icon-256@2x.png", 47 | "idiom" : "mac", 48 | "scale" : "2x", 49 | "size" : "256x256" 50 | }, 51 | { 52 | "filename" : "icon-512.png", 53 | "idiom" : "mac", 54 | "scale" : "1x", 55 | "size" : "512x512" 56 | }, 57 | { 58 | "filename" : "icon-512@2x.png", 59 | "idiom" : "mac", 60 | "scale" : "2x", 61 | "size" : "512x512" 62 | } 63 | ], 64 | "info" : { 65 | "author" : "xcode", 66 | "version" : 1 67 | } 68 | } 69 | -------------------------------------------------------------------------------- /macos/Runner/Assets.xcassets/AppIcon.appiconset/icon-128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/macos/Runner/Assets.xcassets/AppIcon.appiconset/icon-128.png -------------------------------------------------------------------------------- /macos/Runner/Assets.xcassets/AppIcon.appiconset/icon-128@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/macos/Runner/Assets.xcassets/AppIcon.appiconset/icon-128@2x.png -------------------------------------------------------------------------------- /macos/Runner/Assets.xcassets/AppIcon.appiconset/icon-16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/macos/Runner/Assets.xcassets/AppIcon.appiconset/icon-16.png -------------------------------------------------------------------------------- /macos/Runner/Assets.xcassets/AppIcon.appiconset/icon-16@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/macos/Runner/Assets.xcassets/AppIcon.appiconset/icon-16@2x.png -------------------------------------------------------------------------------- /macos/Runner/Assets.xcassets/AppIcon.appiconset/icon-256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/macos/Runner/Assets.xcassets/AppIcon.appiconset/icon-256.png -------------------------------------------------------------------------------- /macos/Runner/Assets.xcassets/AppIcon.appiconset/icon-256@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/macos/Runner/Assets.xcassets/AppIcon.appiconset/icon-256@2x.png -------------------------------------------------------------------------------- /macos/Runner/Assets.xcassets/AppIcon.appiconset/icon-32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/macos/Runner/Assets.xcassets/AppIcon.appiconset/icon-32.png -------------------------------------------------------------------------------- /macos/Runner/Assets.xcassets/AppIcon.appiconset/icon-32@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/macos/Runner/Assets.xcassets/AppIcon.appiconset/icon-32@2x.png -------------------------------------------------------------------------------- /macos/Runner/Assets.xcassets/AppIcon.appiconset/icon-512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/macos/Runner/Assets.xcassets/AppIcon.appiconset/icon-512.png -------------------------------------------------------------------------------- /macos/Runner/Assets.xcassets/AppIcon.appiconset/icon-512@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/macos/Runner/Assets.xcassets/AppIcon.appiconset/icon-512@2x.png -------------------------------------------------------------------------------- /macos/Runner/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "author" : "xcode", 4 | "version" : 1 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /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 = XlogDecoder 9 | 10 | // The application's bundle identifier 11 | PRODUCT_BUNDLE_IDENTIFIER = com.jerryfans.xlogDecoder 12 | 13 | // The copyright displayed in application information 14 | PRODUCT_COPYRIGHT = Copyright © 2022 com.jerryfans. All rights reserved. 15 | -------------------------------------------------------------------------------- /macos/Runner/Configs/Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include "../../Flutter/Flutter-Debug.xcconfig" 2 | #include "Warnings.xcconfig" 3 | -------------------------------------------------------------------------------- /macos/Runner/Configs/Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include "../../Flutter/Flutter-Release.xcconfig" 2 | #include "Warnings.xcconfig" 3 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /macos/Runner/DebugProfile.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | com.apple.security.app-sandbox 6 | 7 | com.apple.security.cs.allow-dyld-environment-variables 8 | 9 | com.apple.security.cs.allow-jit 10 | 11 | com.apple.security.cs.allow-unsigned-executable-memory 12 | 13 | com.apple.security.cs.disable-executable-page-protection 14 | 15 | com.apple.security.cs.disable-library-validation 16 | 17 | com.apple.security.network.server 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /macos/Runner/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIconFile 10 | 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | $(PRODUCT_NAME) 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | $(FLUTTER_BUILD_NAME) 21 | CFBundleVersion 22 | $(FLUTTER_BUILD_NUMBER) 23 | LSMinimumSystemVersion 24 | $(MACOSX_DEPLOYMENT_TARGET) 25 | NSHumanReadableCopyright 26 | $(PRODUCT_COPYRIGHT) 27 | NSMainNibFile 28 | MainMenu 29 | NSPrincipalClass 30 | NSApplication 31 | 32 | 33 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /macos/Runner/Release.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | com.apple.security.app-sandbox 6 | 7 | com.apple.security.cs.allow-dyld-environment-variables 8 | 9 | com.apple.security.cs.allow-jit 10 | 11 | com.apple.security.cs.allow-unsigned-executable-memory 12 | 13 | com.apple.security.cs.disable-executable-page-protection 14 | 15 | com.apple.security.cs.disable-library-validation 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /macos/packaging/dmg/make_config.yaml: -------------------------------------------------------------------------------- 1 | title: Xlog Decoder 2 | contents: 3 | - x: 448 4 | y: 344 5 | type: link 6 | path: "/Applications" 7 | - x: 192 8 | y: 344 9 | type: file 10 | path: XlogDecoder.app 11 | -------------------------------------------------------------------------------- /path_provider-2.0.4/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright 2013 The Flutter Authors. All rights reserved. 2 | 3 | Redistribution and use in source and binary forms, with or without modification, 4 | are permitted provided that the following conditions are met: 5 | 6 | * Redistributions of source code must retain the above copyright 7 | notice, this list of conditions and the following disclaimer. 8 | * Redistributions in binary form must reproduce the above 9 | copyright notice, this list of conditions and the following 10 | disclaimer in the documentation and/or other materials provided 11 | with the distribution. 12 | * Neither the name of Google Inc. nor the names of its 13 | contributors may be used to endorse or promote products derived 14 | from this software without specific prior written permission. 15 | 16 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 17 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 18 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 19 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR 20 | ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 21 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 22 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON 23 | ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 24 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 25 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 | -------------------------------------------------------------------------------- /path_provider-2.0.4/README.md: -------------------------------------------------------------------------------- 1 | # path_provider 2 | 3 | [![pub package](https://img.shields.io/pub/v/path_provider.svg)](https://pub.dev/packages/path_provider) 4 | 5 | A Flutter plugin for finding commonly used locations on the filesystem. Supports Android, iOS, Linux, macOS and Windows. 6 | Not all methods are supported on all platforms. 7 | 8 | ## Usage 9 | 10 | To use this plugin, add `path_provider` as a [dependency in your pubspec.yaml file](https://flutter.dev/docs/development/platform-integration/platform-channels). 11 | 12 | ### Example 13 | 14 | ``` dart 15 | Directory tempDir = await getTemporaryDirectory(); 16 | String tempPath = tempDir.path; 17 | 18 | Directory appDocDir = await getApplicationDocumentsDirectory(); 19 | String appDocPath = appDocDir.path; 20 | ``` 21 | 22 | Please see the example app of this plugin for a full example. 23 | 24 | ### Usage in tests 25 | 26 | `path_provider` now uses a `PlatformInterface`, meaning that not all platforms share the a single `PlatformChannel`-based implementation. 27 | With that change, tests should be updated to mock `PathProviderPlatform` rather than `PlatformChannel`. 28 | 29 | See this `path_provider` [test](https://github.com/flutter/plugins/blob/master/packages/path_provider/path_provider/test/path_provider_test.dart) for an example. 30 | -------------------------------------------------------------------------------- /path_provider-2.0.4/android/build.gradle: -------------------------------------------------------------------------------- 1 | group 'io.flutter.plugins.pathprovider' 2 | version '1.0-SNAPSHOT' 3 | 4 | buildscript { 5 | repositories { 6 | google() 7 | mavenCentral() 8 | } 9 | 10 | dependencies { 11 | classpath 'com.android.tools.build:gradle:3.3.0' 12 | } 13 | } 14 | 15 | rootProject.allprojects { 16 | repositories { 17 | google() 18 | mavenCentral() 19 | } 20 | } 21 | 22 | apply plugin: 'com.android.library' 23 | 24 | android { 25 | compileSdkVersion 29 26 | 27 | defaultConfig { 28 | minSdkVersion 16 29 | testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" 30 | } 31 | lintOptions { 32 | disable 'InvalidPackage' 33 | disable 'GradleDependency' 34 | } 35 | compileOptions { 36 | sourceCompatibility JavaVersion.VERSION_1_8 37 | targetCompatibility JavaVersion.VERSION_1_8 38 | } 39 | 40 | 41 | testOptions { 42 | unitTests.includeAndroidResources = true 43 | unitTests.returnDefaultValues = true 44 | unitTests.all { 45 | testLogging { 46 | events "passed", "skipped", "failed", "standardOut", "standardError" 47 | outputs.upToDateWhen {false} 48 | showStandardStreams = true 49 | } 50 | } 51 | } 52 | } 53 | 54 | dependencies { 55 | implementation 'androidx.annotation:annotation:1.1.0' 56 | implementation 'com.google.guava:guava:28.1-android' 57 | testImplementation 'junit:junit:4.12' 58 | } 59 | -------------------------------------------------------------------------------- /path_provider-2.0.4/android/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'path_provider' 2 | -------------------------------------------------------------------------------- /path_provider-2.0.4/android/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | -------------------------------------------------------------------------------- /path_provider-2.0.4/android/src/main/java/io/flutter/plugins/pathprovider/StorageDirectoryMapper.java: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Flutter Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. 4 | 5 | package io.flutter.plugins.pathprovider; 6 | 7 | import android.os.Build.VERSION; 8 | import android.os.Build.VERSION_CODES; 9 | import android.os.Environment; 10 | 11 | /** Helps to map the Dart `StorageDirectory` enum to a Android system constant. */ 12 | class StorageDirectoryMapper { 13 | /** 14 | * Return a Android Environment constant for a Dart Index. 15 | * 16 | * @return The correct Android Environment constant or null, if the index is null. 17 | * @throws IllegalArgumentException If `dartIndex` is not null but also not matches any known 18 | * index. 19 | */ 20 | static String androidType(Integer dartIndex) throws IllegalArgumentException { 21 | if (dartIndex == null) { 22 | return null; 23 | } 24 | 25 | switch (dartIndex) { 26 | case 0: 27 | return Environment.DIRECTORY_MUSIC; 28 | case 1: 29 | return Environment.DIRECTORY_PODCASTS; 30 | case 2: 31 | return Environment.DIRECTORY_RINGTONES; 32 | case 3: 33 | return Environment.DIRECTORY_ALARMS; 34 | case 4: 35 | return Environment.DIRECTORY_NOTIFICATIONS; 36 | case 5: 37 | return Environment.DIRECTORY_PICTURES; 38 | case 6: 39 | return Environment.DIRECTORY_MOVIES; 40 | case 7: 41 | return Environment.DIRECTORY_DOWNLOADS; 42 | case 8: 43 | return Environment.DIRECTORY_DCIM; 44 | case 9: 45 | if (VERSION.SDK_INT >= VERSION_CODES.KITKAT) { 46 | return Environment.DIRECTORY_DOCUMENTS; 47 | } else { 48 | throw new IllegalArgumentException("Documents directory is unsupported."); 49 | } 50 | default: 51 | throw new IllegalArgumentException("Unknown index: " + dartIndex); 52 | } 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /path_provider-2.0.4/android/src/test/java/io/flutter/plugins/pathprovider/StorageDirectoryMapperTest.java: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Flutter Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. 4 | 5 | package io.flutter.plugins.pathprovider; 6 | 7 | import static org.junit.Assert.assertEquals; 8 | import static org.junit.Assert.assertNull; 9 | import static org.junit.Assert.fail; 10 | 11 | import android.os.Environment; 12 | import org.junit.Test; 13 | 14 | public class StorageDirectoryMapperTest { 15 | @org.junit.Test 16 | public void testAndroidType_null() { 17 | assertNull(StorageDirectoryMapper.androidType(null)); 18 | } 19 | 20 | @org.junit.Test 21 | public void testAndroidType_valid() { 22 | assertEquals(Environment.DIRECTORY_MUSIC, StorageDirectoryMapper.androidType(0)); 23 | assertEquals(Environment.DIRECTORY_PODCASTS, StorageDirectoryMapper.androidType(1)); 24 | assertEquals(Environment.DIRECTORY_RINGTONES, StorageDirectoryMapper.androidType(2)); 25 | assertEquals(Environment.DIRECTORY_ALARMS, StorageDirectoryMapper.androidType(3)); 26 | assertEquals(Environment.DIRECTORY_NOTIFICATIONS, StorageDirectoryMapper.androidType(4)); 27 | assertEquals(Environment.DIRECTORY_PICTURES, StorageDirectoryMapper.androidType(5)); 28 | assertEquals(Environment.DIRECTORY_MOVIES, StorageDirectoryMapper.androidType(6)); 29 | assertEquals(Environment.DIRECTORY_DOWNLOADS, StorageDirectoryMapper.androidType(7)); 30 | assertEquals(Environment.DIRECTORY_DCIM, StorageDirectoryMapper.androidType(8)); 31 | } 32 | 33 | @Test 34 | public void testAndroidType_invalid() { 35 | try { 36 | assertEquals(Environment.DIRECTORY_DCIM, StorageDirectoryMapper.androidType(10)); 37 | fail(); 38 | } catch (IllegalArgumentException e) { 39 | assertEquals("Unknown index: " + 10, e.getMessage()); 40 | } 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /path_provider-2.0.4/example/README.md: -------------------------------------------------------------------------------- 1 | # path_provider_example 2 | 3 | Demonstrates how to use the path_provider plugin. 4 | 5 | ## Getting Started 6 | 7 | For help getting started with Flutter, view our online 8 | [documentation](https://flutter.dev/). 9 | -------------------------------------------------------------------------------- /path_provider-2.0.4/example/android/app/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /path_provider-2.0.4/example/android/app/src/androidTest/java/io/flutter/plugins/DartIntegrationTest.java: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Flutter Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. 4 | 5 | package io.flutter.plugins; 6 | 7 | import java.lang.annotation.ElementType; 8 | import java.lang.annotation.Retention; 9 | import java.lang.annotation.RetentionPolicy; 10 | import java.lang.annotation.Target; 11 | 12 | @Retention(RetentionPolicy.RUNTIME) 13 | @Target(ElementType.TYPE) 14 | public @interface DartIntegrationTest {} 15 | -------------------------------------------------------------------------------- /path_provider-2.0.4/example/android/app/src/androidTest/java/io/flutter/plugins/pathprovider/MainActivityTest.java: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Flutter Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. 4 | 5 | package io.flutter.plugins.pathprovider; 6 | 7 | import androidx.test.rule.ActivityTestRule; 8 | import dev.flutter.plugins.integration_test.FlutterTestRunner; 9 | import io.flutter.embedding.android.FlutterActivity; 10 | import io.flutter.plugins.DartIntegrationTest; 11 | import org.junit.Rule; 12 | import org.junit.runner.RunWith; 13 | 14 | @DartIntegrationTest 15 | @RunWith(FlutterTestRunner.class) 16 | public class MainActivityTest { 17 | @Rule 18 | public ActivityTestRule rule = new ActivityTestRule<>(FlutterActivity.class); 19 | } 20 | -------------------------------------------------------------------------------- /path_provider-2.0.4/example/android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /path_provider-2.0.4/example/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java: -------------------------------------------------------------------------------- 1 | package io.flutter.plugins; 2 | 3 | import androidx.annotation.Keep; 4 | import androidx.annotation.NonNull; 5 | import io.flutter.Log; 6 | 7 | import io.flutter.embedding.engine.FlutterEngine; 8 | 9 | /** 10 | * Generated file. Do not edit. 11 | * This file is generated by the Flutter tool based on the 12 | * plugins that support the Android platform. 13 | */ 14 | @Keep 15 | public final class GeneratedPluginRegistrant { 16 | private static final String TAG = "GeneratedPluginRegistrant"; 17 | public static void registerWith(@NonNull FlutterEngine flutterEngine) { 18 | try { 19 | flutterEngine.getPlugins().add(new dev.flutter.plugins.integration_test.IntegrationTestPlugin()); 20 | } catch(Exception e) { 21 | Log.e(TAG, "Error registering plugin integration_test, dev.flutter.plugins.integration_test.IntegrationTestPlugin", e); 22 | } 23 | try { 24 | flutterEngine.getPlugins().add(new io.flutter.plugins.pathprovider.PathProviderPlugin()); 25 | } catch(Exception e) { 26 | Log.e(TAG, "Error registering plugin path_provider, io.flutter.plugins.pathprovider.PathProviderPlugin", e); 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /path_provider-2.0.4/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/path_provider-2.0.4/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /path_provider-2.0.4/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/path_provider-2.0.4/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /path_provider-2.0.4/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/path_provider-2.0.4/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /path_provider-2.0.4/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/path_provider-2.0.4/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /path_provider-2.0.4/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/path_provider-2.0.4/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /path_provider-2.0.4/example/android/build.gradle: -------------------------------------------------------------------------------- 1 | buildscript { 2 | repositories { 3 | google() 4 | mavenCentral() 5 | } 6 | 7 | dependencies { 8 | classpath 'com.android.tools.build:gradle:3.3.0' 9 | } 10 | } 11 | 12 | allprojects { 13 | repositories { 14 | google() 15 | mavenCentral() 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 | -------------------------------------------------------------------------------- /path_provider-2.0.4/example/android/gradle.properties: -------------------------------------------------------------------------------- 1 | org.gradle.jvmargs=-Xmx1536M 2 | android.enableR8=true 3 | android.useAndroidX=true 4 | android.enableJetifier=true 5 | -------------------------------------------------------------------------------- /path_provider-2.0.4/example/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.1.1-all.zip 6 | -------------------------------------------------------------------------------- /path_provider-2.0.4/example/android/local.properties: -------------------------------------------------------------------------------- 1 | sdk.dir=/Users/jerryfans/Library/Android/sdk 2 | flutter.sdk=/Users/admin/Library/Developer/flutter -------------------------------------------------------------------------------- /path_provider-2.0.4/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.withInputStream { stream -> plugins.load(stream) } 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 | } -------------------------------------------------------------------------------- /path_provider-2.0.4/example/ios/Flutter/AppFrameworkInfo.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 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 | UIRequiredDeviceCapabilities 24 | 25 | arm64 26 | 27 | MinimumOSVersion 28 | 8.0 29 | 30 | 31 | -------------------------------------------------------------------------------- /path_provider-2.0.4/example/ios/Flutter/Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Generated.xcconfig" 2 | #include "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig" 3 | -------------------------------------------------------------------------------- /path_provider-2.0.4/example/ios/Flutter/Generated.xcconfig: -------------------------------------------------------------------------------- 1 | // This is a generated file; do not edit or check into version control. 2 | FLUTTER_ROOT=/Users/jerryfans/Library/Developer/flutter-2.10.1 3 | FLUTTER_APPLICATION_PATH=/Users/jerryfans/OpenSource/mars_xlog_decoder_gui/path_provider-2.0.4/example 4 | COCOAPODS_PARALLEL_CODE_SIGN=true 5 | FLUTTER_TARGET=lib/main.dart 6 | FLUTTER_BUILD_DIR=build 7 | FLUTTER_BUILD_NAME=1.0.0 8 | FLUTTER_BUILD_NUMBER=1 9 | EXCLUDED_ARCHS[sdk=iphonesimulator*]=i386 10 | DART_OBFUSCATION=false 11 | TRACK_WIDGET_CREATION=false 12 | TREE_SHAKE_ICONS=false 13 | PACKAGE_CONFIG=.packages 14 | -------------------------------------------------------------------------------- /path_provider-2.0.4/example/ios/Flutter/Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Generated.xcconfig" 2 | #include "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig" 3 | -------------------------------------------------------------------------------- /path_provider-2.0.4/example/ios/Flutter/flutter_export_environment.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # This is a generated file; do not edit or check into version control. 3 | export "FLUTTER_ROOT=/Users/jerryfans/Library/Developer/flutter-2.10.1" 4 | export "FLUTTER_APPLICATION_PATH=/Users/jerryfans/OpenSource/mars_xlog_decoder_gui/path_provider-2.0.4/example" 5 | export "COCOAPODS_PARALLEL_CODE_SIGN=true" 6 | export "FLUTTER_TARGET=lib/main.dart" 7 | export "FLUTTER_BUILD_DIR=build" 8 | export "FLUTTER_BUILD_NAME=1.0.0" 9 | export "FLUTTER_BUILD_NUMBER=1" 10 | export "DART_OBFUSCATION=false" 11 | export "TRACK_WIDGET_CREATION=false" 12 | export "TREE_SHAKE_ICONS=false" 13 | export "PACKAGE_CONFIG=.packages" 14 | -------------------------------------------------------------------------------- /path_provider-2.0.4/example/ios/Podfile: -------------------------------------------------------------------------------- 1 | # Uncomment this line to define a global platform for your project 2 | # platform :ios, '9.0' 3 | 4 | # CocoaPods analytics sends network stats synchronously affecting flutter build latency. 5 | ENV['COCOAPODS_DISABLE_STATS'] = 'true' 6 | 7 | project 'Runner', { 8 | 'Debug' => :debug, 9 | 'Profile' => :release, 10 | 'Release' => :release, 11 | } 12 | 13 | def flutter_root 14 | generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__) 15 | unless File.exist?(generated_xcode_build_settings_path) 16 | raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first" 17 | end 18 | 19 | File.foreach(generated_xcode_build_settings_path) do |line| 20 | matches = line.match(/FLUTTER_ROOT\=(.*)/) 21 | return matches[1].strip if matches 22 | end 23 | raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get" 24 | end 25 | 26 | require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root) 27 | 28 | flutter_ios_podfile_setup 29 | 30 | target 'Runner' do 31 | flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__)) 32 | target 'RunnerTests' do 33 | inherit! :search_paths 34 | end 35 | end 36 | 37 | post_install do |installer| 38 | installer.pods_project.targets.each do |target| 39 | flutter_additional_ios_build_settings(target) 40 | end 41 | end 42 | -------------------------------------------------------------------------------- /path_provider-2.0.4/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /path_provider-2.0.4/example/ios/Runner.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /path_provider-2.0.4/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /path_provider-2.0.4/example/ios/Runner/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Flutter Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. 4 | 5 | #import 6 | #import 7 | 8 | @interface AppDelegate : FlutterAppDelegate 9 | 10 | @end 11 | -------------------------------------------------------------------------------- /path_provider-2.0.4/example/ios/Runner/AppDelegate.m: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Flutter Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. 4 | 5 | #include "AppDelegate.h" 6 | #include "GeneratedPluginRegistrant.h" 7 | 8 | @implementation AppDelegate 9 | 10 | - (BOOL)application:(UIApplication *)application 11 | didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { 12 | [GeneratedPluginRegistrant registerWithRegistry:self]; 13 | return [super application:application didFinishLaunchingWithOptions:launchOptions]; 14 | } 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /path_provider-2.0.4/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/path_provider-2.0.4/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png -------------------------------------------------------------------------------- /path_provider-2.0.4/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/path_provider-2.0.4/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png -------------------------------------------------------------------------------- /path_provider-2.0.4/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/path_provider-2.0.4/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png -------------------------------------------------------------------------------- /path_provider-2.0.4/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/path_provider-2.0.4/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png -------------------------------------------------------------------------------- /path_provider-2.0.4/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/path_provider-2.0.4/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png -------------------------------------------------------------------------------- /path_provider-2.0.4/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/path_provider-2.0.4/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png -------------------------------------------------------------------------------- /path_provider-2.0.4/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/path_provider-2.0.4/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png -------------------------------------------------------------------------------- /path_provider-2.0.4/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/path_provider-2.0.4/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png -------------------------------------------------------------------------------- /path_provider-2.0.4/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/path_provider-2.0.4/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png -------------------------------------------------------------------------------- /path_provider-2.0.4/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/path_provider-2.0.4/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png -------------------------------------------------------------------------------- /path_provider-2.0.4/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/path_provider-2.0.4/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png -------------------------------------------------------------------------------- /path_provider-2.0.4/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/path_provider-2.0.4/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png -------------------------------------------------------------------------------- /path_provider-2.0.4/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/path_provider-2.0.4/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png -------------------------------------------------------------------------------- /path_provider-2.0.4/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/path_provider-2.0.4/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png -------------------------------------------------------------------------------- /path_provider-2.0.4/example/ios/Runner/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /path_provider-2.0.4/example/ios/Runner/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /path_provider-2.0.4/example/ios/Runner/GeneratedPluginRegistrant.h: -------------------------------------------------------------------------------- 1 | // 2 | // Generated file. Do not edit. 3 | // 4 | 5 | // clang-format off 6 | 7 | #ifndef GeneratedPluginRegistrant_h 8 | #define GeneratedPluginRegistrant_h 9 | 10 | #import 11 | 12 | NS_ASSUME_NONNULL_BEGIN 13 | 14 | @interface GeneratedPluginRegistrant : NSObject 15 | + (void)registerWithRegistry:(NSObject*)registry; 16 | @end 17 | 18 | NS_ASSUME_NONNULL_END 19 | #endif /* GeneratedPluginRegistrant_h */ 20 | -------------------------------------------------------------------------------- /path_provider-2.0.4/example/ios/Runner/GeneratedPluginRegistrant.m: -------------------------------------------------------------------------------- 1 | // 2 | // Generated file. Do not edit. 3 | // 4 | 5 | // clang-format off 6 | 7 | #import "GeneratedPluginRegistrant.h" 8 | 9 | #if __has_include() 10 | #import 11 | #else 12 | @import integration_test; 13 | #endif 14 | 15 | #if __has_include() 16 | #import 17 | #else 18 | @import path_provider; 19 | #endif 20 | 21 | @implementation GeneratedPluginRegistrant 22 | 23 | + (void)registerWithRegistry:(NSObject*)registry { 24 | [IntegrationTestPlugin registerWithRegistrar:[registry registrarForPlugin:@"IntegrationTestPlugin"]]; 25 | [FLTPathProviderPlugin registerWithRegistrar:[registry registrarForPlugin:@"FLTPathProviderPlugin"]]; 26 | } 27 | 28 | @end 29 | -------------------------------------------------------------------------------- /path_provider-2.0.4/example/ios/Runner/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | path_provider_example 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIMainStoryboardFile 28 | Main 29 | UIRequiredDeviceCapabilities 30 | 31 | arm64 32 | 33 | UISupportedInterfaceOrientations 34 | 35 | UIInterfaceOrientationPortrait 36 | UIInterfaceOrientationLandscapeLeft 37 | UIInterfaceOrientationLandscapeRight 38 | 39 | UISupportedInterfaceOrientations~ipad 40 | 41 | UIInterfaceOrientationPortrait 42 | UIInterfaceOrientationPortraitUpsideDown 43 | UIInterfaceOrientationLandscapeLeft 44 | UIInterfaceOrientationLandscapeRight 45 | 46 | UIViewControllerBasedStatusBarAppearance 47 | 48 | 49 | 50 | -------------------------------------------------------------------------------- /path_provider-2.0.4/example/ios/Runner/main.m: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Flutter Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. 4 | 5 | #import 6 | #import 7 | #import "AppDelegate.h" 8 | 9 | int main(int argc, char* argv[]) { 10 | @autoreleasepool { 11 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /path_provider-2.0.4/example/ios/RunnerTests/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 | -------------------------------------------------------------------------------- /path_provider-2.0.4/example/ios/RunnerTests/PathProviderTests.m: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Flutter Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. 4 | 5 | @import path_provider; 6 | @import XCTest; 7 | 8 | @interface PathProviderTests : XCTestCase 9 | @end 10 | 11 | @implementation PathProviderTests 12 | 13 | - (void)testPlugin { 14 | FLTPathProviderPlugin* plugin = [[FLTPathProviderPlugin alloc] init]; 15 | XCTAssertNotNil(plugin); 16 | } 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /path_provider-2.0.4/example/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 | 10 | void fl_register_plugins(FlPluginRegistry* registry) { 11 | } 12 | -------------------------------------------------------------------------------- /path_provider-2.0.4/example/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 | -------------------------------------------------------------------------------- /path_provider-2.0.4/example/linux/flutter/generated_plugins.cmake: -------------------------------------------------------------------------------- 1 | # 2 | # Generated file, do not edit. 3 | # 4 | 5 | list(APPEND FLUTTER_PLUGIN_LIST 6 | ) 7 | 8 | set(PLUGIN_BUNDLED_LIBRARIES) 9 | 10 | foreach(plugin ${FLUTTER_PLUGIN_LIST}) 11 | add_subdirectory(flutter/ephemeral/.plugin_symlinks/${plugin}/linux plugins/${plugin}) 12 | target_link_libraries(${BINARY_NAME} PRIVATE ${plugin}_plugin) 13 | list(APPEND PLUGIN_BUNDLED_LIBRARIES $) 14 | list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries}) 15 | endforeach(plugin) 16 | -------------------------------------------------------------------------------- /path_provider-2.0.4/example/linux/main.cc: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Flutter Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. 4 | 5 | #include "my_application.h" 6 | 7 | int main(int argc, char** argv) { 8 | // Only X11 is currently supported. 9 | // Wayland support is being developed: 10 | // https://github.com/flutter/flutter/issues/57932. 11 | gdk_set_allowed_backends("x11"); 12 | 13 | g_autoptr(MyApplication) app = my_application_new(); 14 | return g_application_run(G_APPLICATION(app), argc, argv); 15 | } 16 | -------------------------------------------------------------------------------- /path_provider-2.0.4/example/linux/my_application.cc: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Flutter Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. 4 | 5 | #include "my_application.h" 6 | 7 | #include 8 | 9 | #include "flutter/generated_plugin_registrant.h" 10 | 11 | struct _MyApplication { 12 | GtkApplication parent_instance; 13 | }; 14 | 15 | G_DEFINE_TYPE(MyApplication, my_application, GTK_TYPE_APPLICATION) 16 | 17 | // Implements GApplication::activate. 18 | static void my_application_activate(GApplication* application) { 19 | GtkWindow* window = 20 | GTK_WINDOW(gtk_application_window_new(GTK_APPLICATION(application))); 21 | GtkHeaderBar* header_bar = GTK_HEADER_BAR(gtk_header_bar_new()); 22 | gtk_widget_show(GTK_WIDGET(header_bar)); 23 | gtk_header_bar_set_title(header_bar, "example"); 24 | gtk_header_bar_set_show_close_button(header_bar, TRUE); 25 | gtk_window_set_titlebar(window, GTK_WIDGET(header_bar)); 26 | gtk_window_set_default_size(window, 1280, 720); 27 | gtk_widget_show(GTK_WIDGET(window)); 28 | 29 | g_autoptr(FlDartProject) project = fl_dart_project_new(); 30 | 31 | FlView* view = fl_view_new(project); 32 | gtk_widget_show(GTK_WIDGET(view)); 33 | gtk_container_add(GTK_CONTAINER(window), GTK_WIDGET(view)); 34 | 35 | fl_register_plugins(FL_PLUGIN_REGISTRY(view)); 36 | 37 | gtk_widget_grab_focus(GTK_WIDGET(view)); 38 | } 39 | 40 | static void my_application_class_init(MyApplicationClass* klass) { 41 | G_APPLICATION_CLASS(klass)->activate = my_application_activate; 42 | } 43 | 44 | static void my_application_init(MyApplication* self) {} 45 | 46 | MyApplication* my_application_new() { 47 | return MY_APPLICATION(g_object_new( 48 | my_application_get_type(), "application-id", APPLICATION_ID, nullptr)); 49 | } 50 | -------------------------------------------------------------------------------- /path_provider-2.0.4/example/linux/my_application.h: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Flutter Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. 4 | 5 | #ifndef FLUTTER_MY_APPLICATION_H_ 6 | #define FLUTTER_MY_APPLICATION_H_ 7 | 8 | #include 9 | 10 | G_DECLARE_FINAL_TYPE(MyApplication, my_application, MY, APPLICATION, 11 | GtkApplication) 12 | 13 | /** 14 | * my_application_new: 15 | * 16 | * Creates a new Flutter-based application. 17 | * 18 | * Returns: a new #MyApplication. 19 | */ 20 | MyApplication* my_application_new(); 21 | 22 | #endif // FLUTTER_MY_APPLICATION_H_ 23 | -------------------------------------------------------------------------------- /path_provider-2.0.4/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 | -------------------------------------------------------------------------------- /path_provider-2.0.4/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 | -------------------------------------------------------------------------------- /path_provider-2.0.4/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 | 10 | func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { 11 | PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin")) 12 | } 13 | -------------------------------------------------------------------------------- /path_provider-2.0.4/example/macos/Flutter/ephemeral/Flutter-Generated.xcconfig: -------------------------------------------------------------------------------- 1 | // This is a generated file; do not edit or check into version control. 2 | FLUTTER_ROOT=/Users/jerryfans/Library/Developer/flutter-2.10.1 3 | FLUTTER_APPLICATION_PATH=/Users/jerryfans/OpenSource/mars_xlog_decoder_gui/path_provider-2.0.4/example 4 | COCOAPODS_PARALLEL_CODE_SIGN=true 5 | FLUTTER_BUILD_DIR=build 6 | FLUTTER_BUILD_NAME=1.0.0 7 | FLUTTER_BUILD_NUMBER=1 8 | EXCLUDED_ARCHS=arm64 9 | DART_OBFUSCATION=false 10 | TRACK_WIDGET_CREATION=false 11 | TREE_SHAKE_ICONS=false 12 | PACKAGE_CONFIG=.packages 13 | -------------------------------------------------------------------------------- /path_provider-2.0.4/example/macos/Flutter/ephemeral/flutter_export_environment.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # This is a generated file; do not edit or check into version control. 3 | export "FLUTTER_ROOT=/Users/jerryfans/Library/Developer/flutter-2.10.1" 4 | export "FLUTTER_APPLICATION_PATH=/Users/jerryfans/OpenSource/mars_xlog_decoder_gui/path_provider-2.0.4/example" 5 | export "COCOAPODS_PARALLEL_CODE_SIGN=true" 6 | export "FLUTTER_BUILD_DIR=build" 7 | export "FLUTTER_BUILD_NAME=1.0.0" 8 | export "FLUTTER_BUILD_NUMBER=1" 9 | export "EXCLUDED_ARCHS=arm64" 10 | export "DART_OBFUSCATION=false" 11 | export "TRACK_WIDGET_CREATION=false" 12 | export "TREE_SHAKE_ICONS=false" 13 | export "PACKAGE_CONFIG=.packages" 14 | -------------------------------------------------------------------------------- /path_provider-2.0.4/example/macos/Podfile: -------------------------------------------------------------------------------- 1 | platform :osx, '10.11' 2 | 3 | # CocoaPods analytics sends network stats synchronously affecting flutter build latency. 4 | ENV['COCOAPODS_DISABLE_STATS'] = 'true' 5 | 6 | project 'Runner', { 7 | 'Debug' => :debug, 8 | 'Profile' => :release, 9 | 'Release' => :release, 10 | } 11 | 12 | def flutter_root 13 | generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'ephemeral', 'Flutter-Generated.xcconfig'), __FILE__) 14 | unless File.exist?(generated_xcode_build_settings_path) 15 | raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure \"flutter pub get\" is executed first" 16 | end 17 | 18 | File.foreach(generated_xcode_build_settings_path) do |line| 19 | matches = line.match(/FLUTTER_ROOT\=(.*)/) 20 | return matches[1].strip if matches 21 | end 22 | raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Flutter-Generated.xcconfig, then run \"flutter pub get\"" 23 | end 24 | 25 | require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root) 26 | 27 | flutter_macos_podfile_setup 28 | 29 | target 'Runner' do 30 | use_frameworks! 31 | use_modular_headers! 32 | 33 | flutter_install_all_macos_pods File.dirname(File.realpath(__FILE__)) 34 | end 35 | 36 | post_install do |installer| 37 | installer.pods_project.targets.each do |target| 38 | flutter_additional_macos_build_settings(target) 39 | end 40 | end 41 | -------------------------------------------------------------------------------- /path_provider-2.0.4/example/macos/Runner.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /path_provider-2.0.4/example/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /path_provider-2.0.4/example/macos/Runner/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Flutter Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. 4 | 5 | import Cocoa 6 | import FlutterMacOS 7 | 8 | @NSApplicationMain 9 | class AppDelegate: FlutterAppDelegate { 10 | override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool { 11 | return true 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /path_provider-2.0.4/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "size" : "16x16", 5 | "idiom" : "mac", 6 | "filename" : "app_icon_16.png", 7 | "scale" : "1x" 8 | }, 9 | { 10 | "size" : "16x16", 11 | "idiom" : "mac", 12 | "filename" : "app_icon_32.png", 13 | "scale" : "2x" 14 | }, 15 | { 16 | "size" : "32x32", 17 | "idiom" : "mac", 18 | "filename" : "app_icon_32.png", 19 | "scale" : "1x" 20 | }, 21 | { 22 | "size" : "32x32", 23 | "idiom" : "mac", 24 | "filename" : "app_icon_64.png", 25 | "scale" : "2x" 26 | }, 27 | { 28 | "size" : "128x128", 29 | "idiom" : "mac", 30 | "filename" : "app_icon_128.png", 31 | "scale" : "1x" 32 | }, 33 | { 34 | "size" : "128x128", 35 | "idiom" : "mac", 36 | "filename" : "app_icon_256.png", 37 | "scale" : "2x" 38 | }, 39 | { 40 | "size" : "256x256", 41 | "idiom" : "mac", 42 | "filename" : "app_icon_256.png", 43 | "scale" : "1x" 44 | }, 45 | { 46 | "size" : "256x256", 47 | "idiom" : "mac", 48 | "filename" : "app_icon_512.png", 49 | "scale" : "2x" 50 | }, 51 | { 52 | "size" : "512x512", 53 | "idiom" : "mac", 54 | "filename" : "app_icon_512.png", 55 | "scale" : "1x" 56 | }, 57 | { 58 | "size" : "512x512", 59 | "idiom" : "mac", 60 | "filename" : "app_icon_1024.png", 61 | "scale" : "2x" 62 | } 63 | ], 64 | "info" : { 65 | "version" : 1, 66 | "author" : "xcode" 67 | } 68 | } 69 | -------------------------------------------------------------------------------- /path_provider-2.0.4/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/path_provider-2.0.4/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png -------------------------------------------------------------------------------- /path_provider-2.0.4/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/path_provider-2.0.4/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png -------------------------------------------------------------------------------- /path_provider-2.0.4/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/path_provider-2.0.4/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png -------------------------------------------------------------------------------- /path_provider-2.0.4/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/path_provider-2.0.4/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png -------------------------------------------------------------------------------- /path_provider-2.0.4/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/path_provider-2.0.4/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png -------------------------------------------------------------------------------- /path_provider-2.0.4/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/path_provider-2.0.4/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png -------------------------------------------------------------------------------- /path_provider-2.0.4/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/path_provider-2.0.4/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png -------------------------------------------------------------------------------- /path_provider-2.0.4/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 = path_provider_example 9 | 10 | // The application's bundle identifier 11 | PRODUCT_BUNDLE_IDENTIFIER = dev.flutter.plugins.pathProviderExample 12 | 13 | // The copyright displayed in application information 14 | PRODUCT_COPYRIGHT = Copyright © 2019 The Flutter Authors. All rights reserved. 15 | -------------------------------------------------------------------------------- /path_provider-2.0.4/example/macos/Runner/Configs/Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include "../../Flutter/Flutter-Debug.xcconfig" 2 | #include "Warnings.xcconfig" 3 | -------------------------------------------------------------------------------- /path_provider-2.0.4/example/macos/Runner/Configs/Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include "../../Flutter/Flutter-Release.xcconfig" 2 | #include "Warnings.xcconfig" 3 | -------------------------------------------------------------------------------- /path_provider-2.0.4/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 | -------------------------------------------------------------------------------- /path_provider-2.0.4/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 | -------------------------------------------------------------------------------- /path_provider-2.0.4/example/macos/Runner/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIconFile 10 | 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | $(PRODUCT_NAME) 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | $(FLUTTER_BUILD_NAME) 21 | CFBundleVersion 22 | $(FLUTTER_BUILD_NUMBER) 23 | LSMinimumSystemVersion 24 | $(MACOSX_DEPLOYMENT_TARGET) 25 | NSHumanReadableCopyright 26 | $(PRODUCT_COPYRIGHT) 27 | NSMainNibFile 28 | MainMenu 29 | NSPrincipalClass 30 | NSApplication 31 | 32 | 33 | -------------------------------------------------------------------------------- /path_provider-2.0.4/example/macos/Runner/MainFlutterWindow.swift: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Flutter Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. 4 | 5 | import Cocoa 6 | import FlutterMacOS 7 | 8 | class MainFlutterWindow: NSWindow { 9 | override func awakeFromNib() { 10 | let flutterViewController = FlutterViewController.init() 11 | let windowFrame = self.frame 12 | self.contentViewController = flutterViewController 13 | self.setFrame(windowFrame, display: true) 14 | 15 | RegisterGeneratedPlugins(registry: flutterViewController) 16 | 17 | super.awakeFromNib() 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /path_provider-2.0.4/example/macos/Runner/Release.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | com.apple.security.app-sandbox 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /path_provider-2.0.4/example/pubspec.yaml: -------------------------------------------------------------------------------- 1 | name: path_provider_example 2 | description: Demonstrates how to use the path_provider plugin. 3 | publish_to: none 4 | 5 | environment: 6 | sdk: ">=2.12.0 <3.0.0" 7 | flutter: ">=1.12.13+hotfix.5" 8 | 9 | dependencies: 10 | flutter: 11 | sdk: flutter 12 | path_provider: 13 | # When depending on this package from a real application you should use: 14 | # path_provider: ^x.y.z 15 | # See https://dart.dev/tools/pub/dependencies#version-constraints 16 | # The example app is bundled with the plugin so we use a path dependency on 17 | # the parent directory to use the current plugin's version. 18 | path: ../ 19 | 20 | dev_dependencies: 21 | flutter_driver: 22 | sdk: flutter 23 | integration_test: 24 | sdk: flutter 25 | pedantic: ^1.10.0 26 | 27 | flutter: 28 | uses-material-design: true 29 | -------------------------------------------------------------------------------- /path_provider-2.0.4/example/test_driver/integration_test.dart: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Flutter Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. 4 | 5 | import 'package:integration_test/integration_test_driver.dart'; 6 | 7 | Future main() => integrationDriver(); 8 | -------------------------------------------------------------------------------- /path_provider-2.0.4/example/windows/flutter/ephemeral/.plugin_symlinks/path_provider_windows: -------------------------------------------------------------------------------- 1 | /Users/admin/Library/Developer/flutter/.pub-cache/hosted/pub.flutter-io.cn/path_provider_windows-2.0.5/ -------------------------------------------------------------------------------- /path_provider-2.0.4/example/windows/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 | 10 | void RegisterPlugins(flutter::PluginRegistry* registry) { 11 | } 12 | -------------------------------------------------------------------------------- /path_provider-2.0.4/example/windows/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 RegisterPlugins(flutter::PluginRegistry* registry); 14 | 15 | #endif // GENERATED_PLUGIN_REGISTRANT_ 16 | -------------------------------------------------------------------------------- /path_provider-2.0.4/example/windows/flutter/generated_plugins.cmake: -------------------------------------------------------------------------------- 1 | # 2 | # Generated file, do not edit. 3 | # 4 | 5 | list(APPEND FLUTTER_PLUGIN_LIST 6 | ) 7 | 8 | set(PLUGIN_BUNDLED_LIBRARIES) 9 | 10 | foreach(plugin ${FLUTTER_PLUGIN_LIST}) 11 | add_subdirectory(flutter/ephemeral/.plugin_symlinks/${plugin}/windows plugins/${plugin}) 12 | target_link_libraries(${BINARY_NAME} PRIVATE ${plugin}_plugin) 13 | list(APPEND PLUGIN_BUNDLED_LIBRARIES $) 14 | list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries}) 15 | endforeach(plugin) 16 | -------------------------------------------------------------------------------- /path_provider-2.0.4/example/windows/runner/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.15) 2 | project(runner LANGUAGES CXX) 3 | 4 | add_executable(${BINARY_NAME} WIN32 5 | "flutter_window.cpp" 6 | "main.cpp" 7 | "run_loop.cpp" 8 | "utils.cpp" 9 | "win32_window.cpp" 10 | "${FLUTTER_MANAGED_DIR}/generated_plugin_registrant.cc" 11 | "Runner.rc" 12 | "runner.exe.manifest" 13 | ) 14 | apply_standard_settings(${BINARY_NAME}) 15 | target_compile_definitions(${BINARY_NAME} PRIVATE "NOMINMAX") 16 | target_link_libraries(${BINARY_NAME} PRIVATE flutter flutter_wrapper_app) 17 | target_include_directories(${BINARY_NAME} PRIVATE "${CMAKE_SOURCE_DIR}") 18 | add_dependencies(${BINARY_NAME} flutter_assemble) 19 | -------------------------------------------------------------------------------- /path_provider-2.0.4/example/windows/runner/flutter_window.h: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Flutter Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. 4 | 5 | #ifndef RUNNER_FLUTTER_WINDOW_H_ 6 | #define RUNNER_FLUTTER_WINDOW_H_ 7 | 8 | #include 9 | #include 10 | 11 | #include 12 | 13 | #include "run_loop.h" 14 | #include "win32_window.h" 15 | 16 | // A window that does nothing but host a Flutter view. 17 | class FlutterWindow : public Win32Window { 18 | public: 19 | // Creates a new FlutterWindow driven by the |run_loop|, hosting a 20 | // Flutter view running |project|. 21 | explicit FlutterWindow(RunLoop* run_loop, 22 | const flutter::DartProject& project); 23 | virtual ~FlutterWindow(); 24 | 25 | protected: 26 | // Win32Window: 27 | bool OnCreate() override; 28 | void OnDestroy() override; 29 | LRESULT MessageHandler(HWND window, UINT const message, WPARAM const wparam, 30 | LPARAM const lparam) noexcept override; 31 | 32 | private: 33 | // The run loop driving events for this window. 34 | RunLoop* run_loop_; 35 | 36 | // The project to run. 37 | flutter::DartProject project_; 38 | 39 | // The Flutter instance hosted by this window. 40 | std::unique_ptr flutter_controller_; 41 | }; 42 | 43 | #endif // RUNNER_FLUTTER_WINDOW_H_ 44 | -------------------------------------------------------------------------------- /path_provider-2.0.4/example/windows/runner/main.cpp: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Flutter Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. 4 | 5 | #include 6 | #include 7 | #include 8 | 9 | #include "flutter_window.h" 10 | #include "run_loop.h" 11 | #include "utils.h" 12 | 13 | int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev, 14 | _In_ wchar_t *command_line, _In_ int show_command) { 15 | // Attach to console when present (e.g., 'flutter run') or create a 16 | // new console when running with a debugger. 17 | if (!::AttachConsole(ATTACH_PARENT_PROCESS) && ::IsDebuggerPresent()) { 18 | CreateAndAttachConsole(); 19 | } 20 | 21 | // Initialize COM, so that it is available for use in the library and/or 22 | // plugins. 23 | ::CoInitializeEx(nullptr, COINIT_APARTMENTTHREADED); 24 | 25 | RunLoop run_loop; 26 | 27 | flutter::DartProject project(L"data"); 28 | FlutterWindow window(&run_loop, project); 29 | Win32Window::Point origin(10, 10); 30 | Win32Window::Size size(1280, 720); 31 | if (!window.CreateAndShow(L"example", origin, size)) { 32 | return EXIT_FAILURE; 33 | } 34 | window.SetQuitOnClose(true); 35 | 36 | run_loop.Run(); 37 | 38 | ::CoUninitialize(); 39 | return EXIT_SUCCESS; 40 | } 41 | -------------------------------------------------------------------------------- /path_provider-2.0.4/example/windows/runner/resource.h: -------------------------------------------------------------------------------- 1 | //{{NO_DEPENDENCIES}} 2 | // Microsoft Visual C++ generated include file. 3 | // Used by Runner.rc 4 | // 5 | #define IDI_APP_ICON 101 6 | 7 | // Next default values for new objects 8 | // 9 | #ifdef APSTUDIO_INVOKED 10 | #ifndef APSTUDIO_READONLY_SYMBOLS 11 | #define _APS_NEXT_RESOURCE_VALUE 102 12 | #define _APS_NEXT_COMMAND_VALUE 40001 13 | #define _APS_NEXT_CONTROL_VALUE 1001 14 | #define _APS_NEXT_SYMED_VALUE 101 15 | #endif 16 | #endif 17 | -------------------------------------------------------------------------------- /path_provider-2.0.4/example/windows/runner/resources/app_icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/path_provider-2.0.4/example/windows/runner/resources/app_icon.ico -------------------------------------------------------------------------------- /path_provider-2.0.4/example/windows/runner/run_loop.h: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Flutter Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. 4 | 5 | #ifndef RUNNER_RUN_LOOP_H_ 6 | #define RUNNER_RUN_LOOP_H_ 7 | 8 | #include 9 | 10 | #include 11 | #include 12 | 13 | // A runloop that will service events for Flutter instances as well 14 | // as native messages. 15 | class RunLoop { 16 | public: 17 | RunLoop(); 18 | ~RunLoop(); 19 | 20 | // Prevent copying 21 | RunLoop(RunLoop const&) = delete; 22 | RunLoop& operator=(RunLoop const&) = delete; 23 | 24 | // Runs the run loop until the application quits. 25 | void Run(); 26 | 27 | // Registers the given Flutter instance for event servicing. 28 | void RegisterFlutterInstance(flutter::FlutterEngine* flutter_instance); 29 | 30 | // Unregisters the given Flutter instance from event servicing. 31 | void UnregisterFlutterInstance(flutter::FlutterEngine* flutter_instance); 32 | 33 | private: 34 | using TimePoint = std::chrono::steady_clock::time_point; 35 | 36 | // Processes all currently pending messages for registered Flutter instances. 37 | TimePoint ProcessFlutterMessages(); 38 | 39 | std::set flutter_instances_; 40 | }; 41 | 42 | #endif // RUNNER_RUN_LOOP_H_ 43 | -------------------------------------------------------------------------------- /path_provider-2.0.4/example/windows/runner/runner.exe.manifest: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PerMonitorV2 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /path_provider-2.0.4/example/windows/runner/utils.cpp: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Flutter Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. 4 | 5 | #include "utils.h" 6 | 7 | #include 8 | #include 9 | #include 10 | #include 11 | 12 | #include 13 | 14 | void CreateAndAttachConsole() { 15 | if (::AllocConsole()) { 16 | FILE *unused; 17 | if (freopen_s(&unused, "CONOUT$", "w", stdout)) { 18 | _dup2(_fileno(stdout), 1); 19 | } 20 | if (freopen_s(&unused, "CONOUT$", "w", stderr)) { 21 | _dup2(_fileno(stdout), 2); 22 | } 23 | std::ios::sync_with_stdio(); 24 | FlutterDesktopResyncOutputStreams(); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /path_provider-2.0.4/example/windows/runner/utils.h: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Flutter Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. 4 | 5 | #ifndef RUNNER_UTILS_H_ 6 | #define RUNNER_UTILS_H_ 7 | 8 | // Creates a console for the process, and redirects stdout and stderr to 9 | // it for both the runner and the Flutter library. 10 | void CreateAndAttachConsole(); 11 | 12 | #endif // RUNNER_UTILS_H_ 13 | -------------------------------------------------------------------------------- /path_provider-2.0.4/ios/Classes/FLTPathProviderPlugin.h: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Flutter Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. 4 | 5 | #import 6 | 7 | @interface FLTPathProviderPlugin : NSObject 8 | @end 9 | -------------------------------------------------------------------------------- /path_provider-2.0.4/ios/path_provider.podspec: -------------------------------------------------------------------------------- 1 | # 2 | # To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html 3 | # 4 | Pod::Spec.new do |s| 5 | s.name = 'path_provider' 6 | s.version = '0.0.1' 7 | s.summary = 'Flutter Path Provider' 8 | s.description = <<-DESC 9 | A Flutter plugin for getting commonly used locations on the filesystem. 10 | Downloaded by pub (not CocoaPods). 11 | DESC 12 | s.homepage = 'https://github.com/flutter/plugins' 13 | s.license = { :type => 'BSD', :file => '../LICENSE' } 14 | s.author = { 'Flutter Dev Team' => 'flutter-dev@googlegroups.com' } 15 | s.source = { :http => 'https://github.com/flutter/plugins/tree/master/packages/path_provider/path_provider' } 16 | s.documentation_url = 'https://pub.dev/packages/path_provider' 17 | s.source_files = 'Classes/**/*' 18 | s.public_header_files = 'Classes/**/*.h' 19 | s.dependency 'Flutter' 20 | s.platform = :ios, '8.0' 21 | s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'VALID_ARCHS[sdk=iphonesimulator*]' => 'x86_64' } 22 | end 23 | 24 | -------------------------------------------------------------------------------- /path_provider-2.0.4/pubspec.yaml: -------------------------------------------------------------------------------- 1 | name: path_provider 2 | description: Flutter plugin for getting commonly used locations on host platform file systems, such as the temp and app data directories. 3 | repository: https://github.com/flutter/plugins/tree/master/packages/path_provider/path_provider 4 | issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+path_provider%22 5 | version: 2.0.4 6 | publish_to: none 7 | 8 | environment: 9 | sdk: ">=2.12.0 <3.0.0" 10 | flutter: ">=2.0.0" 11 | 12 | flutter: 13 | plugin: 14 | platforms: 15 | android: 16 | package: io.flutter.plugins.pathprovider 17 | pluginClass: PathProviderPlugin 18 | ios: 19 | pluginClass: FLTPathProviderPlugin 20 | macos: 21 | default_package: path_provider_macos 22 | linux: 23 | default_package: path_provider_linux 24 | windows: 25 | default_package: path_provider_windows 26 | 27 | dependencies: 28 | flutter: 29 | sdk: flutter 30 | path_provider_linux: ^2.0.0 31 | # path_provider_macos: ^2.0.0 32 | path_provider_macos: 33 | path: ../path_provider_macos-2.0.4 34 | path_provider_platform_interface: ^2.0.0 35 | path_provider_windows: ^2.0.0 36 | 37 | dev_dependencies: 38 | flutter_driver: 39 | sdk: flutter 40 | flutter_test: 41 | sdk: flutter 42 | integration_test: 43 | sdk: flutter 44 | pedantic: ^1.10.0 45 | plugin_platform_interface: ^2.0.0 46 | test: ^1.16.0 47 | -------------------------------------------------------------------------------- /path_provider_macos-2.0.4/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | ## 2.0.4 2 | 3 | * Switches to a package-internal implementation of the platform interface. 4 | 5 | ## 2.0.3 6 | 7 | * Fixes link in README. 8 | 9 | ## 2.0.2 10 | 11 | * Add Swift language version to podspec. 12 | * Add native unit tests. 13 | * Updated installation instructions in README. 14 | 15 | ## 2.0.1 16 | 17 | * Add `implements` to pubspec.yaml. 18 | 19 | ## 2.0.0 20 | 21 | * Update Dart SDK constraint for null safety compatibility. 22 | 23 | ## 0.0.4+9 24 | 25 | * Remove placeholder Dart file. 26 | 27 | ## 0.0.4+8 28 | 29 | * Update the example app: remove the deprecated `RaisedButton` and `FlatButton` widgets. 30 | 31 | ## 0.0.4+7 32 | 33 | * Update Flutter SDK constraint. 34 | 35 | ## 0.0.4+6 36 | 37 | * Remove unused `test` dependency. 38 | * Update Dart SDK constraint in example. 39 | 40 | ## 0.0.4+5 41 | 42 | * Update license header. 43 | 44 | ## 0.0.4+4 45 | 46 | * Remove no-op android folder in the example app. 47 | 48 | ## 0.0.4+3 49 | 50 | * Remove Android folder from `path_provider_macos`. 51 | 52 | ## 0.0.4+2 53 | 54 | * Declare API stability and compatibility with `1.0.0` (more details at: https://github.com/flutter/flutter/wiki/Package-migration-to-1.0.0). 55 | 56 | ## 0.0.4+1 57 | 58 | * Fix CocoaPods podspec lint warnings. 59 | 60 | ## 0.0.4 61 | 62 | * Adds an example app to run integration tests. 63 | 64 | ## 0.0.3+1 65 | 66 | * Make the pedantic `dev_dependency` explicit. 67 | 68 | ## 0.0.3 69 | 70 | * Added support for user's downloads directory. 71 | 72 | ## 0.0.2+1 73 | 74 | * Update README. 75 | 76 | ## 0.0.1 77 | 78 | * Initial open source release. 79 | -------------------------------------------------------------------------------- /path_provider_macos-2.0.4/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright 2013 The Flutter Authors. All rights reserved. 2 | 3 | Redistribution and use in source and binary forms, with or without modification, 4 | are permitted provided that the following conditions are met: 5 | 6 | * Redistributions of source code must retain the above copyright 7 | notice, this list of conditions and the following disclaimer. 8 | * Redistributions in binary form must reproduce the above 9 | copyright notice, this list of conditions and the following 10 | disclaimer in the documentation and/or other materials provided 11 | with the distribution. 12 | * Neither the name of Google Inc. nor the names of its 13 | contributors may be used to endorse or promote products derived 14 | from this software without specific prior written permission. 15 | 16 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 17 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 18 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 19 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR 20 | ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 21 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 22 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON 23 | ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 24 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 25 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 | -------------------------------------------------------------------------------- /path_provider_macos-2.0.4/README.md: -------------------------------------------------------------------------------- 1 | # path\_provider\_macos 2 | 3 | The macos implementation of [`path_provider`][1]. 4 | 5 | ## Usage 6 | 7 | This package is [endorsed][2], which means you can simply use `path_provider` 8 | normally. This package will be automatically included in your app when you do. 9 | 10 | [1]: https://pub.dev/packages/path_provider 11 | [2]: https://flutter.dev/docs/development/packages-and-plugins/developing-packages#endorsed-federated-plugin 12 | -------------------------------------------------------------------------------- /path_provider_macos-2.0.4/example/README.md: -------------------------------------------------------------------------------- 1 | # path_provider_macos_example 2 | 3 | Demonstrates how to use the path_provider_macos plugin. 4 | 5 | ## Getting Started 6 | 7 | For help getting started with Flutter, view our online 8 | [documentation](https://flutter.dev/). 9 | -------------------------------------------------------------------------------- /path_provider_macos-2.0.4/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 | -------------------------------------------------------------------------------- /path_provider_macos-2.0.4/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 | -------------------------------------------------------------------------------- /path_provider_macos-2.0.4/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 | 10 | func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { 11 | PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin")) 12 | } 13 | -------------------------------------------------------------------------------- /path_provider_macos-2.0.4/example/macos/Flutter/ephemeral/Flutter-Generated.xcconfig: -------------------------------------------------------------------------------- 1 | // This is a generated file; do not edit or check into version control. 2 | FLUTTER_ROOT=/Users/jerryfans/Library/Developer/flutter-2.10.1 3 | FLUTTER_APPLICATION_PATH=/Users/jerryfans/OpenSource/mars_xlog_decoder_gui/path_provider_macos-2.0.4/example 4 | COCOAPODS_PARALLEL_CODE_SIGN=true 5 | FLUTTER_BUILD_DIR=build 6 | FLUTTER_BUILD_NAME=1.0.0 7 | FLUTTER_BUILD_NUMBER=1 8 | EXCLUDED_ARCHS=arm64 9 | DART_OBFUSCATION=false 10 | TRACK_WIDGET_CREATION=false 11 | TREE_SHAKE_ICONS=false 12 | PACKAGE_CONFIG=.packages 13 | -------------------------------------------------------------------------------- /path_provider_macos-2.0.4/example/macos/Flutter/ephemeral/flutter_export_environment.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # This is a generated file; do not edit or check into version control. 3 | export "FLUTTER_ROOT=/Users/jerryfans/Library/Developer/flutter-2.10.1" 4 | export "FLUTTER_APPLICATION_PATH=/Users/jerryfans/OpenSource/mars_xlog_decoder_gui/path_provider_macos-2.0.4/example" 5 | export "COCOAPODS_PARALLEL_CODE_SIGN=true" 6 | export "FLUTTER_BUILD_DIR=build" 7 | export "FLUTTER_BUILD_NAME=1.0.0" 8 | export "FLUTTER_BUILD_NUMBER=1" 9 | export "EXCLUDED_ARCHS=arm64" 10 | export "DART_OBFUSCATION=false" 11 | export "TRACK_WIDGET_CREATION=false" 12 | export "TREE_SHAKE_ICONS=false" 13 | export "PACKAGE_CONFIG=.packages" 14 | -------------------------------------------------------------------------------- /path_provider_macos-2.0.4/example/macos/Podfile: -------------------------------------------------------------------------------- 1 | platform :osx, '10.11' 2 | 3 | # CocoaPods analytics sends network stats synchronously affecting flutter build latency. 4 | ENV['COCOAPODS_DISABLE_STATS'] = 'true' 5 | 6 | project 'Runner', { 7 | 'Debug' => :debug, 8 | 'Profile' => :release, 9 | 'Release' => :release, 10 | } 11 | 12 | def flutter_root 13 | generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'ephemeral', 'Flutter-Generated.xcconfig'), __FILE__) 14 | unless File.exist?(generated_xcode_build_settings_path) 15 | raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure \"flutter pub get\" is executed first" 16 | end 17 | 18 | File.foreach(generated_xcode_build_settings_path) do |line| 19 | matches = line.match(/FLUTTER_ROOT\=(.*)/) 20 | return matches[1].strip if matches 21 | end 22 | raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Flutter-Generated.xcconfig, then run \"flutter pub get\"" 23 | end 24 | 25 | require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root) 26 | 27 | flutter_macos_podfile_setup 28 | 29 | target 'Runner' do 30 | use_frameworks! 31 | use_modular_headers! 32 | 33 | flutter_install_all_macos_pods File.dirname(File.realpath(__FILE__)) 34 | 35 | target 'RunnerTests' do 36 | inherit! :search_paths 37 | end 38 | end 39 | 40 | post_install do |installer| 41 | installer.pods_project.targets.each do |target| 42 | flutter_additional_macos_build_settings(target) 43 | end 44 | end 45 | -------------------------------------------------------------------------------- /path_provider_macos-2.0.4/example/macos/Runner.xcodeproj/xcuserdata/jerryfans.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | Flutter Assemble.xcscheme_^#shared#^_ 8 | 9 | orderHint 10 | 1 11 | 12 | Runner.xcscheme_^#shared#^_ 13 | 14 | orderHint 15 | 0 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /path_provider_macos-2.0.4/example/macos/Runner.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /path_provider_macos-2.0.4/example/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /path_provider_macos-2.0.4/example/macos/Runner.xcworkspace/xcuserdata/jerryfans.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/path_provider_macos-2.0.4/example/macos/Runner.xcworkspace/xcuserdata/jerryfans.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /path_provider_macos-2.0.4/example/macos/Runner/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Flutter Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. 4 | 5 | import Cocoa 6 | import FlutterMacOS 7 | 8 | @NSApplicationMain 9 | class AppDelegate: FlutterAppDelegate { 10 | override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool { 11 | return true 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /path_provider_macos-2.0.4/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "size" : "16x16", 5 | "idiom" : "mac", 6 | "filename" : "app_icon_16.png", 7 | "scale" : "1x" 8 | }, 9 | { 10 | "size" : "16x16", 11 | "idiom" : "mac", 12 | "filename" : "app_icon_32.png", 13 | "scale" : "2x" 14 | }, 15 | { 16 | "size" : "32x32", 17 | "idiom" : "mac", 18 | "filename" : "app_icon_32.png", 19 | "scale" : "1x" 20 | }, 21 | { 22 | "size" : "32x32", 23 | "idiom" : "mac", 24 | "filename" : "app_icon_64.png", 25 | "scale" : "2x" 26 | }, 27 | { 28 | "size" : "128x128", 29 | "idiom" : "mac", 30 | "filename" : "app_icon_128.png", 31 | "scale" : "1x" 32 | }, 33 | { 34 | "size" : "128x128", 35 | "idiom" : "mac", 36 | "filename" : "app_icon_256.png", 37 | "scale" : "2x" 38 | }, 39 | { 40 | "size" : "256x256", 41 | "idiom" : "mac", 42 | "filename" : "app_icon_256.png", 43 | "scale" : "1x" 44 | }, 45 | { 46 | "size" : "256x256", 47 | "idiom" : "mac", 48 | "filename" : "app_icon_512.png", 49 | "scale" : "2x" 50 | }, 51 | { 52 | "size" : "512x512", 53 | "idiom" : "mac", 54 | "filename" : "app_icon_512.png", 55 | "scale" : "1x" 56 | }, 57 | { 58 | "size" : "512x512", 59 | "idiom" : "mac", 60 | "filename" : "app_icon_1024.png", 61 | "scale" : "2x" 62 | } 63 | ], 64 | "info" : { 65 | "version" : 1, 66 | "author" : "xcode" 67 | } 68 | } 69 | -------------------------------------------------------------------------------- /path_provider_macos-2.0.4/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/path_provider_macos-2.0.4/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png -------------------------------------------------------------------------------- /path_provider_macos-2.0.4/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/path_provider_macos-2.0.4/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png -------------------------------------------------------------------------------- /path_provider_macos-2.0.4/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/path_provider_macos-2.0.4/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png -------------------------------------------------------------------------------- /path_provider_macos-2.0.4/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/path_provider_macos-2.0.4/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png -------------------------------------------------------------------------------- /path_provider_macos-2.0.4/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/path_provider_macos-2.0.4/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png -------------------------------------------------------------------------------- /path_provider_macos-2.0.4/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/path_provider_macos-2.0.4/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png -------------------------------------------------------------------------------- /path_provider_macos-2.0.4/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/path_provider_macos-2.0.4/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png -------------------------------------------------------------------------------- /path_provider_macos-2.0.4/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 = path_provider_example 9 | 10 | // The application's bundle identifier 11 | PRODUCT_BUNDLE_IDENTIFIER = dev.flutter.plugins.pathProviderExample 12 | 13 | // The copyright displayed in application information 14 | PRODUCT_COPYRIGHT = Copyright © 2019 The Flutter Authors. All rights reserved. 15 | -------------------------------------------------------------------------------- /path_provider_macos-2.0.4/example/macos/Runner/Configs/Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include "../../Flutter/Flutter-Debug.xcconfig" 2 | #include "Warnings.xcconfig" 3 | -------------------------------------------------------------------------------- /path_provider_macos-2.0.4/example/macos/Runner/Configs/Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include "../../Flutter/Flutter-Release.xcconfig" 2 | #include "Warnings.xcconfig" 3 | -------------------------------------------------------------------------------- /path_provider_macos-2.0.4/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 | -------------------------------------------------------------------------------- /path_provider_macos-2.0.4/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 | com.apple.security.files.downloads.read-write 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /path_provider_macos-2.0.4/example/macos/Runner/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIconFile 10 | 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | $(PRODUCT_NAME) 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | $(FLUTTER_BUILD_NAME) 21 | CFBundleVersion 22 | $(FLUTTER_BUILD_NUMBER) 23 | LSMinimumSystemVersion 24 | $(MACOSX_DEPLOYMENT_TARGET) 25 | NSHumanReadableCopyright 26 | $(PRODUCT_COPYRIGHT) 27 | NSMainNibFile 28 | MainMenu 29 | NSPrincipalClass 30 | NSApplication 31 | 32 | 33 | -------------------------------------------------------------------------------- /path_provider_macos-2.0.4/example/macos/Runner/MainFlutterWindow.swift: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Flutter Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. 4 | 5 | import Cocoa 6 | import FlutterMacOS 7 | 8 | class MainFlutterWindow: NSWindow { 9 | override func awakeFromNib() { 10 | let flutterViewController = FlutterViewController.init() 11 | let windowFrame = self.frame 12 | self.contentViewController = flutterViewController 13 | self.setFrame(windowFrame, display: true) 14 | 15 | RegisterGeneratedPlugins(registry: flutterViewController) 16 | 17 | super.awakeFromNib() 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /path_provider_macos-2.0.4/example/macos/Runner/Release.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | com.apple.security.app-sandbox 6 | 7 | com.apple.security.files.downloads.read-write 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /path_provider_macos-2.0.4/example/macos/RunnerTests/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 | -------------------------------------------------------------------------------- /path_provider_macos-2.0.4/example/pubspec.yaml: -------------------------------------------------------------------------------- 1 | name: path_provider_example 2 | description: Demonstrates how to use the path_provider plugin. 3 | publish_to: none 4 | 5 | environment: 6 | sdk: ">=2.12.0 <3.0.0" 7 | flutter: ">=1.20.0" 8 | 9 | dependencies: 10 | flutter: 11 | sdk: flutter 12 | path_provider_macos: 13 | # When depending on this package from a real application you should use: 14 | # path_provider_macos: ^x.y.z 15 | # See https://dart.dev/tools/pub/dependencies#version-constraints 16 | # The example app is bundled with the plugin so we use a path dependency on 17 | # the parent directory to use the current plugin's version. 18 | path: ../ 19 | path_provider_platform_interface: ^2.0.0 20 | 21 | dev_dependencies: 22 | flutter_driver: 23 | sdk: flutter 24 | integration_test: 25 | sdk: flutter 26 | pedantic: ^1.8.0 27 | 28 | flutter: 29 | uses-material-design: true 30 | -------------------------------------------------------------------------------- /path_provider_macos-2.0.4/example/test_driver/integration_test.dart: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Flutter Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. 4 | 5 | import 'package:integration_test/integration_test_driver.dart'; 6 | 7 | Future main() => integrationDriver(); 8 | -------------------------------------------------------------------------------- /path_provider_macos-2.0.4/macos/path_provider_macos.podspec: -------------------------------------------------------------------------------- 1 | # 2 | # To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html 3 | # 4 | Pod::Spec.new do |s| 5 | s.name = 'path_provider_macos' 6 | s.version = '0.0.1' 7 | s.summary = 'A macOS implementation of the path_provider plugin.' 8 | s.description = <<-DESC 9 | A macOS implementation of the Flutter plugin for getting commonly used locations on the filesystem. 10 | DESC 11 | s.homepage = 'https://github.com/flutter/plugins/tree/master/packages/path_provider/path_provider_macos' 12 | s.license = { :type => 'BSD', :file => '../LICENSE' } 13 | s.author = { 'Flutter Dev Team' => 'flutter-dev@googlegroups.com' } 14 | s.source = { :http => 'https://github.com/flutter/plugins/tree/master/packages/path_provider/path_provider_macos' } 15 | s.source_files = 'Classes/**/*' 16 | s.dependency 'FlutterMacOS' 17 | 18 | s.platform = :osx 19 | s.osx.deployment_target = '10.11' 20 | s.swift_version = '5.0' 21 | end 22 | 23 | -------------------------------------------------------------------------------- /path_provider_macos-2.0.4/pubspec.yaml: -------------------------------------------------------------------------------- 1 | name: path_provider_macos 2 | description: macOS implementation of the path_provider plugin 3 | repository: https://github.com/flutter/plugins/tree/master/packages/path_provider/path_provider_macos 4 | issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+path_provider%22 5 | version: 2.0.4 6 | 7 | environment: 8 | sdk: ">=2.12.0 <3.0.0" 9 | flutter: ">=2.0.0" 10 | 11 | flutter: 12 | plugin: 13 | implements: path_provider 14 | platforms: 15 | macos: 16 | pluginClass: PathProviderPlugin 17 | dartPluginClass: PathProviderMacOS 18 | 19 | dependencies: 20 | flutter: 21 | sdk: flutter 22 | meta: ^1.3.0 23 | path_provider_platform_interface: ^2.0.1 24 | 25 | dev_dependencies: 26 | flutter_test: 27 | sdk: flutter 28 | path: ^1.8.0 29 | pedantic: ^1.10.0 30 | -------------------------------------------------------------------------------- /scripts/windows_installer/app_icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/scripts/windows_installer/app_icon.ico -------------------------------------------------------------------------------- /scripts/windows_installer/inno_setup_config.iss: -------------------------------------------------------------------------------- 1 | [Setup] 2 | AppName=Xlog-Decoder 3 | AppVersion=1 4 | WizardStyle=modern 5 | Compression=lzma2 6 | SolidCompression=yes 7 | DefaultDirName={autopf}\Xlog-Decoder\ 8 | DefaultGroupName=Xlog-Decoder 9 | SetupIconFile=app_icon.icon 10 | UninstallDisplayIcon={app}\Xlog-Decoder.exe 11 | UninstallDisplayName=Xlog-Decoder 12 | AppPublisher=Xlog-Decoder-IO 13 | VersionInfoVersion=1 14 | 15 | [Files] 16 | Source: "Xlog-Decoder\Xlog-Decoder.exe";DestDir: "{app}";DestName: "Xlog-Decoder.exe" 17 | Source: "Xlog-Decoder\*";DestDir: "{app}" 18 | Source: "Xlog-Decoder\data\*";DestDir: "{app}\data\"; Flags: recursesubdirs 19 | 20 | [Icons] 21 | Name: "{group}\Xlog-Decoder";Filename: "{app}\Xlog-Decoder.exe" -------------------------------------------------------------------------------- /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:mars_xlog_decoder_gui/main.dart'; 12 | 13 | void main() { 14 | testWidgets('Counter increments smoke test', (WidgetTester tester) async { 15 | // Build our app and trigger a frame. 16 | await tester.pumpWidget(MyApp()); 17 | 18 | // Verify that our counter starts at 0. 19 | expect(find.text('0'), findsOneWidget); 20 | expect(find.text('1'), findsNothing); 21 | 22 | // Tap the '+' icon and trigger a frame. 23 | await tester.tap(find.byIcon(Icons.add)); 24 | await tester.pump(); 25 | 26 | // Verify that our counter has incremented. 27 | expect(find.text('0'), findsNothing); 28 | expect(find.text('1'), findsOneWidget); 29 | }); 30 | } 31 | -------------------------------------------------------------------------------- /windows/.gitignore: -------------------------------------------------------------------------------- 1 | flutter/ephemeral/ 2 | 3 | # Visual Studio user-specific files. 4 | *.suo 5 | *.user 6 | *.userosscache 7 | *.sln.docstates 8 | 9 | # Visual Studio build-related files. 10 | x64/ 11 | x86/ 12 | 13 | # Visual Studio cache files 14 | # files ending in .cache can be ignored 15 | *.[Cc]ache 16 | # but keep track of directories ending in .cache 17 | !*.[Cc]ache/ 18 | -------------------------------------------------------------------------------- /windows/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 | #include 11 | #include 12 | 13 | void RegisterPlugins(flutter::PluginRegistry* registry) { 14 | DesktopDropPluginRegisterWithRegistrar( 15 | registry->GetRegistrarForPlugin("DesktopDropPlugin")); 16 | NativeContextMenuPluginRegisterWithRegistrar( 17 | registry->GetRegistrarForPlugin("NativeContextMenuPlugin")); 18 | WindowManagerPluginRegisterWithRegistrar( 19 | registry->GetRegistrarForPlugin("WindowManagerPlugin")); 20 | } 21 | -------------------------------------------------------------------------------- /windows/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 RegisterPlugins(flutter::PluginRegistry* registry); 14 | 15 | #endif // GENERATED_PLUGIN_REGISTRANT_ 16 | -------------------------------------------------------------------------------- /windows/flutter/generated_plugins.cmake: -------------------------------------------------------------------------------- 1 | # 2 | # Generated file, do not edit. 3 | # 4 | 5 | list(APPEND FLUTTER_PLUGIN_LIST 6 | desktop_drop 7 | native_context_menu 8 | window_manager 9 | ) 10 | 11 | list(APPEND FLUTTER_FFI_PLUGIN_LIST 12 | ) 13 | 14 | set(PLUGIN_BUNDLED_LIBRARIES) 15 | 16 | foreach(plugin ${FLUTTER_PLUGIN_LIST}) 17 | add_subdirectory(flutter/ephemeral/.plugin_symlinks/${plugin}/windows plugins/${plugin}) 18 | target_link_libraries(${BINARY_NAME} PRIVATE ${plugin}_plugin) 19 | list(APPEND PLUGIN_BUNDLED_LIBRARIES $) 20 | list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries}) 21 | endforeach(plugin) 22 | 23 | foreach(ffi_plugin ${FLUTTER_FFI_PLUGIN_LIST}) 24 | add_subdirectory(flutter/ephemeral/.plugin_symlinks/${ffi_plugin}/windows plugins/${ffi_plugin}) 25 | list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${ffi_plugin}_bundled_libraries}) 26 | endforeach(ffi_plugin) 27 | -------------------------------------------------------------------------------- /windows/runner/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.14) 2 | project(runner LANGUAGES CXX) 3 | 4 | # Define the application target. To change its name, change BINARY_NAME in the 5 | # top-level CMakeLists.txt, not the value here, or `flutter run` will no longer 6 | # work. 7 | # 8 | # Any new source files that you add to the application should be added here. 9 | add_executable(${BINARY_NAME} WIN32 10 | "flutter_window.cpp" 11 | "main.cpp" 12 | "utils.cpp" 13 | "win32_window.cpp" 14 | "${FLUTTER_MANAGED_DIR}/generated_plugin_registrant.cc" 15 | "Runner.rc" 16 | "runner.exe.manifest" 17 | ) 18 | 19 | # Apply the standard set of build settings. This can be removed for applications 20 | # that need different build settings. 21 | apply_standard_settings(${BINARY_NAME}) 22 | 23 | # Disable Windows macros that collide with C++ standard library functions. 24 | target_compile_definitions(${BINARY_NAME} PRIVATE "NOMINMAX") 25 | 26 | # Add dependency libraries and include directories. Add any application-specific 27 | # dependencies here. 28 | target_link_libraries(${BINARY_NAME} PRIVATE flutter flutter_wrapper_app) 29 | target_include_directories(${BINARY_NAME} PRIVATE "${CMAKE_SOURCE_DIR}") 30 | 31 | # Run the Flutter tool portions of the build. This must not be removed. 32 | add_dependencies(${BINARY_NAME} flutter_assemble) 33 | -------------------------------------------------------------------------------- /windows/runner/flutter_window.cpp: -------------------------------------------------------------------------------- 1 | #include "flutter_window.h" 2 | 3 | #include 4 | 5 | #include "flutter/generated_plugin_registrant.h" 6 | 7 | FlutterWindow::FlutterWindow(const flutter::DartProject& project) 8 | : project_(project) {} 9 | 10 | FlutterWindow::~FlutterWindow() {} 11 | 12 | bool FlutterWindow::OnCreate() { 13 | if (!Win32Window::OnCreate()) { 14 | return false; 15 | } 16 | 17 | RECT frame = GetClientArea(); 18 | 19 | // The size here must match the window dimensions to avoid unnecessary surface 20 | // creation / destruction in the startup path. 21 | flutter_controller_ = std::make_unique( 22 | frame.right - frame.left, frame.bottom - frame.top, project_); 23 | // Ensure that basic setup of the controller was successful. 24 | if (!flutter_controller_->engine() || !flutter_controller_->view()) { 25 | return false; 26 | } 27 | RegisterPlugins(flutter_controller_->engine()); 28 | SetChildContent(flutter_controller_->view()->GetNativeWindow()); 29 | return true; 30 | } 31 | 32 | void FlutterWindow::OnDestroy() { 33 | if (flutter_controller_) { 34 | flutter_controller_ = nullptr; 35 | } 36 | 37 | Win32Window::OnDestroy(); 38 | } 39 | 40 | LRESULT 41 | FlutterWindow::MessageHandler(HWND hwnd, UINT const message, 42 | WPARAM const wparam, 43 | LPARAM const lparam) noexcept { 44 | // Give Flutter, including plugins, an opportunity to handle window messages. 45 | if (flutter_controller_) { 46 | std::optional result = 47 | flutter_controller_->HandleTopLevelWindowProc(hwnd, message, wparam, 48 | lparam); 49 | if (result) { 50 | return *result; 51 | } 52 | } 53 | 54 | switch (message) { 55 | case WM_FONTCHANGE: 56 | flutter_controller_->engine()->ReloadSystemFonts(); 57 | break; 58 | } 59 | 60 | return Win32Window::MessageHandler(hwnd, message, wparam, lparam); 61 | } 62 | -------------------------------------------------------------------------------- /windows/runner/flutter_window.h: -------------------------------------------------------------------------------- 1 | #ifndef RUNNER_FLUTTER_WINDOW_H_ 2 | #define RUNNER_FLUTTER_WINDOW_H_ 3 | 4 | #include 5 | #include 6 | 7 | #include 8 | 9 | #include "win32_window.h" 10 | 11 | // A window that does nothing but host a Flutter view. 12 | class FlutterWindow : public Win32Window { 13 | public: 14 | // Creates a new FlutterWindow hosting a Flutter view running |project|. 15 | explicit FlutterWindow(const flutter::DartProject& project); 16 | virtual ~FlutterWindow(); 17 | 18 | protected: 19 | // Win32Window: 20 | bool OnCreate() override; 21 | void OnDestroy() override; 22 | LRESULT MessageHandler(HWND window, UINT const message, WPARAM const wparam, 23 | LPARAM const lparam) noexcept override; 24 | 25 | private: 26 | // The project to run. 27 | flutter::DartProject project_; 28 | 29 | // The Flutter instance hosted by this window. 30 | std::unique_ptr flutter_controller_; 31 | }; 32 | 33 | #endif // RUNNER_FLUTTER_WINDOW_H_ 34 | -------------------------------------------------------------------------------- /windows/runner/main.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | #include "flutter_window.h" 6 | #include "utils.h" 7 | 8 | int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev, 9 | _In_ wchar_t *command_line, _In_ int show_command) { 10 | // Attach to console when present (e.g., 'flutter run') or create a 11 | // new console when running with a debugger. 12 | if (!::AttachConsole(ATTACH_PARENT_PROCESS) && ::IsDebuggerPresent()) { 13 | CreateAndAttachConsole(); 14 | } 15 | 16 | // Initialize COM, so that it is available for use in the library and/or 17 | // plugins. 18 | ::CoInitializeEx(nullptr, COINIT_APARTMENTTHREADED); 19 | 20 | flutter::DartProject project(L"data"); 21 | 22 | std::vector command_line_arguments = 23 | GetCommandLineArguments(); 24 | 25 | project.set_dart_entrypoint_arguments(std::move(command_line_arguments)); 26 | 27 | FlutterWindow window(project); 28 | Win32Window::Point origin(10, 10); 29 | Win32Window::Size size(1280, 720); 30 | if (!window.CreateAndShow(L"mars_xlog_decoder_gui", origin, size)) { 31 | return EXIT_FAILURE; 32 | } 33 | window.SetQuitOnClose(true); 34 | 35 | ::MSG msg; 36 | while (::GetMessage(&msg, nullptr, 0, 0)) { 37 | ::TranslateMessage(&msg); 38 | ::DispatchMessage(&msg); 39 | } 40 | 41 | ::CoUninitialize(); 42 | return EXIT_SUCCESS; 43 | } 44 | -------------------------------------------------------------------------------- /windows/runner/resource.h: -------------------------------------------------------------------------------- 1 | //{{NO_DEPENDENCIES}} 2 | // Microsoft Visual C++ generated include file. 3 | // Used by Runner.rc 4 | // 5 | #define IDI_APP_ICON 101 6 | 7 | // Next default values for new objects 8 | // 9 | #ifdef APSTUDIO_INVOKED 10 | #ifndef APSTUDIO_READONLY_SYMBOLS 11 | #define _APS_NEXT_RESOURCE_VALUE 102 12 | #define _APS_NEXT_COMMAND_VALUE 40001 13 | #define _APS_NEXT_CONTROL_VALUE 1001 14 | #define _APS_NEXT_SYMED_VALUE 101 15 | #endif 16 | #endif 17 | -------------------------------------------------------------------------------- /windows/runner/resources/app_icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/windows/runner/resources/app_icon.ico -------------------------------------------------------------------------------- /windows/runner/runner.exe.manifest: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PerMonitorV2 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /windows/runner/utils.cpp: -------------------------------------------------------------------------------- 1 | #include "utils.h" 2 | 3 | #include 4 | #include 5 | #include 6 | #include 7 | 8 | #include 9 | 10 | void CreateAndAttachConsole() { 11 | if (::AllocConsole()) { 12 | FILE *unused; 13 | if (freopen_s(&unused, "CONOUT$", "w", stdout)) { 14 | _dup2(_fileno(stdout), 1); 15 | } 16 | if (freopen_s(&unused, "CONOUT$", "w", stderr)) { 17 | _dup2(_fileno(stdout), 2); 18 | } 19 | std::ios::sync_with_stdio(); 20 | FlutterDesktopResyncOutputStreams(); 21 | } 22 | } 23 | 24 | std::vector GetCommandLineArguments() { 25 | // Convert the UTF-16 command line arguments to UTF-8 for the Engine to use. 26 | int argc; 27 | wchar_t** argv = ::CommandLineToArgvW(::GetCommandLineW(), &argc); 28 | if (argv == nullptr) { 29 | return std::vector(); 30 | } 31 | 32 | std::vector command_line_arguments; 33 | 34 | // Skip the first argument as it's the binary name. 35 | for (int i = 1; i < argc; i++) { 36 | command_line_arguments.push_back(Utf8FromUtf16(argv[i])); 37 | } 38 | 39 | ::LocalFree(argv); 40 | 41 | return command_line_arguments; 42 | } 43 | 44 | std::string Utf8FromUtf16(const wchar_t* utf16_string) { 45 | if (utf16_string == nullptr) { 46 | return std::string(); 47 | } 48 | int target_length = ::WideCharToMultiByte( 49 | CP_UTF8, WC_ERR_INVALID_CHARS, utf16_string, 50 | -1, nullptr, 0, nullptr, nullptr); 51 | std::string utf8_string; 52 | if (target_length == 0 || target_length > utf8_string.max_size()) { 53 | return utf8_string; 54 | } 55 | utf8_string.resize(target_length); 56 | int converted_length = ::WideCharToMultiByte( 57 | CP_UTF8, WC_ERR_INVALID_CHARS, utf16_string, 58 | -1, utf8_string.data(), 59 | target_length, nullptr, nullptr); 60 | if (converted_length == 0) { 61 | return std::string(); 62 | } 63 | return utf8_string; 64 | } 65 | -------------------------------------------------------------------------------- /windows/runner/utils.h: -------------------------------------------------------------------------------- 1 | #ifndef RUNNER_UTILS_H_ 2 | #define RUNNER_UTILS_H_ 3 | 4 | #include 5 | #include 6 | 7 | // Creates a console for the process, and redirects stdout and stderr to 8 | // it for both the runner and the Flutter library. 9 | void CreateAndAttachConsole(); 10 | 11 | // Takes a null-terminated wchar_t* encoded in UTF-16 and returns a std::string 12 | // encoded in UTF-8. Returns an empty std::string on failure. 13 | std::string Utf8FromUtf16(const wchar_t* utf16_string); 14 | 15 | // Gets the command line arguments passed in as a std::vector, 16 | // encoded in UTF-8. Returns an empty std::vector on failure. 17 | std::vector GetCommandLineArguments(); 18 | 19 | #endif // RUNNER_UTILS_H_ 20 | -------------------------------------------------------------------------------- /xlog_decoder_preview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/xlog_decoder_preview.png -------------------------------------------------------------------------------- /xlog_ios_demo/Podfile: -------------------------------------------------------------------------------- 1 | # Uncomment the next line to define a global platform for your project 2 | # platform :ios, '9.0' 3 | 4 | target 'xlog_ios_demo' do 5 | # Comment the next line if you don't want to use dynamic frameworks 6 | use_frameworks! 7 | pod 'SSZipArchive' 8 | pod 'SVProgressHUD' 9 | # Pods for xlog_ios_demo 10 | 11 | end 12 | -------------------------------------------------------------------------------- /xlog_ios_demo/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - SSZipArchive (2.4.3) 3 | - SVProgressHUD (2.2.5) 4 | 5 | DEPENDENCIES: 6 | - SSZipArchive 7 | - SVProgressHUD 8 | 9 | SPEC REPOS: 10 | trunk: 11 | - SSZipArchive 12 | - SVProgressHUD 13 | 14 | SPEC CHECKSUMS: 15 | SSZipArchive: fe6a26b2a54d5a0890f2567b5cc6de5caa600aef 16 | SVProgressHUD: 1428aafac632c1f86f62aa4243ec12008d7a51d6 17 | 18 | PODFILE CHECKSUM: 57b7796bbadca020190f084561b5c012a61cff94 19 | 20 | COCOAPODS: 1.11.3 21 | -------------------------------------------------------------------------------- /xlog_ios_demo/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - SSZipArchive (2.4.3) 3 | - SVProgressHUD (2.2.5) 4 | 5 | DEPENDENCIES: 6 | - SSZipArchive 7 | - SVProgressHUD 8 | 9 | SPEC REPOS: 10 | trunk: 11 | - SSZipArchive 12 | - SVProgressHUD 13 | 14 | SPEC CHECKSUMS: 15 | SSZipArchive: fe6a26b2a54d5a0890f2567b5cc6de5caa600aef 16 | SVProgressHUD: 1428aafac632c1f86f62aa4243ec12008d7a51d6 17 | 18 | PODFILE CHECKSUM: 57b7796bbadca020190f084561b5c012a61cff94 19 | 20 | COCOAPODS: 1.11.3 21 | -------------------------------------------------------------------------------- /xlog_ios_demo/Pods/Pods.xcodeproj/xcuserdata/admin.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | Pods-xlog_ios_demo.xcscheme 8 | 9 | isShown 10 | 11 | orderHint 12 | 0 13 | 14 | SSZipArchive.xcscheme 15 | 16 | isShown 17 | 18 | orderHint 19 | 1 20 | 21 | SVProgressHUD.xcscheme 22 | 23 | isShown 24 | 25 | orderHint 26 | 2 27 | 28 | 29 | SuppressBuildableAutocreation 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /xlog_ios_demo/Pods/Pods.xcodeproj/xcuserdata/jerryfans.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | Pods-xlog_ios_demo.xcscheme 8 | 9 | isShown 10 | 11 | orderHint 12 | 0 13 | 14 | SSZipArchive.xcscheme 15 | 16 | isShown 17 | 18 | orderHint 19 | 1 20 | 21 | SVProgressHUD.xcscheme 22 | 23 | isShown 24 | 25 | orderHint 26 | 2 27 | 28 | 29 | SuppressBuildableAutocreation 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /xlog_ios_demo/Pods/SSZipArchive/LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2013-2021, ZipArchive, https://github.com/ZipArchive 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining 4 | a copy of this software and associated documentation files (the 5 | "Software"), to deal in the Software without restriction, including 6 | without limitation the rights to use, copy, modify, merge, publish, 7 | distribute, sublicense, and/or sell copies of the Software, and to 8 | permit persons to whom the Software is furnished to do so, subject to 9 | the following conditions: 10 | 11 | The above copyright notice and this permission notice shall be 12 | included in all copies or substantial portions of the Software. 13 | 14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 15 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 16 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 17 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 18 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 19 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 20 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 21 | -------------------------------------------------------------------------------- /xlog_ios_demo/Pods/SSZipArchive/SSZipArchive/include/ZipArchive.h: -------------------------------------------------------------------------------- 1 | // 2 | // ZipArchive.h 3 | // ZipArchive 4 | // 5 | // Created by Serhii Mumriak on 12/1/15. 6 | // 7 | 8 | #import 9 | 10 | //! Project version number for ZipArchive. 11 | FOUNDATION_EXPORT double ZipArchiveVersionNumber; 12 | 13 | //! Project version string for ZipArchive. 14 | FOUNDATION_EXPORT const unsigned char ZipArchiveVersionString[]; 15 | 16 | // In this header, you should import all the public headers of your framework using statements like #import 17 | 18 | // This is to account for the many different ways this library gets imported. 19 | #if __has_include() 20 | #import 21 | #elif __has_include("../SSZipArchive.h") 22 | #import "../SSZipArchive.h" 23 | #else 24 | #import "SSZipArchive.h" 25 | #endif 26 | -------------------------------------------------------------------------------- /xlog_ios_demo/Pods/SSZipArchive/SSZipArchive/minizip/mz_strm_buf.h: -------------------------------------------------------------------------------- 1 | /* mz_strm_buf.h -- Stream for buffering reads/writes 2 | part of the minizip-ng project 3 | 4 | This version of ioapi is designed to buffer IO. 5 | 6 | Copyright (C) 2010-2021 Nathan Moinvaziri 7 | https://github.com/zlib-ng/minizip-ng 8 | 9 | This program is distributed under the terms of the same license as zlib. 10 | See the accompanying LICENSE file for the full text of the license. 11 | */ 12 | 13 | #ifndef MZ_STREAM_BUFFERED_H 14 | #define MZ_STREAM_BUFFERED_H 15 | 16 | #ifdef __cplusplus 17 | extern "C" { 18 | #endif 19 | 20 | /***************************************************************************/ 21 | 22 | int32_t mz_stream_buffered_open(void *stream, const char *path, int32_t mode); 23 | int32_t mz_stream_buffered_is_open(void *stream); 24 | int32_t mz_stream_buffered_read(void *stream, void *buf, int32_t size); 25 | int32_t mz_stream_buffered_write(void *stream, const void *buf, int32_t size); 26 | int64_t mz_stream_buffered_tell(void *stream); 27 | int32_t mz_stream_buffered_seek(void *stream, int64_t offset, int32_t origin); 28 | int32_t mz_stream_buffered_close(void *stream); 29 | int32_t mz_stream_buffered_error(void *stream); 30 | 31 | void* mz_stream_buffered_create(void **stream); 32 | void mz_stream_buffered_delete(void **stream); 33 | 34 | void* mz_stream_buffered_get_interface(void); 35 | 36 | /***************************************************************************/ 37 | 38 | #ifdef __cplusplus 39 | } 40 | #endif 41 | 42 | #endif 43 | -------------------------------------------------------------------------------- /xlog_ios_demo/Pods/SSZipArchive/SSZipArchive/minizip/mz_strm_mem.h: -------------------------------------------------------------------------------- 1 | /* mz_strm_mem.h -- Stream for memory access 2 | part of the minizip-ng project 3 | 4 | Copyright (C) 2010-2021 Nathan Moinvaziri 5 | https://github.com/zlib-ng/minizip-ng 6 | 7 | This program is distributed under the terms of the same license as zlib. 8 | See the accompanying LICENSE file for the full text of the license. 9 | */ 10 | 11 | #ifndef MZ_STREAM_MEM_H 12 | #define MZ_STREAM_MEM_H 13 | 14 | #ifdef __cplusplus 15 | extern "C" { 16 | #endif 17 | 18 | /***************************************************************************/ 19 | 20 | int32_t mz_stream_mem_open(void *stream, const char *filename, int32_t mode); 21 | int32_t mz_stream_mem_is_open(void *stream); 22 | int32_t mz_stream_mem_read(void *stream, void *buf, int32_t size); 23 | int32_t mz_stream_mem_write(void *stream, const void *buf, int32_t size); 24 | int64_t mz_stream_mem_tell(void *stream); 25 | int32_t mz_stream_mem_seek(void *stream, int64_t offset, int32_t origin); 26 | int32_t mz_stream_mem_close(void *stream); 27 | int32_t mz_stream_mem_error(void *stream); 28 | 29 | void mz_stream_mem_set_buffer(void *stream, void *buf, int32_t size); 30 | int32_t mz_stream_mem_get_buffer(void *stream, const void **buf); 31 | int32_t mz_stream_mem_get_buffer_at(void *stream, int64_t position, const void **buf); 32 | int32_t mz_stream_mem_get_buffer_at_current(void *stream, const void **buf); 33 | void mz_stream_mem_get_buffer_length(void *stream, int32_t *length); 34 | void mz_stream_mem_set_buffer_limit(void *stream, int32_t limit); 35 | void mz_stream_mem_set_grow_size(void *stream, int32_t grow_size); 36 | 37 | void* mz_stream_mem_create(void **stream); 38 | void mz_stream_mem_delete(void **stream); 39 | 40 | void* mz_stream_mem_get_interface(void); 41 | 42 | /***************************************************************************/ 43 | 44 | #ifdef __cplusplus 45 | } 46 | #endif 47 | 48 | #endif 49 | -------------------------------------------------------------------------------- /xlog_ios_demo/Pods/SSZipArchive/SSZipArchive/minizip/mz_strm_os.h: -------------------------------------------------------------------------------- 1 | /* mz_sstrm_os.h -- Stream for filesystem access 2 | part of the minizip-ng project 3 | 4 | Copyright (C) 2010-2021 Nathan Moinvaziri 5 | https://github.com/zlib-ng/minizip-ng 6 | 7 | This program is distributed under the terms of the same license as zlib. 8 | See the accompanying LICENSE file for the full text of the license. 9 | */ 10 | 11 | #ifndef MZ_STREAM_OS_H 12 | #define MZ_STREAM_OS_H 13 | 14 | #ifdef __cplusplus 15 | extern "C" { 16 | #endif 17 | 18 | /***************************************************************************/ 19 | 20 | int32_t mz_stream_os_open(void *stream, const char *path, int32_t mode); 21 | int32_t mz_stream_os_is_open(void *stream); 22 | int32_t mz_stream_os_read(void *stream, void *buf, int32_t size); 23 | int32_t mz_stream_os_write(void *stream, const void *buf, int32_t size); 24 | int64_t mz_stream_os_tell(void *stream); 25 | int32_t mz_stream_os_seek(void *stream, int64_t offset, int32_t origin); 26 | int32_t mz_stream_os_close(void *stream); 27 | int32_t mz_stream_os_error(void *stream); 28 | 29 | void* mz_stream_os_create(void **stream); 30 | void mz_stream_os_delete(void **stream); 31 | 32 | void* mz_stream_os_get_interface(void); 33 | 34 | /***************************************************************************/ 35 | 36 | #ifdef __cplusplus 37 | } 38 | #endif 39 | 40 | #endif 41 | -------------------------------------------------------------------------------- /xlog_ios_demo/Pods/SSZipArchive/SSZipArchive/minizip/mz_strm_pkcrypt.h: -------------------------------------------------------------------------------- 1 | /* mz_strm_pkcrypt.h -- Code for traditional PKWARE encryption 2 | part of the minizip-ng project 3 | 4 | Copyright (C) 2010-2021 Nathan Moinvaziri 5 | https://github.com/zlib-ng/minizip-ng 6 | 7 | This program is distributed under the terms of the same license as zlib. 8 | See the accompanying LICENSE file for the full text of the license. 9 | */ 10 | 11 | #ifndef MZ_STREAM_PKCRYPT_H 12 | #define MZ_STREAM_PKCRYPT_H 13 | 14 | #ifdef __cplusplus 15 | extern "C" { 16 | #endif 17 | 18 | /***************************************************************************/ 19 | 20 | int32_t mz_stream_pkcrypt_open(void *stream, const char *filename, int32_t mode); 21 | int32_t mz_stream_pkcrypt_is_open(void *stream); 22 | int32_t mz_stream_pkcrypt_read(void *stream, void *buf, int32_t size); 23 | int32_t mz_stream_pkcrypt_write(void *stream, const void *buf, int32_t size); 24 | int64_t mz_stream_pkcrypt_tell(void *stream); 25 | int32_t mz_stream_pkcrypt_seek(void *stream, int64_t offset, int32_t origin); 26 | int32_t mz_stream_pkcrypt_close(void *stream); 27 | int32_t mz_stream_pkcrypt_error(void *stream); 28 | 29 | void mz_stream_pkcrypt_set_password(void *stream, const char *password); 30 | void mz_stream_pkcrypt_set_verify(void *stream, uint8_t verify1, uint8_t verify2); 31 | void mz_stream_pkcrypt_get_verify(void *stream, uint8_t *verify1, uint8_t *verify2); 32 | int32_t mz_stream_pkcrypt_get_prop_int64(void *stream, int32_t prop, int64_t *value); 33 | int32_t mz_stream_pkcrypt_set_prop_int64(void *stream, int32_t prop, int64_t value); 34 | 35 | void* mz_stream_pkcrypt_create(void **stream); 36 | void mz_stream_pkcrypt_delete(void **stream); 37 | 38 | void* mz_stream_pkcrypt_get_interface(void); 39 | 40 | /***************************************************************************/ 41 | 42 | #ifdef __cplusplus 43 | } 44 | #endif 45 | 46 | #endif 47 | -------------------------------------------------------------------------------- /xlog_ios_demo/Pods/SSZipArchive/SSZipArchive/minizip/mz_strm_split.h: -------------------------------------------------------------------------------- 1 | /* mz_strm_split.h -- Stream for split files 2 | part of the minizip-ng project 3 | 4 | Copyright (C) 2010-2021 Nathan Moinvaziri 5 | https://github.com/zlib-ng/minizip-ng 6 | 7 | This program is distributed under the terms of the same license as zlib. 8 | See the accompanying LICENSE file for the full text of the license. 9 | */ 10 | 11 | #ifndef MZ_STREAM_SPLIT_H 12 | #define MZ_STREAM_SPLIT_H 13 | 14 | #ifdef __cplusplus 15 | extern "C" { 16 | #endif 17 | 18 | /***************************************************************************/ 19 | 20 | int32_t mz_stream_split_open(void *stream, const char *filename, int32_t mode); 21 | int32_t mz_stream_split_is_open(void *stream); 22 | int32_t mz_stream_split_read(void *stream, void *buf, int32_t size); 23 | int32_t mz_stream_split_write(void *stream, const void *buf, int32_t size); 24 | int64_t mz_stream_split_tell(void *stream); 25 | int32_t mz_stream_split_seek(void *stream, int64_t offset, int32_t origin); 26 | int32_t mz_stream_split_close(void *stream); 27 | int32_t mz_stream_split_error(void *stream); 28 | 29 | int32_t mz_stream_split_get_prop_int64(void *stream, int32_t prop, int64_t *value); 30 | int32_t mz_stream_split_set_prop_int64(void *stream, int32_t prop, int64_t value); 31 | 32 | void* mz_stream_split_create(void **stream); 33 | void mz_stream_split_delete(void **stream); 34 | 35 | void* mz_stream_split_get_interface(void); 36 | 37 | /***************************************************************************/ 38 | 39 | #ifdef __cplusplus 40 | } 41 | #endif 42 | 43 | #endif 44 | -------------------------------------------------------------------------------- /xlog_ios_demo/Pods/SSZipArchive/SSZipArchive/minizip/mz_strm_wzaes.h: -------------------------------------------------------------------------------- 1 | /* mz_strm_wzaes.h -- Stream for WinZIP AES encryption 2 | part of the minizip-ng project 3 | 4 | Copyright (C) 2010-2021 Nathan Moinvaziri 5 | https://github.com/zlib-ng/minizip-ng 6 | 7 | This program is distributed under the terms of the same license as zlib. 8 | See the accompanying LICENSE file for the full text of the license. 9 | */ 10 | 11 | #ifndef MZ_STREAM_WZAES_SHA1_H 12 | #define MZ_STREAM_WZAES_SHA1_H 13 | 14 | #ifdef __cplusplus 15 | extern "C" { 16 | #endif 17 | 18 | /***************************************************************************/ 19 | 20 | int32_t mz_stream_wzaes_open(void *stream, const char *filename, int32_t mode); 21 | int32_t mz_stream_wzaes_is_open(void *stream); 22 | int32_t mz_stream_wzaes_read(void *stream, void *buf, int32_t size); 23 | int32_t mz_stream_wzaes_write(void *stream, const void *buf, int32_t size); 24 | int64_t mz_stream_wzaes_tell(void *stream); 25 | int32_t mz_stream_wzaes_seek(void *stream, int64_t offset, int32_t origin); 26 | int32_t mz_stream_wzaes_close(void *stream); 27 | int32_t mz_stream_wzaes_error(void *stream); 28 | 29 | void mz_stream_wzaes_set_password(void *stream, const char *password); 30 | void mz_stream_wzaes_set_encryption_mode(void *stream, int16_t encryption_mode); 31 | 32 | int32_t mz_stream_wzaes_get_prop_int64(void *stream, int32_t prop, int64_t *value); 33 | int32_t mz_stream_wzaes_set_prop_int64(void *stream, int32_t prop, int64_t value); 34 | 35 | void* mz_stream_wzaes_create(void **stream); 36 | void mz_stream_wzaes_delete(void **stream); 37 | 38 | void* mz_stream_wzaes_get_interface(void); 39 | 40 | /***************************************************************************/ 41 | 42 | #ifdef __cplusplus 43 | } 44 | #endif 45 | 46 | #endif 47 | -------------------------------------------------------------------------------- /xlog_ios_demo/Pods/SSZipArchive/SSZipArchive/minizip/mz_strm_zlib.h: -------------------------------------------------------------------------------- 1 | /* mz_strm_zlib.h -- Stream for zlib inflate/deflate 2 | part of the minizip-ng project 3 | 4 | Copyright (C) 2010-2021 Nathan Moinvaziri 5 | https://github.com/zlib-ng/minizip-ng 6 | 7 | This program is distributed under the terms of the same license as zlib. 8 | See the accompanying LICENSE file for the full text of the license. 9 | */ 10 | 11 | #ifndef MZ_STREAM_ZLIB_H 12 | #define MZ_STREAM_ZLIB_H 13 | 14 | #ifdef __cplusplus 15 | extern "C" { 16 | #endif 17 | 18 | /***************************************************************************/ 19 | 20 | int32_t mz_stream_zlib_open(void *stream, const char *filename, int32_t mode); 21 | int32_t mz_stream_zlib_is_open(void *stream); 22 | int32_t mz_stream_zlib_read(void *stream, void *buf, int32_t size); 23 | int32_t mz_stream_zlib_write(void *stream, const void *buf, int32_t size); 24 | int64_t mz_stream_zlib_tell(void *stream); 25 | int32_t mz_stream_zlib_seek(void *stream, int64_t offset, int32_t origin); 26 | int32_t mz_stream_zlib_close(void *stream); 27 | int32_t mz_stream_zlib_error(void *stream); 28 | 29 | int32_t mz_stream_zlib_get_prop_int64(void *stream, int32_t prop, int64_t *value); 30 | int32_t mz_stream_zlib_set_prop_int64(void *stream, int32_t prop, int64_t value); 31 | 32 | void* mz_stream_zlib_create(void **stream); 33 | void mz_stream_zlib_delete(void **stream); 34 | 35 | void* mz_stream_zlib_get_interface(void); 36 | 37 | /***************************************************************************/ 38 | 39 | #ifdef __cplusplus 40 | } 41 | #endif 42 | 43 | #endif 44 | -------------------------------------------------------------------------------- /xlog_ios_demo/Pods/SVProgressHUD/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2011-2018 Sam Vermette, Tobias Tiemerding and contributors. 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /xlog_ios_demo/Pods/SVProgressHUD/SVProgressHUD/SVIndefiniteAnimatedView.h: -------------------------------------------------------------------------------- 1 | // 2 | // SVIndefiniteAnimatedView.h 3 | // SVProgressHUD, https://github.com/SVProgressHUD/SVProgressHUD 4 | // 5 | // Copyright (c) 2014-2018 Guillaume Campagna. All rights reserved. 6 | // 7 | 8 | #import 9 | 10 | @interface SVIndefiniteAnimatedView : UIView 11 | 12 | @property (nonatomic, assign) CGFloat strokeThickness; 13 | @property (nonatomic, assign) CGFloat radius; 14 | @property (nonatomic, strong) UIColor *strokeColor; 15 | 16 | @end 17 | 18 | -------------------------------------------------------------------------------- /xlog_ios_demo/Pods/SVProgressHUD/SVProgressHUD/SVProgressAnimatedView.h: -------------------------------------------------------------------------------- 1 | // 2 | // SVProgressAnimatedView.h 3 | // SVProgressHUD, https://github.com/SVProgressHUD/SVProgressHUD 4 | // 5 | // Copyright (c) 2017-2018 Tobias Tiemerding. All rights reserved. 6 | // 7 | 8 | #import 9 | 10 | @interface SVProgressAnimatedView : UIView 11 | 12 | @property (nonatomic, assign) CGFloat radius; 13 | @property (nonatomic, assign) CGFloat strokeThickness; 14 | @property (nonatomic, strong) UIColor *strokeColor; 15 | @property (nonatomic, assign) CGFloat strokeEnd; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /xlog_ios_demo/Pods/SVProgressHUD/SVProgressHUD/SVProgressHUD.bundle/angle-mask.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/xlog_ios_demo/Pods/SVProgressHUD/SVProgressHUD/SVProgressHUD.bundle/angle-mask.png -------------------------------------------------------------------------------- /xlog_ios_demo/Pods/SVProgressHUD/SVProgressHUD/SVProgressHUD.bundle/angle-mask@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/xlog_ios_demo/Pods/SVProgressHUD/SVProgressHUD/SVProgressHUD.bundle/angle-mask@2x.png -------------------------------------------------------------------------------- /xlog_ios_demo/Pods/SVProgressHUD/SVProgressHUD/SVProgressHUD.bundle/angle-mask@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/xlog_ios_demo/Pods/SVProgressHUD/SVProgressHUD/SVProgressHUD.bundle/angle-mask@3x.png -------------------------------------------------------------------------------- /xlog_ios_demo/Pods/SVProgressHUD/SVProgressHUD/SVProgressHUD.bundle/error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/xlog_ios_demo/Pods/SVProgressHUD/SVProgressHUD/SVProgressHUD.bundle/error.png -------------------------------------------------------------------------------- /xlog_ios_demo/Pods/SVProgressHUD/SVProgressHUD/SVProgressHUD.bundle/error@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/xlog_ios_demo/Pods/SVProgressHUD/SVProgressHUD/SVProgressHUD.bundle/error@2x.png -------------------------------------------------------------------------------- /xlog_ios_demo/Pods/SVProgressHUD/SVProgressHUD/SVProgressHUD.bundle/error@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/xlog_ios_demo/Pods/SVProgressHUD/SVProgressHUD/SVProgressHUD.bundle/error@3x.png -------------------------------------------------------------------------------- /xlog_ios_demo/Pods/SVProgressHUD/SVProgressHUD/SVProgressHUD.bundle/info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/xlog_ios_demo/Pods/SVProgressHUD/SVProgressHUD/SVProgressHUD.bundle/info.png -------------------------------------------------------------------------------- /xlog_ios_demo/Pods/SVProgressHUD/SVProgressHUD/SVProgressHUD.bundle/info@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/xlog_ios_demo/Pods/SVProgressHUD/SVProgressHUD/SVProgressHUD.bundle/info@2x.png -------------------------------------------------------------------------------- /xlog_ios_demo/Pods/SVProgressHUD/SVProgressHUD/SVProgressHUD.bundle/info@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/xlog_ios_demo/Pods/SVProgressHUD/SVProgressHUD/SVProgressHUD.bundle/info@3x.png -------------------------------------------------------------------------------- /xlog_ios_demo/Pods/SVProgressHUD/SVProgressHUD/SVProgressHUD.bundle/success.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/xlog_ios_demo/Pods/SVProgressHUD/SVProgressHUD/SVProgressHUD.bundle/success.png -------------------------------------------------------------------------------- /xlog_ios_demo/Pods/SVProgressHUD/SVProgressHUD/SVProgressHUD.bundle/success@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/xlog_ios_demo/Pods/SVProgressHUD/SVProgressHUD/SVProgressHUD.bundle/success@2x.png -------------------------------------------------------------------------------- /xlog_ios_demo/Pods/SVProgressHUD/SVProgressHUD/SVProgressHUD.bundle/success@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/xlog_ios_demo/Pods/SVProgressHUD/SVProgressHUD/SVProgressHUD.bundle/success@3x.png -------------------------------------------------------------------------------- /xlog_ios_demo/Pods/SVProgressHUD/SVProgressHUD/SVRadialGradientLayer.h: -------------------------------------------------------------------------------- 1 | // 2 | // SVRadialGradientLayer.h 3 | // SVProgressHUD, https://github.com/SVProgressHUD/SVProgressHUD 4 | // 5 | // Copyright (c) 2014-2018 Tobias Tiemerding. All rights reserved. 6 | // 7 | 8 | #import 9 | 10 | @interface SVRadialGradientLayer : CALayer 11 | 12 | @property (nonatomic) CGPoint gradientCenter; 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /xlog_ios_demo/Pods/SVProgressHUD/SVProgressHUD/SVRadialGradientLayer.m: -------------------------------------------------------------------------------- 1 | // 2 | // SVRadialGradientLayer.m 3 | // SVProgressHUD, https://github.com/SVProgressHUD/SVProgressHUD 4 | // 5 | // Copyright (c) 2014-2018 Tobias Tiemerding. All rights reserved. 6 | // 7 | 8 | #import "SVRadialGradientLayer.h" 9 | 10 | @implementation SVRadialGradientLayer 11 | 12 | - (void)drawInContext:(CGContextRef)context { 13 | size_t locationsCount = 2; 14 | CGFloat locations[2] = {0.0f, 1.0f}; 15 | CGFloat colors[8] = {0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.75f}; 16 | CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceRGB(); 17 | CGGradientRef gradient = CGGradientCreateWithColorComponents(colorSpace, colors, locations, locationsCount); 18 | CGColorSpaceRelease(colorSpace); 19 | 20 | float radius = MIN(self.bounds.size.width , self.bounds.size.height); 21 | CGContextDrawRadialGradient (context, gradient, self.gradientCenter, 0, self.gradientCenter, radius, kCGGradientDrawsAfterEndLocation); 22 | CGGradientRelease(gradient); 23 | } 24 | 25 | @end 26 | -------------------------------------------------------------------------------- /xlog_ios_demo/Pods/Target Support Files/Pods-xlog_ios_demo/Pods-xlog_ios_demo-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /xlog_ios_demo/Pods/Target Support Files/Pods-xlog_ios_demo/Pods-xlog_ios_demo-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_xlog_ios_demo : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_xlog_ios_demo 5 | @end 6 | -------------------------------------------------------------------------------- /xlog_ios_demo/Pods/Target Support Files/Pods-xlog_ios_demo/Pods-xlog_ios_demo-frameworks-Debug-input-files.xcfilelist: -------------------------------------------------------------------------------- 1 | ${PODS_ROOT}/Target Support Files/Pods-xlog_ios_demo/Pods-xlog_ios_demo-frameworks.sh 2 | ${BUILT_PRODUCTS_DIR}/SSZipArchive/SSZipArchive.framework 3 | ${BUILT_PRODUCTS_DIR}/SVProgressHUD/SVProgressHUD.framework -------------------------------------------------------------------------------- /xlog_ios_demo/Pods/Target Support Files/Pods-xlog_ios_demo/Pods-xlog_ios_demo-frameworks-Debug-output-files.xcfilelist: -------------------------------------------------------------------------------- 1 | ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SSZipArchive.framework 2 | ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SVProgressHUD.framework -------------------------------------------------------------------------------- /xlog_ios_demo/Pods/Target Support Files/Pods-xlog_ios_demo/Pods-xlog_ios_demo-frameworks-Release-input-files.xcfilelist: -------------------------------------------------------------------------------- 1 | ${PODS_ROOT}/Target Support Files/Pods-xlog_ios_demo/Pods-xlog_ios_demo-frameworks.sh 2 | ${BUILT_PRODUCTS_DIR}/SSZipArchive/SSZipArchive.framework 3 | ${BUILT_PRODUCTS_DIR}/SVProgressHUD/SVProgressHUD.framework -------------------------------------------------------------------------------- /xlog_ios_demo/Pods/Target Support Files/Pods-xlog_ios_demo/Pods-xlog_ios_demo-frameworks-Release-output-files.xcfilelist: -------------------------------------------------------------------------------- 1 | ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SSZipArchive.framework 2 | ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SVProgressHUD.framework -------------------------------------------------------------------------------- /xlog_ios_demo/Pods/Target Support Files/Pods-xlog_ios_demo/Pods-xlog_ios_demo-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double Pods_xlog_ios_demoVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_xlog_ios_demoVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /xlog_ios_demo/Pods/Target Support Files/Pods-xlog_ios_demo/Pods-xlog_ios_demo.debug.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/SSZipArchive" "${PODS_CONFIGURATION_BUILD_DIR}/SVProgressHUD" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/SSZipArchive/SSZipArchive.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/SVProgressHUD/SVProgressHUD.framework/Headers" 5 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 6 | OTHER_LDFLAGS = $(inherited) -l"iconv" -l"z" -framework "QuartzCore" -framework "SSZipArchive" -framework "SVProgressHUD" -framework "Security" 7 | PODS_BUILD_DIR = ${BUILD_DIR} 8 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 9 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 10 | PODS_ROOT = ${SRCROOT}/Pods 11 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 12 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 13 | -------------------------------------------------------------------------------- /xlog_ios_demo/Pods/Target Support Files/Pods-xlog_ios_demo/Pods-xlog_ios_demo.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_xlog_ios_demo { 2 | umbrella header "Pods-xlog_ios_demo-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /xlog_ios_demo/Pods/Target Support Files/Pods-xlog_ios_demo/Pods-xlog_ios_demo.release.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/SSZipArchive" "${PODS_CONFIGURATION_BUILD_DIR}/SVProgressHUD" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/SSZipArchive/SSZipArchive.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/SVProgressHUD/SVProgressHUD.framework/Headers" 5 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 6 | OTHER_LDFLAGS = $(inherited) -l"iconv" -l"z" -framework "QuartzCore" -framework "SSZipArchive" -framework "SVProgressHUD" -framework "Security" 7 | PODS_BUILD_DIR = ${BUILD_DIR} 8 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 9 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 10 | PODS_ROOT = ${SRCROOT}/Pods 11 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 12 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 13 | -------------------------------------------------------------------------------- /xlog_ios_demo/Pods/Target Support Files/SSZipArchive/SSZipArchive-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 2.4.3 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /xlog_ios_demo/Pods/Target Support Files/SSZipArchive/SSZipArchive-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_SSZipArchive : NSObject 3 | @end 4 | @implementation PodsDummy_SSZipArchive 5 | @end 6 | -------------------------------------------------------------------------------- /xlog_ios_demo/Pods/Target Support Files/SSZipArchive/SSZipArchive-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /xlog_ios_demo/Pods/Target Support Files/SSZipArchive/SSZipArchive-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | #import "SSZipArchive.h" 14 | #import "SSZipCommon.h" 15 | 16 | FOUNDATION_EXPORT double SSZipArchiveVersionNumber; 17 | FOUNDATION_EXPORT const unsigned char SSZipArchiveVersionString[]; 18 | 19 | -------------------------------------------------------------------------------- /xlog_ios_demo/Pods/Target Support Files/SSZipArchive/SSZipArchive.debug.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/SSZipArchive 3 | DEFINES_MODULE = YES 4 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 HAVE_INTTYPES_H HAVE_PKCRYPT HAVE_STDINT_H HAVE_WZAES HAVE_ZLIB 5 | OTHER_LDFLAGS = $(inherited) -l"iconv" -l"z" -framework "Security" 6 | PODS_BUILD_DIR = ${BUILD_DIR} 7 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_ROOT = ${SRCROOT} 9 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/SSZipArchive 10 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 11 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 12 | SKIP_INSTALL = YES 13 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 14 | -------------------------------------------------------------------------------- /xlog_ios_demo/Pods/Target Support Files/SSZipArchive/SSZipArchive.modulemap: -------------------------------------------------------------------------------- 1 | framework module SSZipArchive { 2 | umbrella header "SSZipArchive-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /xlog_ios_demo/Pods/Target Support Files/SSZipArchive/SSZipArchive.release.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/SSZipArchive 3 | DEFINES_MODULE = YES 4 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 HAVE_INTTYPES_H HAVE_PKCRYPT HAVE_STDINT_H HAVE_WZAES HAVE_ZLIB 5 | OTHER_LDFLAGS = $(inherited) -l"iconv" -l"z" -framework "Security" 6 | PODS_BUILD_DIR = ${BUILD_DIR} 7 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_ROOT = ${SRCROOT} 9 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/SSZipArchive 10 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 11 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 12 | SKIP_INSTALL = YES 13 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 14 | -------------------------------------------------------------------------------- /xlog_ios_demo/Pods/Target Support Files/SVProgressHUD/SVProgressHUD-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 2.2.5 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /xlog_ios_demo/Pods/Target Support Files/SVProgressHUD/SVProgressHUD-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_SVProgressHUD : NSObject 3 | @end 4 | @implementation PodsDummy_SVProgressHUD 5 | @end 6 | -------------------------------------------------------------------------------- /xlog_ios_demo/Pods/Target Support Files/SVProgressHUD/SVProgressHUD-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /xlog_ios_demo/Pods/Target Support Files/SVProgressHUD/SVProgressHUD-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | #import "SVIndefiniteAnimatedView.h" 14 | #import "SVProgressAnimatedView.h" 15 | #import "SVProgressHUD.h" 16 | #import "SVRadialGradientLayer.h" 17 | 18 | FOUNDATION_EXPORT double SVProgressHUDVersionNumber; 19 | FOUNDATION_EXPORT const unsigned char SVProgressHUDVersionString[]; 20 | 21 | -------------------------------------------------------------------------------- /xlog_ios_demo/Pods/Target Support Files/SVProgressHUD/SVProgressHUD.debug.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/SVProgressHUD 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | OTHER_LDFLAGS = $(inherited) -framework "QuartzCore" 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/SVProgressHUD 9 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 10 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 11 | SKIP_INSTALL = YES 12 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 13 | -------------------------------------------------------------------------------- /xlog_ios_demo/Pods/Target Support Files/SVProgressHUD/SVProgressHUD.modulemap: -------------------------------------------------------------------------------- 1 | framework module SVProgressHUD { 2 | umbrella header "SVProgressHUD-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /xlog_ios_demo/Pods/Target Support Files/SVProgressHUD/SVProgressHUD.release.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/SVProgressHUD 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | OTHER_LDFLAGS = $(inherited) -framework "QuartzCore" 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/SVProgressHUD 9 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 10 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 11 | SKIP_INSTALL = YES 12 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 13 | -------------------------------------------------------------------------------- /xlog_ios_demo/README.md: -------------------------------------------------------------------------------- 1 | # xlog_ios_demo 2 | Tencent mars xlog iOS demo 3 | -------------------------------------------------------------------------------- /xlog_ios_demo/xlog_ios_demo.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /xlog_ios_demo/xlog_ios_demo.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /xlog_ios_demo/xlog_ios_demo.xcodeproj/project.xcworkspace/xcuserdata/jerryfans.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/xlog_ios_demo/xlog_ios_demo.xcodeproj/project.xcworkspace/xcuserdata/jerryfans.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /xlog_ios_demo/xlog_ios_demo.xcodeproj/xcuserdata/admin.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | xlog_ios_demo.xcscheme_^#shared#^_ 8 | 9 | orderHint 10 | 3 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /xlog_ios_demo/xlog_ios_demo.xcodeproj/xcuserdata/jerryfans.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | xlog_ios_demo.xcscheme_^#shared#^_ 8 | 9 | orderHint 10 | 3 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /xlog_ios_demo/xlog_ios_demo.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /xlog_ios_demo/xlog_ios_demo.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /xlog_ios_demo/xlog_ios_demo.xcworkspace/xcuserdata/admin.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/xlog_ios_demo/xlog_ios_demo.xcworkspace/xcuserdata/admin.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /xlog_ios_demo/xlog_ios_demo.xcworkspace/xcuserdata/jerryfans.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/xlog_ios_demo/xlog_ios_demo.xcworkspace/xcuserdata/jerryfans.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /xlog_ios_demo/xlog_ios_demo.xcworkspace/xcuserdata/jerryfans.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | -------------------------------------------------------------------------------- /xlog_ios_demo/xlog_ios_demo/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // xlog_ios_demo 4 | // 5 | // Created by 逸风 on 2022/3/5. 6 | // 7 | 8 | #import 9 | 10 | #define JRDebugMessage [[NSString stringWithFormat:@"func = %s, line = %d", __FUNCTION__, __LINE__] UTF8String] 11 | 12 | @interface AppDelegate : UIResponder 13 | @property (nonatomic, strong) UIWindow *window; 14 | @end 15 | 16 | -------------------------------------------------------------------------------- /xlog_ios_demo/xlog_ios_demo/AppDelegate.mm: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.m 3 | // xlog_ios_demo 4 | // 5 | // Created by 逸风 on 2022/3/5. 6 | // 7 | 8 | #import "AppDelegate.h" 9 | #import "JRXlogManager.h" 10 | 11 | @interface AppDelegate () 12 | 13 | @end 14 | 15 | @implementation AppDelegate 16 | 17 | 18 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { 19 | // Override point for customization after application launch. 20 | //这里没有登录,应该登录成功后 重新close 及初始化一遍 21 | //should login success do this code 22 | [[JRXlogManager shared] closeXlog]; 23 | [[JRXlogManager shared] initXlog:[@"test_xlog_userId" UTF8String] pathName:XlogDirName]; 24 | 25 | [[JRXlogManager shared] infoLogWithTag:JRDebugMessage Content:@"App init()"]; 26 | return YES; 27 | } 28 | 29 | 30 | #pragma mark - UISceneSession lifecycle 31 | 32 | 33 | - (UISceneConfiguration *)application:(UIApplication *)application configurationForConnectingSceneSession:(UISceneSession *)connectingSceneSession options:(UISceneConnectionOptions *)options { 34 | // Called when a new scene session is being created. 35 | // Use this method to select a configuration to create the new scene with. 36 | return [[UISceneConfiguration alloc] initWithName:@"Default Configuration" sessionRole:connectingSceneSession.role]; 37 | } 38 | 39 | 40 | - (void)application:(UIApplication *)application didDiscardSceneSessions:(NSSet *)sceneSessions { 41 | // Called when the user discards a scene session. 42 | // If any sessions were discarded while the application was not running, this will be called shortly after application:didFinishLaunchingWithOptions. 43 | // Use this method to release any resources that were specific to the discarded scenes, as they will not return. 44 | } 45 | 46 | 47 | @end 48 | -------------------------------------------------------------------------------- /xlog_ios_demo/xlog_ios_demo/Assets.xcassets/AccentColor.colorset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "colors" : [ 3 | { 4 | "idiom" : "universal" 5 | } 6 | ], 7 | "info" : { 8 | "author" : "xcode", 9 | "version" : 1 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /xlog_ios_demo/xlog_ios_demo/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "scale" : "2x", 6 | "size" : "20x20" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "scale" : "3x", 11 | "size" : "20x20" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "scale" : "2x", 16 | "size" : "29x29" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "scale" : "3x", 21 | "size" : "29x29" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "scale" : "2x", 26 | "size" : "40x40" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "scale" : "3x", 31 | "size" : "40x40" 32 | }, 33 | { 34 | "idiom" : "iphone", 35 | "scale" : "2x", 36 | "size" : "60x60" 37 | }, 38 | { 39 | "idiom" : "iphone", 40 | "scale" : "3x", 41 | "size" : "60x60" 42 | }, 43 | { 44 | "idiom" : "ipad", 45 | "scale" : "1x", 46 | "size" : "20x20" 47 | }, 48 | { 49 | "idiom" : "ipad", 50 | "scale" : "2x", 51 | "size" : "20x20" 52 | }, 53 | { 54 | "idiom" : "ipad", 55 | "scale" : "1x", 56 | "size" : "29x29" 57 | }, 58 | { 59 | "idiom" : "ipad", 60 | "scale" : "2x", 61 | "size" : "29x29" 62 | }, 63 | { 64 | "idiom" : "ipad", 65 | "scale" : "1x", 66 | "size" : "40x40" 67 | }, 68 | { 69 | "idiom" : "ipad", 70 | "scale" : "2x", 71 | "size" : "40x40" 72 | }, 73 | { 74 | "idiom" : "ipad", 75 | "scale" : "1x", 76 | "size" : "76x76" 77 | }, 78 | { 79 | "idiom" : "ipad", 80 | "scale" : "2x", 81 | "size" : "76x76" 82 | }, 83 | { 84 | "idiom" : "ipad", 85 | "scale" : "2x", 86 | "size" : "83.5x83.5" 87 | }, 88 | { 89 | "idiom" : "ios-marketing", 90 | "scale" : "1x", 91 | "size" : "1024x1024" 92 | } 93 | ], 94 | "info" : { 95 | "author" : "xcode", 96 | "version" : 1 97 | } 98 | } 99 | -------------------------------------------------------------------------------- /xlog_ios_demo/xlog_ios_demo/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "author" : "xcode", 4 | "version" : 1 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /xlog_ios_demo/xlog_ios_demo/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /xlog_ios_demo/xlog_ios_demo/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | UIApplicationSceneManifest 6 | 7 | UIApplicationSupportsMultipleScenes 8 | 9 | UISceneConfigurations 10 | 11 | UIWindowSceneSessionRoleApplication 12 | 13 | 14 | UISceneConfigurationName 15 | Default Configuration 16 | UISceneDelegateClassName 17 | SceneDelegate 18 | UISceneStoryboardFile 19 | Main 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /xlog_ios_demo/xlog_ios_demo/SceneDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // SceneDelegate.h 3 | // xlog_ios_demo 4 | // 5 | // Created by 逸风 on 2022/3/5. 6 | // 7 | 8 | #import 9 | 10 | @interface SceneDelegate : UIResponder 11 | 12 | @property (strong, nonatomic) UIWindow * window; 13 | 14 | @end 15 | 16 | -------------------------------------------------------------------------------- /xlog_ios_demo/xlog_ios_demo/ViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.h 3 | // xlog_ios_demo 4 | // 5 | // Created by 逸风 on 2022/3/5. 6 | // 7 | 8 | #import 9 | 10 | @interface ViewController : UIViewController 11 | 12 | 13 | @end 14 | 15 | -------------------------------------------------------------------------------- /xlog_ios_demo/xlog_ios_demo/XLogUtil/JRXlogManager.h: -------------------------------------------------------------------------------- 1 | // 2 | // JRXlogManager.h 3 | // xlog_ios_demo 4 | // 5 | // Created by 逸风 on 2022/3/5. 6 | // 7 | 8 | #import 9 | 10 | extern NSString * const XlogDirName; 11 | 12 | static inline NSString* getXlogPath(NSString *pathName) { 13 | NSString* logPath = [[NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) objectAtIndex:0] stringByAppendingPathComponent:pathName]; 14 | return logPath; 15 | } 16 | 17 | typedef NS_ENUM(NSInteger, XLoggerType) { 18 | XLoggerTypeDebug, 19 | XLoggerTypeInfo, 20 | XLoggerTypeWarning, 21 | XLoggerTypeError 22 | }; 23 | 24 | @interface JRXlogManager : NSObject 25 | 26 | + (instancetype)shared; 27 | 28 | - (void)initXlog:(const char *)prefixName pathName:(NSString *)pathName; 29 | 30 | /** 关闭Xlog */ 31 | - (void)closeXlog; 32 | 33 | - (void)log:(XLoggerType)level tag:(const char *)tag content:(NSString *)content; 34 | 35 | - (void)infoLogWithTag:(const char *)tag Content:(NSString *)content; 36 | 37 | - (void)debugLogWithTag:(const char *)tag Content:(NSString *)content; 38 | 39 | - (void)errorLogWithTag:(const char *)tag Content:(NSString *)content; 40 | 41 | - (void)warningLogWithTag:(const char *)tag Content:(NSString *)content; 42 | 43 | @end 44 | -------------------------------------------------------------------------------- /xlog_ios_demo/xlog_ios_demo/XLogUtil/LogHelper.h: -------------------------------------------------------------------------------- 1 | // Tencent is pleased to support the open source community by making Mars available. 2 | // Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved. 3 | 4 | // Licensed under the MIT License (the "License"); you may not use this file except in 5 | // compliance with the License. You may obtain a copy of the License at 6 | // http://opensource.org/licenses/MIT 7 | 8 | // Unless required by applicable law or agreed to in writing, software distributed under the License is 9 | // distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, 10 | // either express or implied. See the License for the specific language governing permissions and 11 | // limitations under the License. 12 | 13 | // 14 | // LogHelper.h 15 | // iOSDemo 16 | // 17 | // Created by caoshaokun on 16/11/30. 18 | // Copyright © 2016年 caoshaokun. All rights reserved. 19 | // 20 | 21 | #import 22 | 23 | #import 24 | 25 | @interface LogHelper : NSObject 26 | 27 | + (void)logWithLevel:(TLogLevel)logLevel moduleName:(const char*)moduleName fileName:(const char*)fileName lineNumber:(int)lineNumber funcName:(const char*)funcName message:(NSString *)message; 28 | + (void)logWithLevel:(TLogLevel)logLevel moduleName:(const char*)moduleName fileName:(const char*)fileName lineNumber:(int)lineNumber funcName:(const char*)funcName format:(NSString *)format, ...; 29 | 30 | + (BOOL)shouldLog:(int)level; 31 | 32 | @end 33 | 34 | #define LogInternal(level, module, file, line, func, prefix, format, ...) \ 35 | do { \ 36 | if ([LogHelper shouldLog:level]) { \ 37 | NSString *aMessage = [NSString stringWithFormat:@"%@%@", prefix, [NSString stringWithFormat:format, ##__VA_ARGS__, nil]]; \ 38 | [LogHelper logWithLevel:level moduleName:module fileName:file lineNumber:line funcName:func message:aMessage]; \ 39 | } \ 40 | } while(0) 41 | -------------------------------------------------------------------------------- /xlog_ios_demo/xlog_ios_demo/XLogUtil/LogUtil.h: -------------------------------------------------------------------------------- 1 | // Tencent is pleased to support the open source community by making Mars available. 2 | // Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved. 3 | 4 | // Licensed under the MIT License (the "License"); you may not use this file except in 5 | // compliance with the License. You may obtain a copy of the License at 6 | // http://opensource.org/licenses/MIT 7 | 8 | // Unless required by applicable law or agreed to in writing, software distributed under the License is 9 | // distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, 10 | // either express or implied. See the License for the specific language governing permissions and 11 | // limitations under the License. 12 | 13 | // 14 | // LogUtil.h 15 | // iOSDemo 16 | // 17 | // Created by caoshaokun on 16/11/30. 18 | // Copyright © 2016年 caoshaokun. All rights reserved. 19 | // 20 | 21 | #import 22 | 23 | #import "LogHelper.h" 24 | 25 | @interface LogUtil : NSObject 26 | 27 | @end 28 | 29 | #define __FILENAME__ (strrchr(__FILE__,'/')+1) 30 | 31 | /** 32 | * Module Logging 33 | */ 34 | #define LOG_ERROR(module, format, ...) LogInternal(kLevelError, module, __FILENAME__, __LINE__, __FUNCTION__, @"Error:", format, ##__VA_ARGS__) 35 | #define LOG_WARNING(module, format, ...) LogInternal(kLevelWarn, module, __FILENAME__, __LINE__, __FUNCTION__, @"Warning:", format, ##__VA_ARGS__) 36 | #define LOG_INFO(module, format, ...) LogInternal(kLevelInfo, module, __FILENAME__, __LINE__, __FUNCTION__, @"Info:", format, ##__VA_ARGS__) 37 | #define LOG_DEBUG(module, format, ...) LogInternal(kLevelDebug, module, __FILENAME__, __LINE__, __FUNCTION__, @"Debug:", format, ##__VA_ARGS__) 38 | 39 | static const char *kModuleViewController = "ViewController"; 40 | static const char *kNetwork = "Network"; 41 | -------------------------------------------------------------------------------- /xlog_ios_demo/xlog_ios_demo/XLogUtil/LogUtil.m: -------------------------------------------------------------------------------- 1 | // Tencent is pleased to support the open source community by making Mars available. 2 | // Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved. 3 | 4 | // Licensed under the MIT License (the "License"); you may not use this file except in 5 | // compliance with the License. You may obtain a copy of the License at 6 | // http://opensource.org/licenses/MIT 7 | 8 | // Unless required by applicable law or agreed to in writing, software distributed under the License is 9 | // distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, 10 | // either express or implied. See the License for the specific language governing permissions and 11 | // limitations under the License. 12 | 13 | // 14 | // LogUtil.m 15 | // iOSDemo 16 | // 17 | // Created by caoshaokun on 16/11/30. 18 | // Copyright © 2016年 caoshaokun. All rights reserved. 19 | // 20 | 21 | #import "LogUtil.h" 22 | 23 | @implementation LogUtil 24 | 25 | @end 26 | -------------------------------------------------------------------------------- /xlog_ios_demo/xlog_ios_demo/library/mars.framework/Headers/comm/ThreadOperationQueue.h: -------------------------------------------------------------------------------- 1 | // Tencent is pleased to support the open source community by making Mars available. 2 | // Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved. 3 | 4 | // Licensed under the MIT License (the "License"); you may not use this file except in 5 | // compliance with the License. You may obtain a copy of the License at 6 | // http://opensource.org/licenses/MIT 7 | 8 | // Unless required by applicable law or agreed to in writing, software distributed under the License is 9 | // distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, 10 | // either express or implied. See the License for the specific language governing permissions and 11 | // limitations under the License. 12 | 13 | // 14 | // ThreadOperationQueue.h 15 | // MicroMessenger 16 | // 17 | // Created by yerungui on 12-12-18. 18 | // 19 | 20 | #ifndef __MicroMessenger__ThreadOperationQueue__ 21 | #define __MicroMessenger__ThreadOperationQueue__ 22 | 23 | #import 24 | 25 | @interface ThreadQueue : NSObject 26 | {} 27 | 28 | +(BOOL) RunWithTarget:(id)target selector:(SEL)sel object:(id)arg; 29 | @end 30 | 31 | 32 | extern "C" BOOL RunWithTarget(void (*_funp)(void*), void* _arg); 33 | extern "C" BOOL RunWithTargetNoParam(void (*_fun)()); 34 | 35 | 36 | #endif /* defined(__MicroMessenger__ThreadOperationQueue__) */ 37 | -------------------------------------------------------------------------------- /xlog_ios_demo/xlog_ios_demo/library/mars.framework/Headers/comm/local_ipstack.h: -------------------------------------------------------------------------------- 1 | // Tencent is pleased to support the open source community by making Mars available. 2 | // Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved. 3 | 4 | // Licensed under the MIT License (the "License"); you may not use this file except in 5 | // compliance with the License. You may obtain a copy of the License at 6 | // http://opensource.org/licenses/MIT 7 | 8 | // Unless required by applicable law or agreed to in writing, software distributed under the License is 9 | // distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, 10 | // either express or implied. See the License for the specific language governing permissions and 11 | // limitations under the License. 12 | 13 | // 14 | // IPv6_only.hpp 15 | // comm 16 | // 17 | // Created by yerungui on 16/1/14. 18 | // 19 | 20 | #ifndef __ip_type__ 21 | #define __ip_type__ 22 | 23 | #ifdef __cplusplus 24 | extern "C" { 25 | #endif 26 | 27 | enum TLocalIPStack { 28 | ELocalIPStack_None = 0, 29 | ELocalIPStack_IPv4 = 1, 30 | ELocalIPStack_IPv6 = 2, 31 | ELocalIPStack_Dual = 3, 32 | }; 33 | 34 | const char* const TLocalIPStackStr[] = { 35 | "ELocalIPStack_None", 36 | "ELocalIPStack_IPv4", 37 | "ELocalIPStack_IPv6", 38 | "ELocalIPStack_Dual", 39 | }; 40 | 41 | TLocalIPStack local_ipstack_detect(); 42 | 43 | #ifdef __cplusplus 44 | } 45 | #endif 46 | 47 | #include 48 | TLocalIPStack local_ipstack_detect_log(std::string& _log); 49 | 50 | 51 | #endif /* __ip_type__ */ 52 | -------------------------------------------------------------------------------- /xlog_ios_demo/xlog_ios_demo/library/mars.framework/Headers/comm/projdef.h: -------------------------------------------------------------------------------- 1 | // Tencent is pleased to support the open source community by making Mars available. 2 | // Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved. 3 | 4 | // Licensed under the MIT License (the "License"); you may not use this file except in 5 | // compliance with the License. You may obtain a copy of the License at 6 | // http://opensource.org/licenses/MIT 7 | 8 | // Unless required by applicable law or agreed to in writing, software distributed under the License is 9 | // distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, 10 | // either express or implied. See the License for the specific language governing permissions and 11 | // limitations under the License. 12 | 13 | // 14 | // prjdef.h 15 | // comm 16 | // 17 | // Created by yerungui on 16/4/26. 18 | // Copyright © 2016年 Tencent. All rights reserved. 19 | // 20 | 21 | #ifndef prjdef_h 22 | #define prjdef_h 23 | 24 | #ifdef _WIN32 25 | #include "windows/projdef.h" 26 | #endif 27 | 28 | 29 | #endif /* prjdef_h */ 30 | -------------------------------------------------------------------------------- /xlog_ios_demo/xlog_ios_demo/library/mars.framework/Headers/comm/scope_autoreleasepool.h: -------------------------------------------------------------------------------- 1 | // Tencent is pleased to support the open source community by making Mars available. 2 | // Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved. 3 | 4 | // Licensed under the MIT License (the "License"); you may not use this file except in 5 | // compliance with the License. You may obtain a copy of the License at 6 | // http://opensource.org/licenses/MIT 7 | 8 | // Unless required by applicable law or agreed to in writing, software distributed under the License is 9 | // distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, 10 | // either express or implied. See the License for the specific language governing permissions and 11 | // limitations under the License. 12 | 13 | // 14 | // scope_autoreleasepool.h 15 | // MicroMessenger 16 | // 17 | // Created by yerungui on 12-11-30. 18 | // 19 | 20 | #ifndef __MicroMessenger__scope_autoreleasepool__ 21 | #define __MicroMessenger__scope_autoreleasepool__ 22 | 23 | class Scope_AutoReleasePool { 24 | public: 25 | Scope_AutoReleasePool(); 26 | ~Scope_AutoReleasePool(); 27 | 28 | private: 29 | Scope_AutoReleasePool(const Scope_AutoReleasePool&); 30 | Scope_AutoReleasePool& operator=(const Scope_AutoReleasePool&); 31 | 32 | private: 33 | id m_pool; 34 | }; 35 | 36 | #define SCOPE_POOL() Scope_AutoReleasePool __pool__##__LINE__ 37 | 38 | #endif /* defined(__MicroMessenger__scope_autoreleasepool__) */ 39 | -------------------------------------------------------------------------------- /xlog_ios_demo/xlog_ios_demo/library/mars.framework/Headers/comm/time_utils.h: -------------------------------------------------------------------------------- 1 | // Tencent is pleased to support the open source community by making Mars available. 2 | // Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved. 3 | 4 | // Licensed under the MIT License (the "License"); you may not use this file except in 5 | // compliance with the License. You may obtain a copy of the License at 6 | // http://opensource.org/licenses/MIT 7 | 8 | // Unless required by applicable law or agreed to in writing, software distributed under the License is 9 | // distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, 10 | // either express or implied. See the License for the specific language governing permissions and 11 | // limitations under the License. 12 | 13 | 14 | /* 15 | * utils.h 16 | * 17 | * Created on: 2012-7-18 18 | * Author: yerungui 19 | */ 20 | 21 | #ifndef COMM_UTILS_H_ 22 | #define COMM_UTILS_H_ 23 | 24 | #include 25 | #include 26 | #ifdef __cplusplus 27 | extern "C" { 28 | #endif 29 | 30 | uint64_t gettickcount(); // ms 31 | int64_t gettickspan(uint64_t _old_tick); // ms 32 | uint64_t timeMs(); 33 | 34 | uint64_t clock_app_monotonic(); // ms 35 | 36 | #ifdef __cplusplus 37 | } 38 | #endif 39 | 40 | 41 | #endif /* COMM_UTILS_H_ */ 42 | -------------------------------------------------------------------------------- /xlog_ios_demo/xlog_ios_demo/library/mars.framework/Headers/comm/verinfo.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef Mars_verinfo_h 3 | #define Mars_verinfo_h 4 | 5 | #define MARS_REVISION "" 6 | #define MARS_PATH "" 7 | #define MARS_URL "" 8 | #define MARS_BUILD_TIME "2022-03-05 17:41:21" 9 | #define MARS_TAG "" 10 | 11 | #endif 12 | -------------------------------------------------------------------------------- /xlog_ios_demo/xlog_ios_demo/library/mars.framework/mars: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JerryFans/mars_xlog_decoder_gui/a3f80a87ed068495032a2c7fadac45433806dddf/xlog_ios_demo/xlog_ios_demo/library/mars.framework/mars -------------------------------------------------------------------------------- /xlog_ios_demo/xlog_ios_demo/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // xlog_ios_demo 4 | // 5 | // Created by 逸风 on 2022/3/5. 6 | // 7 | 8 | #import 9 | #import "AppDelegate.h" 10 | 11 | int main(int argc, char * argv[]) { 12 | NSString * appDelegateClassName; 13 | @autoreleasepool { 14 | // Setup code that might create autoreleased objects goes here. 15 | appDelegateClassName = NSStringFromClass([AppDelegate class]); 16 | } 17 | return UIApplicationMain(argc, argv, nil, appDelegateClassName); 18 | } 19 | --------------------------------------------------------------------------------