Andrey Goncharov
98dde53cda
Add companion logging
...
Summary: Add top-level error logging to flipper-server. Use the top-level logging mechanism in flipper-companion.
Reviewed By: lblasa
Differential Revision: D36252218
fbshipit-source-id: 58d22b3b9bd51e597b5250478640f54d10277861
2022-05-10 05:13:24 -07:00
Andrey Goncharov
e218b79de2
Implement companion
...
Summary: Add Flipper Server Companion implementation. It extends the list of commands handled by Flipper Server by adding commands to interact with device or app Flipper plugins.
Reviewed By: mweststrate
Differential Revision: D36130159
fbshipit-source-id: 2eb6ba0fbae0fa850eadb7d417aa476240994bd5
2022-05-10 05:13:24 -07:00
Andrey Goncharov
ecb92c195c
Implement HeadlessPluginInitializer
...
Reviewed By: lblasa
Differential Revision: D36130160
fbshipit-source-id: 6edff1c54bf5bf8cb85387bc2877788f947f97a6
2022-05-10 05:13:24 -07:00
Andrey Goncharov
deaf2359b1
Implement HeadlessClient
...
Reviewed By: lblasa
Differential Revision: D36130082
fbshipit-source-id: 00f9709d9a4f245063ae428521031afe74a521d6
2022-05-10 05:13:24 -07:00
Andrey Goncharov
5d346b4991
Add flipper-server-companion
...
Summary: Flipper Server Companion starts headless plugins and exposes them over the wire
Reviewed By: passy
Differential Revision: D36098170
fbshipit-source-id: 3b1b077d1fa4adca5c340ad4475b80b229586e1b
2022-05-10 05:13:24 -07:00
Andrey Goncharov
d795117910
Expose exports from the root of flipper-frontend-core
...
Summary: flipper-frontend-core shares logic between different desktop flipper clients: flipper browser ui, flipper electron, flipper headless
Reviewed By: passy
Differential Revision: D36129747
fbshipit-source-id: 598382ad3897701b307a16a42dc65d4c277b3e15
2022-05-10 05:13:24 -07:00
Andrey Goncharov
7cae3af507
Add plugin initializer to flipper-frontend-core
...
Summary: Extract plugin initialization
Reviewed By: mweststrate
Differential Revision: D36129748
fbshipit-source-id: db56e24388f7ed858d2173b67affa37de842a9b1
2022-05-10 05:13:24 -07:00
Andrey Goncharov
ea6c293726
Set global replacements in flipper-frontend-core
...
Summary: Extract setting global replacements from plugin initialization
Reviewed By: mweststrate
Differential Revision: D36129749
fbshipit-source-id: 6f5b3e27c1b798124b5f2772e9099899ce521d0a
2022-05-10 05:13:24 -07:00
Andrey Goncharov
658cd1544d
Add AbstractClient to flipper-frontend-core
...
Summary: AbstractClient provides basic interaction with Flipper Server and manages plugins
Reviewed By: mweststrate
Differential Revision: D36129750
fbshipit-source-id: 056589666c45821d0af276e3a1572708e0a3b903
2022-05-10 05:13:24 -07:00
Andrey Goncharov
f0b5e7cadb
Copy RenderHost, FlipperLib initialization, device definition to flipper-frontend-core
...
Reviewed By: passy
Differential Revision: D36129746
fbshipit-source-id: 15e32b9482d7fe3a24567d2e6bc087095b98226e
2022-05-10 05:13:24 -07:00
Andrey Goncharov
db49673d8a
Setup flipper-frontend-core
...
Reviewed By: passy
Differential Revision: D36129751
fbshipit-source-id: 7e2a792de412a7ada8c58e0d3f0c6c2d18828996
2022-05-10 05:13:24 -07:00
Andrey Goncharov
5a5c0ce426
Export typeUtils from flipper-common
...
Reviewed By: passy
Differential Revision: D36098166
fbshipit-source-id: 0f3da1d17da8ff6d08bc05abe73f9657df3bc3b8
2022-05-10 05:13:24 -07:00
Andrey Goncharov
2854e75e9c
Support exporting public API from a plugin
...
Reviewed By: passy
Differential Revision: D36098167
fbshipit-source-id: 90182248d0541a1d8eff92a391a56422537c0595
2022-05-10 05:13:24 -07:00
Andrey Goncharov
3dd7583fdc
Add device-find, client-find server commands
...
Reviewed By: passy
Differential Revision: D36098171
fbshipit-source-id: f0d0bbefcafc57a6413f9ffe8da271419c0d4deb
2022-05-10 05:13:24 -07:00
Andrey Goncharov
50111ef24b
Add headless plugin definition
...
Summary: Support explicitly marking headless plugins as "headless"
Reviewed By: passy
Differential Revision: D35891387
fbshipit-source-id: 50b5acb3a7c52d7aedf32e271ebe6fc6d4fcef73
2022-05-10 05:13:24 -07:00
Andrey Goncharov
3ac93d301a
Remove optional in plugin init/deinit
...
Reviewed By: mweststrate
Differential Revision: D35965072
fbshipit-source-id: 0be6b538d371e41b438263a6a4161b079861b293
2022-05-10 05:13:24 -07:00
Michel Weststrate
ee013e29fc
Make sure public prettier plugin is recommended when developing on Flipper
...
Summary: On a fresh VS Code install, only the internal Prettier plugin is available, but not the open source version, which we need as the internal one doesn't work on Flipper (probably due to TypeScript?)
Reviewed By: lblasa
Differential Revision: D36275616
fbshipit-source-id: bccbbcd372f7a7ecca46eb83f5515543e611235c
2022-05-10 04:13:22 -07:00
Kevin Strider
4fe3bbf82f
android-native.mdx (SetUp - Android with Gradle)
...
Summary: Restyle of the page, including changes to spelling, grammar, links, and structure (where relevant).
Reviewed By: lblasa
Differential Revision: D36246509
fbshipit-source-id: 008b137defae3e15144670e0415ad91383012b21
2022-05-10 02:04:32 -07:00
Kevin Strider
292c710f9e
react-native-android.mdx (SetUp - React Automatic Setup)
...
Summary: Restyle of the page, including changes to spelling, grammar, links, and structure (where relevant).
Reviewed By: lblasa
Differential Revision: D36249814
fbshipit-source-id: 94d809fe2d2cba8c18891128e13cb05196998d59
2022-05-10 01:48:48 -07:00
Kevin Strider
d9dba25c5e
react-native.mdx (SetUp - React Automatic Setup)
...
Summary: Restyle of the page, including changes to spelling, grammar, links, and structure (where relevant).
Reviewed By: lblasa
Differential Revision: D36248900
fbshipit-source-id: dfa0d3413741be8223719630675f36adc0acd7b5
2022-05-10 01:45:39 -07:00
Mengke Ding
0ee8f09fe5
Back out "Automatically set Android devices into the permissive mode"
...
Summary:
Original commit changeset: 471470c5ca91
Original Phabricator Diff: D35356211 (501abc6b55 )
Recently, bloks users reported that android emulators lost connection upon launching Flipper. (S270689)
Manual bisecting indicates that remote emulators won't crash on v0.142.362128844 (4/6) but crash on 0.143.365099607 (4/21).
Looking at https://www.internalfb.com/code/fbsource/[history]/xplat/scripts/.flipperversion.v2 , and backing out D35356211 (501abc6b55 ) fixes the issue.
It's still unclear why setting `setIntoPermissiveMode` would crash/disconnect the android emulators, I'd defer Flipper team to investigate this further but this diff should unblock all the android bloks emulator + Flipper use case.
Reviewed By: lblasa
Differential Revision: D36263724
fbshipit-source-id: e8674730c0185457f6eda347ce7d9a41f9e1a2a4
2022-05-09 16:04:14 -07:00
Kevin Strider
57e3253bb0
index.mdx (SetUp - Desktop App)
...
Summary: Restyle of the page, including changes to spelling, grammar, links, and structure (where relevant).
Reviewed By: lblasa
Differential Revision: D36244835
fbshipit-source-id: 8f19cf6bb5064da98f567e8fede2af80b8004ced
2022-05-09 10:46:47 -07:00
Kevin Strider
b38591a35c
features docs
...
Summary:
Remove reference to limitation of an API to a particular platform or app.
We show in Flipper whether the plugin is compatible or not. For example, if an iOS device is connected, for plugins that don't support iOS, Flipper marks them as disabled and show a message.
Reviewed By: lblasa
Differential Revision: D36241811
fbshipit-source-id: 4f936279c8dd616fc95a4e6c3e149a0b74b98bd6
2022-05-09 05:46:04 -07:00
Lorenzo Blasa
1beae3230b
Remove OpenSSL file BIO operations
...
Summary:
^
Change necessary when OpenSSL is compiled without STDIO for file operations. Basically, don't use the BIO file API's. Instead use in-memory BIO and do file operations manually.
UPDATE:
The changes were good, but have been simplified and fixed. A fixed was needed as to read and write the file in binary mode. This has no effect in POSIX systems but it does on Windows and this change was made for Windows. It meant that the BIO was incorrectly written to disk thus corrupting its content.
Changelog: Remove OpenSSL file BIO operations
Reviewed By: jknoxville
Differential Revision: D36060992
fbshipit-source-id: 21b30582dd0b32c24b8ba001d6993034d92de1da
2022-05-09 05:27:21 -07:00
Pascal Hartig
274c0a242e
Update mac server bundle layout
...
Summary: Take changes from D36140809 into account.
Reviewed By: aigoncharov
Differential Revision: D36206155
fbshipit-source-id: 794f8dd60e47f14acc4fb5fd9fd3d98fa5afdadf
2022-05-09 04:19:55 -07:00
Pascal Hartig
045e0cc9fe
App bundle for server
...
Summary:
This bundles up the Flipper Server in a Mac App Bundle which is identically in shape to a regular Desktop bundle. That means we can swap them out transparently without having to keep the layout in sync with Flipper Launcher.
It bundles nodeJS binary which we can later also provide for aarch64.
Reviewed By: aigoncharov
Differential Revision: D36140809
fbshipit-source-id: fb3410626ab172ce0da48f1a4a1489da68450369
2022-05-09 04:19:55 -07:00
Pascal Hartig
39317adfb7
Disable flaky PluginContainer test ( #3693 )
...
Summary:
Keeps flaking out: https://github.com/facebook/flipper/runs/6308722109?check_suite_focus=true
Pull Request resolved: https://github.com/facebook/flipper/pull/3693
Reviewed By: aigoncharov
Differential Revision: D36170437
Pulled By: passy
fbshipit-source-id: 471e702243d68d927287aad5d1fc1d8c392b059c
2022-05-09 03:35:52 -07:00
dependabot[bot]
bf06202e75
Bump protobuf-java from 3.20.0 to 3.20.1 ( #3656 )
...
Summary:
Bumps [protobuf-java](https://github.com/protocolbuffers/protobuf ) from 3.19.4 to 3.20.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/protocolbuffers/protobuf/releases ">protobuf-java's releases</a>.</em></p>
<blockquote>
<h2>Protocol Buffers v3.20.1</h2>
<h1>PHP</h1>
<ul>
<li>Fix building packaged PHP extension (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9727 ">#9727</a>)</li>
<li>Fixed composer.json to only advertise compatibility with PHP 7.0+. (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9819 ">#9819</a>)</li>
</ul>
<h1>Ruby</h1>
<ul>
<li>Disable the aarch64 build on macOS until it can be fixed. (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9816 ">#9816</a>)</li>
</ul>
<h1>Other</h1>
<ul>
<li>Fix versioning issues in 3.20.0</li>
</ul>
<h2>Protocol Buffers v3.20.1-rc1</h2>
<p>#PHP</p>
<ul>
<li>Fix building packaged PHP extension (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9727 ">#9727</a>)</li>
</ul>
<p>#Other</p>
<ul>
<li>Fix versioning issues in 3.20.0</li>
</ul>
<h2>Protocol Buffers v3.20.0</h2>
<p>2022-03-25 version 3.20.0 (C++/Java/Python/PHP/Objective-C/C#/Ruby/JavaScript)</p>
<h1>Ruby</h1>
<ul>
<li>Dropped Ruby 2.3 and 2.4 support for CI and releases. (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9311 ">#9311</a>)</li>
<li>Added Ruby 3.1 support for CI and releases (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9566 ">#9566</a>).</li>
<li>Message.decode/encode: Add recursion_limit option (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9218 ">#9218</a>/<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9486 ">#9486</a>)</li>
<li>Allocate with xrealloc()/xfree() so message allocation is visible to the
Ruby GC. In certain tests this leads to much lower memory usage due to more
frequent GC runs (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9586 ">#9586</a>).</li>
<li>Fix conversion of singleton classes in Ruby (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9342 ">#9342</a>)</li>
<li>Suppress warning for intentional circular require (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9556 ">#9556</a>)</li>
<li>JSON will now output shorter strings for double and float fields when possible
without losing precision.</li>
<li>Encoding and decoding of binary format will now work properly on big-endian
systems.</li>
<li>UTF-8 verification was fixed to properly reject surrogate code points.</li>
<li>Unknown enums for proto2 protos now properly implement proto2's behavior of
putting such values in unknown fields.</li>
</ul>
<h1>Java</h1>
<ul>
<li>Revert "Standardize on Array copyOf" (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9400 ">#9400</a>)</li>
<li>Resolve more java field accessor name conflicts (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8198 ">#8198</a>)</li>
<li>Don't support map fields in DynamicMessage.Builder.{getFieldBuilder,getRepeatedFieldBuilder}</li>
<li>Fix parseFrom to only throw InvalidProtocolBufferException</li>
<li>InvalidProtocolBufferException now allows arbitrary wrapped Exception types.</li>
<li>Fix bug in <code>FieldSet.Builder.mergeFrom</code></li>
<li>Flush CodedOutputStream also flushes underlying OutputStream</li>
<li>When oneof case is the same and the field type is Message, merge the
subfield. (previously it was replaced.)’</li>
<li>Add <a href="https://github.com/CheckReturnValue "><code>@CheckReturnValue</code></a> to some protobuf types</li>
<li>Report original exceptions when parsing JSON</li>
</ul>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="21027a27c4 "><code>21027a2</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9832 ">#9832</a> from haberman/php-dist</li>
<li><a href="634a5681b8 "><code>634a568</code></a> Fixed PHP release script.</li>
<li><a href="616a7ef54d "><code>616a7ef</code></a> Updated CHANGES.txt for 3.20.1 (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9826 ">#9826</a>)</li>
<li><a href="296c1fdaff "><code>296c1fd</code></a> Update protobuf version (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9820 ">#9820</a>)</li>
<li><a href="6387f95aa9 "><code>6387f95</code></a> fix: move composer.json out of root to avoid confusion (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9819 ">#9819</a>)</li>
<li><a href="653de45a21 "><code>653de45</code></a> Disable the aarch64 build on macOS because it is broken. (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9816 ">#9816</a>)</li>
<li><a href="acd24bcd8d "><code>acd24bc</code></a> Add disallowment of setting numpy singleton arrays and multi-dimensio… (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9788 ">#9788</a>)</li>
<li><a href="26d11fdba2 "><code>26d11fd</code></a> -Dsurefire.failIfNoSpecifiedTests=false (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9761 ">#9761</a>)</li>
<li><a href="044cb7fd45 "><code>044cb7f</code></a> -DfailIfNoSpecifiedTests=false (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9753 ">#9753</a>)</li>
<li><a href="7db4eca77f "><code>7db4eca</code></a> Update changelogs for 3.20.1-rc1</li>
<li>Additional commits viewable in <a href="https://github.com/protocolbuffers/protobuf/compare/v3.19.4...v3.20.1 ">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `dependabot rebase` will rebase this PR
- `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `dependabot merge` will merge this PR after your CI passes on it
- `dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `dependabot cancel merge` will cancel a previously requested merge and block automerging
- `dependabot reopen` will reopen this PR if it is closed
- `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
</details>
Pull Request resolved: https://github.com/facebook/flipper/pull/3656
Reviewed By: lblasa
Differential Revision: D36101605
Pulled By: passy
fbshipit-source-id: 4eae39aae556d2adf1654fa29fba5718140f9af6
2022-05-06 09:45:13 -07:00
Kevin Strider
706dae0585
overview.mdx (Features - Network)
...
Summary: Restyle of the page, including changes to spelling, grammar, links, and structure (where relevant).
Reviewed By: mweststrate
Differential Revision: D36197861
fbshipit-source-id: b73787f04892d3f76938929ef84943f2031657e1
2022-05-06 07:44:46 -07:00
Kevin Strider
dc3d84b573
overview.mdx (Features - Sandbox)
...
Summary: Restyle of the page, including changes to spelling, grammar, links, and structure (where relevant).
Reviewed By: passy
Differential Revision: D36198283
fbshipit-source-id: 499133cc7265488203a248da2d1e519fc23a0d19
2022-05-06 07:44:02 -07:00
Kevin Strider
6269b71896
overview.mdx (Features - Navigation)
...
Summary: Restyle of the page, including changes to spelling, grammar, links, and structure (where relevant).
Reviewed By: mweststrate
Differential Revision: D36197599
fbshipit-source-id: 6fad2066d64f1f191b32639e1f36c24e103a91fb
2022-05-06 07:41:46 -07:00
Kevin Strider
89c0421517
overview.mdx (Features - Shared Preferences Viewer)
...
Summary: Restyle of the page, including changes to spelling, grammar, links, and structure (where relevant).
Reviewed By: mweststrate
Differential Revision: D36198043
fbshipit-source-id: 961d9b535f0869ae3db3bbdfcbc33be43773edd6
2022-05-06 07:34:09 -07:00
Flipper Bot
b5f583999f
Flipper Snapshot Bump: v0.145.1-SNAPSHOT
...
Summary: Releasing snapshot version 0.145.1-SNAPSHOT
Reviewed By: cekkaewnumchai
Differential Revision: D36168544
fbshipit-source-id: df12fe476d584095af77e23586d86f8b6a57c19c
2022-05-06 05:14:39 -07:00
Flipper Bot
4b07c0f9d9
Flipper Release: v0.145.0
...
Summary: Releasing version 0.145.0
Reviewed By: cekkaewnumchai
Differential Revision: D36168545
fbshipit-source-id: 4cb68eb9c8c80a0018c2a617ce0704fd18ff0b47
2022-05-06 05:14:39 -07:00
Pascal Hartig
d05d3f9336
Upgrade more /desktop deps
...
Summary: Taking care of the remaining dependabot tasks In my queue.
Reviewed By: mweststrate
Differential Revision: D36131782
fbshipit-source-id: f8a5ce18bfab7c5d50a88d64f9516d67bba4bd6d
2022-05-05 08:07:44 -07:00
dependabot[bot]
71503308f0
Bump robolectric from 4.5.1 to 4.8 ( #3679 )
...
Summary:
Bumps [robolectric](https://github.com/robolectric/robolectric ) from 4.5.1 to 4.8.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/robolectric/robolectric/releases ">robolectric's releases</a>.</em></p>
<blockquote>
<p>Robolectric 4.8 adds support for Android S V2 (API level 32). It also contains many bug fixes and API enhancements.</p>
<h2>What's Changed</h2>
<ul>
<li>Turn off Gradle's fs watching during tests by <a href="https://github.com/hoisie "><code>@hoisie</code></a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6849 ">robolectric/robolectric#6849</a></li>
<li>Remove unused resources.arsc file by <a href="https://github.com/hoisie "><code>@hoisie</code></a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6855 ">robolectric/robolectric#6855</a></li>
<li>Fix name for macOS tasks to rename and upload binary files by <a href="https://github.com/utzcoz "><code>@utzcoz</code></a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6856 ">robolectric/robolectric#6856</a></li>
<li>Shadow Build.VERSION#MEDIA_PERFORMANCE_CLASS in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6836 ">robolectric/robolectric#6836</a></li>
<li>Support overriding Icon loading executor from Icon#loadDrawableAsync. in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6828 ">robolectric/robolectric#6828</a></li>
<li>Update Android code search link to the public version in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6850 ">robolectric/robolectric#6850</a></li>
<li>Remove unnecessary TimePickerDialog constructor shadow in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6838 ">robolectric/robolectric#6838</a></li>
<li>Remove inaccessible Google issue tracker links in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6854 ">robolectric/robolectric#6854</a></li>
<li>Use Activity's member Instrumentation in ActivityController in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6860 ">robolectric/robolectric#6860</a></li>
<li>Fix UnsupportedOperationException if a leaked Activity.recreate is called in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6862 ">robolectric/robolectric#6862</a></li>
<li>Add ActivityController.close that transitions Activity to destroyed state in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6864 ">robolectric/robolectric#6864</a></li>
<li>Fix SDK version check for onPageFinished() call. It should be available for all SDK versions instead. See <a href="https://developer.android.com/reference/android/webkit/WebViewClient#onPageFinished(android.webkit.WebView,%20java.lang.String) ">https://developer.android.com/reference/android/webkit/WebViewClient#onPageFinished(android.webkit.WebView,%20java.lang.String) </a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6865 ">robolectric/robolectric#6865</a></li>
<li>Limit instrumentation on interfaces in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6866 ">robolectric/robolectric#6866</a></li>
<li>Bump to version 3 of preinstrumented jars by <a href="https://github.com/hoisie "><code>@hoisie</code></a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6867 ">robolectric/robolectric#6867</a></li>
<li>Migrate ShadowAccessibilityNodeInfo to reflector in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6868 ">robolectric/robolectric#6868</a></li>
<li>Add perf stat for applying styles in binary resources in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6869 ">robolectric/robolectric#6869</a></li>
<li>Refine methods: getYear(), getMonthOfYear(), getDayOfMonth() and getOnDateSetListenerCallback(). in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6841 ">robolectric/robolectric#6841</a></li>
<li>Add onConnectionEvent() to ShadowInCallService. in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6870 ">robolectric/robolectric#6870</a></li>
<li>Fix theme native object collection in Android S in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6873 ">robolectric/robolectric#6873</a></li>
<li>Use a self-hosted Mac M1 runner for the build_nativeruntime task by <a href="https://github.com/hoisie "><code>@hoisie</code></a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6871 ">robolectric/robolectric#6871</a></li>
<li>Use 'processResources' task instead of 'jar' task for nativeruntime by <a href="https://github.com/hoisie "><code>@hoisie</code></a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6874 ">robolectric/robolectric#6874</a></li>
<li>Remove unused Exception from test methods for dependency-on-stubs by <a href="https://github.com/utzcoz "><code>@utzcoz</code></a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6876 ">robolectric/robolectric#6876</a></li>
<li>Add solution log for unhandled PNG file by <a href="https://github.com/utzcoz "><code>@utzcoz</code></a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6829 ">robolectric/robolectric#6829</a></li>
<li>Remove instrumentedPackages workaround by <a href="https://github.com/hoisie "><code>@hoisie</code></a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6875 ">robolectric/robolectric#6875</a></li>
<li>Remove unused org.robolectric.annotation.Config imports by <a href="https://github.com/hoisie "><code>@hoisie</code></a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6879 ">robolectric/robolectric#6879</a></li>
<li>Only using AttributionSource for compile sdk 31 and above by <a href="https://github.com/utzcoz "><code>@utzcoz</code></a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6884 ">robolectric/robolectric#6884</a></li>
<li>Clear InputMethodManager.sInstance for SDK > P in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6880 ">robolectric/robolectric#6880</a></li>
<li>Adding VcnManagementService to ShadowSystemServices for VCN-related tests. in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6881 ">robolectric/robolectric#6881</a></li>
<li>Check Window flags when selecting root view in LocalUiController. <a href="https://github-redirect.dependabot.com/robolectric/robolectric/issues/6741 ">#6741</a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6745 ">robolectric/robolectric#6745</a></li>
<li>Cleanup of AndroidManifest Activity references. in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6878 ">robolectric/robolectric#6878</a></li>
<li>Fix broken GitHub CI when running tests by <a href="https://github.com/hoisie "><code>@hoisie</code></a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6893 ">robolectric/robolectric#6893</a></li>
<li>Fix some lint errors in Target29CompatibilityTest by <a href="https://github.com/hoisie "><code>@hoisie</code></a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6891 ">robolectric/robolectric#6891</a></li>
<li>Avoid re-running ICU ./configure if Makefile exists by <a href="https://github.com/hoisie "><code>@hoisie</code></a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6889 ">robolectric/robolectric#6889</a></li>
<li>Remove redundant SKIP_ICU_BUILD environment variable by <a href="https://github.com/hoisie "><code>@hoisie</code></a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6890 ">robolectric/robolectric#6890</a></li>
<li>Remove unnecessary DatePickerDialog constructor shadow in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6897 ">robolectric/robolectric#6897</a></li>
<li>Add matrix computation support to ShadowRenderNode implementations in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6775 ">robolectric/robolectric#6775</a></li>
<li>Add support for building Robolectric's nativeruntime with gcc/g++ in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6900 ">robolectric/robolectric#6900</a></li>
<li>Switch to Ninja for building the native runtime in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6904 ">robolectric/robolectric#6904</a></li>
<li>Close android.database.Cursor objects in tests in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6905 ">robolectric/robolectric#6905</a></li>
<li>Fix remaining CloseGuard warnings in Robolectric tests in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6906 ">robolectric/robolectric#6906</a></li>
<li>
<ol>
<li>Adds <code>ShadowVibrator#addSupportedPrimitives</code> to enable in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6907 ">robolectric/robolectric#6907</a></li>
</ol>
</li>
<li>Use real Android code for ContentProviderClient.release in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6908 ">robolectric/robolectric#6908</a></li>
<li>Update platformStrError to work in Windows in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6910 ">robolectric/robolectric#6910</a></li>
<li>Add setIsUniqueDeviceAttestationSupported and isUniqueDeviceAttestationSupported support to ShadowDevicePolicyManager in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6909 ">robolectric/robolectric#6909</a></li>
<li>Add custom JNI_INCLUDE_DIRS for Windows only by <a href="https://github.com/utzcoz "><code>@utzcoz</code></a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6914 ">robolectric/robolectric#6914</a></li>
<li>Use runner.arch when calculating ICU cache keys by <a href="https://github.com/hoisie "><code>@hoisie</code></a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6894 ">robolectric/robolectric#6894</a></li>
<li>Add test ShadowPackageManagerTest#packageInstallerAndGetPackageInfo by <a href="https://github.com/utzcoz "><code>@utzcoz</code></a> in <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6898 ">robolectric/robolectric#6898</a></li>
</ul>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="fd36481e8a "><code>fd36481</code></a> Bump version to 4.8.</li>
<li><a href="c27e767826 "><code>c27e767</code></a> Merge branch 'google' into 'master'</li>
<li><a href="18b8fc2b15 "><code>18b8fc2</code></a> Fixes <a href="https://github-redirect.dependabot.com/robolectric/robolectric/issues/7266 ">#7266</a> touch event disallow propagation.</li>
<li><a href="3a000a62bc "><code>3a000a6</code></a> Implement methods: ShadowBluetoothA2dp#getDynamicBufferSupport</li>
<li><a href="20bbb6998e "><code>20bbb69</code></a> Make ShadowPendingIntent implement is___ methods of PendingIntent</li>
<li><a href="fec23a57fc "><code>fec23a5</code></a> Fix a race condition causing a thread leak in BackdropFrameRenderer</li>
<li><a href="859eec94c6 "><code>859eec9</code></a> Implement a shadow for Context.bindService(Intent, int, Executor, ServiceConn...</li>
<li><a href="569058402a "><code>5690584</code></a> No critical exposure</li>
<li><a href="905a8adb92 "><code>905a8ad</code></a> ShadowBitmap#asShared should return an immutable Bitmap instance</li>
<li><a href="4f04e894f7 "><code>4f04e89</code></a> Suppress a benign error log.</li>
<li>Additional commits viewable in <a href="https://github.com/robolectric/robolectric/compare/robolectric-4.5.1...robolectric-4.8 ">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `dependabot rebase` will rebase this PR
- `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `dependabot merge` will merge this PR after your CI passes on it
- `dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `dependabot cancel merge` will cancel a previously requested merge and block automerging
- `dependabot reopen` will reopen this PR if it is closed
- `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
</details>
Pull Request resolved: https://github.com/facebook/flipper/pull/3679
Reviewed By: lblasa
Differential Revision: D36127817
Pulled By: passy
fbshipit-source-id: 08f872239d4e11da78a7fd57d1e1c6832bc1f16a
2022-05-04 04:55:29 -07:00
dependabot[bot]
ddc869ce5e
Bump dokka-gradle-plugin from 1.6.20 to 1.6.21 ( #3678 )
...
Summary:
Bumps [dokka-gradle-plugin](https://github.com/Kotlin/dokka ) from 1.6.20 to 1.6.21.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/Kotlin/dokka/releases ">dokka-gradle-plugin's releases</a>.</em></p>
<blockquote>
<h2>1.6.21 Beta</h2>
<p>This is a bugfix release that mostly enables building documentation for multiplatform projects that utilize <code>.klib</code> libraries.</p>
<h2>Changes</h2>
<ul>
<li>Support Kotlin 1.6.21</li>
<li>Update <code>jsoup</code> dependency to avoid <a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-37714 ">CVE-2021-37714</a> (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2448 ">https://github.com/facebook/flipper/issues/2448 </a>)</li>
</ul>
<h2>Bugfixes</h2>
<ul>
<li>Support <code>KLIB</code> libraries for common platform, previously led to <code>ERROR CLASS</code> instead of references in documentation (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2441 ">https://github.com/facebook/flipper/issues/2441 </a>)</li>
<li>Fixed a maven plugin build problem related to coroutines which only occurred in multi-module builds (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2461 ">https://github.com/facebook/flipper/issues/2461 </a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="b69a7d431f "><code>b69a7d4</code></a> Update documentation and examples to Dokka 1.6.21 (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2465 ">https://github.com/facebook/flipper/issues/2465 </a>)</li>
<li><a href="981ca7fc61 "><code>981ca7f</code></a> Set <code>finalizeCoroutines</code> to false for maven runner (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2461 ">https://github.com/facebook/flipper/issues/2461 </a>)</li>
<li><a href="a7d7e07f23 "><code>a7d7e07</code></a> Update Dokka version to 1.6.21</li>
<li><a href="a8c1a64285 "><code>a8c1a64</code></a> Update Kotlin to 1.6.21 (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2454 ">https://github.com/facebook/flipper/issues/2454 </a>)</li>
<li><a href="68eaffc19a "><code>68eaffc</code></a> Update Jsoup to 1.14.3 (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2448 ">https://github.com/facebook/flipper/issues/2448 </a>)</li>
<li><a href="e0cc2adacc "><code>e0cc2ad</code></a> Support KLIB for Common platform (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2441 ">https://github.com/facebook/flipper/issues/2441 </a>)</li>
<li><a href="d868eaba22 "><code>d868eab</code></a> Use common gradle+kotlin versions across gradle integration tests (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2287 ">https://github.com/facebook/flipper/issues/2287 </a>)</li>
<li>See full diff in <a href="https://github.com/Kotlin/dokka/compare/v1.6.20...v1.6.21 ">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `dependabot rebase` will rebase this PR
- `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `dependabot merge` will merge this PR after your CI passes on it
- `dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `dependabot cancel merge` will cancel a previously requested merge and block automerging
- `dependabot reopen` will reopen this PR if it is closed
- `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
</details>
Pull Request resolved: https://github.com/facebook/flipper/pull/3678
Reviewed By: lblasa
Differential Revision: D36127807
Pulled By: passy
fbshipit-source-id: a4230dcafba57aa30de8a7a65ee74485ae53ec73
2022-05-04 04:39:21 -07:00
Pascal Hartig
f0e1feef24
Upgrade packer deps
...
Summary: This takes care of a couple of dependabot bumps.
Reviewed By: lblasa
Differential Revision: D36097174
fbshipit-source-id: 81be4b09d40d090945704eb3477bd30638ad24c1
2022-05-04 04:36:52 -07:00
Pascal Hartig
342e22bd87
Upgrade more /desktop deps
...
Summary: More bumps for patch and minor releases. allow-large-files
Reviewed By: aigoncharov
Differential Revision: D36104098
fbshipit-source-id: 6db995e660afbe4febd72aa70ed8150cc16a8c93
2022-05-04 04:03:19 -07:00
Pascal Hartig
ef19d06239
Upgrade metro
...
Summary: Bunch of dependabot PRs showed that the signal is green, but still wanted to have all in one diff.
Reviewed By: aigoncharov
Differential Revision: D36102480
fbshipit-source-id: 88d472fdc2a910a7441a9e8164fe8af0f2d90f7b
2022-05-04 04:03:19 -07:00
Pascal Hartig
cc3aca0e8b
Upgrade @types/node to one version everywhere
...
Summary: Caused some inconsistencies when running `tsc`. This brings them back in line.
Reviewed By: aigoncharov
Differential Revision: D36101548
fbshipit-source-id: b8f757c59f879911c9b0920fe11396246ffa37e2
2022-05-04 04:03:19 -07:00
Lorenzo Blasa
3826f2c8ef
Refactor endpoint verification prior to connection
...
Summary:
^
There's a similar issue/request for Android. So, this change moves the code out from the FlipperKit into Flipper as to be able to reuse it.
Reviewed By: aigoncharov
Differential Revision: D35961745
fbshipit-source-id: aa255db582a7852dc06c2feaba389d1dac3b0f67
2022-05-03 11:24:17 -07:00
Pascal Hartig
2120a94dc3
Upgrade ReactNativeFlipperExample
...
Summary: Only bumping stable bumps.
Reviewed By: antonk52
Differential Revision: D36097137
fbshipit-source-id: afd50b70e839032df2dd0fae15420354576ce76a
2022-05-03 10:07:59 -07:00
Pascal Hartig
f9841764cc
Re-enable project-wide tsc
...
Summary: On top of the stack, this should be green again.
Reviewed By: nikoant
Differential Revision: D36100200
fbshipit-source-id: 581e3d825ef8e088f6d5ed4b0fcdfea574121667
2022-05-03 09:55:04 -07:00
Pascal Hartig
3032736294
Fix type errors for flipper-server and flipper-ui-browser
...
Summary:
Before:
```
flipper-server/src/startBaseServer.tsx(222,30): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
Type 'undefined' is not assignable to type 'string'.
flipper-ui-browser/src/flipperServerConnection.tsx(25,9): error TS2322: Type 'Timeout' is not assignable to type 'number'.
```
Reviewed By: nikoant
Differential Revision: D36100188
fbshipit-source-id: 1913a43109a0e068394a188d362f6a9e473e7904
2022-05-03 09:55:04 -07:00
Pascal Hartig
350bd01a19
Upgrade /js/js-flipper deps
...
Summary: Combining a bunch of dependabot tasks. allow-large-files
Reviewed By: nikoant
Differential Revision: D36096916
fbshipit-source-id: 7f9d32cc373257cabc6264d704ce7dd94cac9348
2022-05-03 09:02:00 -07:00
Pascal Hartig
e1d15fee15
Disable flaky test
...
Summary:
Test is flaky, causing failures on master.
{P498157360}
Reviewed By: lblasa
Differential Revision: D36004615
fbshipit-source-id: 484451f83459e42d459ed548525055d230e07734
2022-05-03 08:52:18 -07:00
Lorenzo Blasa
7d392ade29
Diagnostics UI (Dark mode)
...
Summary:
^
In dark mode, the logs were not visible as font color is white, same as the background color of the label explicitly set to white.
Don't set it to white (unless the text color is changed as well).
Reviewed By: antonk52
Differential Revision: D36015027
fbshipit-source-id: bf37546a13e4a2153f7307ddeebddb23f27f4403
2022-04-28 14:42:50 -07:00
Pascal Hartig
8dc3f8a9a8
Upgrade deps for ReactNativeFlipperExample
...
Summary: Preempting dependabot.
Reviewed By: nikoant
Differential Revision: D35964209
fbshipit-source-id: 21e2f9ecaae810a124a8efe4fc3448ff743078c1
2022-04-28 09:28:36 -07:00
facebook-flipper-bot
836fc06523
Automated: Update Podfile.lock ( #3666 )
...
Summary:
This is an automated PR to update the Podfile.lock.
- Make sure that the Podfile.lock contains latest FlipperKit and Flipper pod versions.
- Also make sure that all the dependencies are updated to the latest one.
- This is auto-generated by [create-pull-request](https://github.com/peter-evans/create-pull-request )
Pull Request resolved: https://github.com/facebook/flipper/pull/3666
Test Plan:
Imported from GitHub, without a `Test Plan:` line.
**Static Docs Preview: flipper**
|[Full Site](https://our.intern.facebook.com/intern/staticdocs/eph/D35969376/V2/flipper/ )|
|**Modified Pages**|
|[docs/getting-started/ios-native](https://our.intern.facebook.com/intern/staticdocs/eph/D35969376/V2/flipper/docs/getting-started/ios-native/ )|
Reviewed By: nikoant
Differential Revision: D35969376
Pulled By: passy
fbshipit-source-id: 1ef9ae049307d1a0a9be123a9e0215c6fc22cde9
2022-04-28 07:59:56 -07:00