1. 01 9月, 2018 1 次提交
    • J
      Mark deprecated Flutter iOS APIs as unavailable (#6124) · fbf67264
      James D. Lin 提交于
      The following were previously marked as deprecated over a month ago:
      * `FlutterStandardBigInteger`
      * `-[FlutterDartProject initFromDefaultSourceForConfiguration]`
      
      Remove their implementations and mark them as unavailable.
      fbf67264
  2. 31 8月, 2018 2 次提交
  3. 29 8月, 2018 3 次提交
  4. 28 8月, 2018 1 次提交
  5. 25 8月, 2018 2 次提交
  6. 23 8月, 2018 1 次提交
  7. 21 8月, 2018 3 次提交
  8. 18 8月, 2018 1 次提交
    • A
      Add views added to the WindowManager into the presentation view tree. (#6043) · be0c3143
      amirh 提交于
      The default WindowManager implementation in Android's Presentation is
      delegating addView/removeView/updateViewLayout calls to the global
      WindowManager.
      This can result in a crash when an embedded view is trying to e.g show a
      PopupWindow.
      
      This change adds a custom WindowManager that overrides
      addView (and removeView/updateViewLayout) and adds the view to the
      presentation's view tree.
      
      Note that views might keep a reference to the window manager which
      might be an issue when we move a view from one virtual display to
      another (due to a resize). For this reason when re-sizing we are not
      creating a new window manager for the new presentation, but updating the
      window manager's references to be relevant for the new presentation and
      re-use it.
      be0c3143
  9. 17 8月, 2018 1 次提交
    • J
      Fix potential null pointer dereference in FlutterDartProject (#6035) · 4ff4a5cc
      James D. Lin 提交于
      If `FlutterDartProject` found an `FLTLibraryPath` entry in an iOS
      application's `Info.plist`, it assumed that values that were valid
      filesystem paths were paths to bundles.  If the attempt to retrieve
      the `NSBundle` fails, `FlutterDartProject` ignored the failure and
      then would assign `nil` to a C++ `std::string`, resulting in a null
      pointer dereference.
      
      Add some failure checks to prevent this.
      4ff4a5cc
  10. 15 8月, 2018 5 次提交
  11. 11 8月, 2018 2 次提交
  12. 10 8月, 2018 2 次提交
  13. 09 8月, 2018 2 次提交
  14. 08 8月, 2018 6 次提交
  15. 07 8月, 2018 3 次提交
  16. 03 8月, 2018 3 次提交
    • A
      Flush all embedded Android views on hot restart. (#5929) · ffbafc85
      amirh 提交于
      * Flush all embedded Android view on hot restart.
      
      Adds an OnEngineRestarted method to PlatformView, this is currently only
      implemented for Android where we need to use it for embedded views.
      
      * review comments followup
      
      * rename to OnPreEngineRestart, call before Clone
      ffbafc85
    • A
      Don't drop MotionEvents with unknown tool type. (#5931) · 3b66f20d
      amirh 提交于
      Instead, send them with the new unknown PointerDeviceKind.
      
      We hit this when running `adb shell input tap` in tests which sends events with
      an unknown tool type.
      
      This also fills in a missing conversion for TOOL_TYPE_ERASER.
      3b66f20d
    • J
      Add an explicit `-[FlutterViewController init]` implementation (#5924) · 76ec93da
      James D. Lin 提交于
      * Add an explicit `-[FlutterViewController init]` implementation
      
      `-[FlutterViewController init]` currently works because it inherits
      the `-[UIViewController init]` convenience initializer that invokes
      the `-[UIViewController initWithNibName:bundle:]` designated
      initializer that `FlutterViewController` overrides.
      
      However, this doesn't seem to be explicitly documented, so it's a bit
      confusing (or at least non-obvious), and it seems potentially
      brittle.  Add an explicit implementation of `-[FlutterViewController
      init]` instead.
      76ec93da
  17. 02 8月, 2018 1 次提交
  18. 01 8月, 2018 1 次提交