Commit Graph

331 Commits

Author SHA1 Message Date
Michel Weststrate
60ec958f6b Add (manual) tests to be able to verify working of network and logs
Summary: Added some UI so that we can manually verify that logging and network inspection is working in RN + Flipper.

Reviewed By: jknoxville

Differential Revision: D20668428

fbshipit-source-id: 4271595583e055b2b0324b3da7ac216c39717093
2020-03-26 04:54:24 -07:00
generatedunixname89002005306973
39f0e0445e Flipper Snapshot Bump: v0.35.1-SNAPSHOT
Summary: Releasing snapshot version 0.35.1-SNAPSHOT

Reviewed By: mweststrate

Differential Revision: D20655535

fbshipit-source-id: d5722e7f63bc13df1994e09f0eb5ad83b166ae99
2020-03-25 16:38:04 -07:00
generatedunixname89002005306973
fa8ae9cbe1 Flipper Release: v0.35.0
Summary: Releasing version 0.35.0

Reviewed By: jknoxville

Differential Revision: D20655536

fbshipit-source-id: f965954ed0c1ff58382f08caf2dd02032cd84785
2020-03-25 16:38:03 -07:00
Michel Weststrate
8060bcb664 Add feature page for react native integration
Summary: https://pxl.cl/144pb

Reviewed By: jknoxville

Differential Revision: D20648205

fbshipit-source-id: 1349723755ed2be5b577f42ec1e45df07c25c94f
2020-03-25 15:36:22 -07:00
John Knox
0275d35233 Add lifecycle diagrams for regular and background plugins
Summary:
I think this'll clarify how to use the lifecycle methods.

Diagram edit link: https://excalidraw.com/#json=5696112581148672,nDwD6t1BNXVreQ8YE8917g

Reviewed By: mweststrate

Differential Revision: D20645302

fbshipit-source-id: 0814dbe8421cfe8e85c297bd5bfb4a8f1a83c353
2020-03-25 12:50:29 -07:00
Michel Weststrate
da89a92875 Update getting started docs for RN 0.62
Summary:
Kinda what is in the title. But shouldn't be merged yet as RN 0.62 didn't ship yet.

Also, the iOS tutorial hasn't been verified yet, as the relevant diff hasn't been merged yet (see D19391739)

Reviewed By: passy

Differential Revision: D19468497

fbshipit-source-id: 9e7d90123d3637a1a552c4a9def6420137cf8246
2020-03-24 13:33:32 -07:00
Pritesh Nandgaonkar
a2c43653cf Update podfile for Cocoapods 1.9 (#892)
Summary:
Updates the instructions to integrate iOS pods for the case with the usage of `use_frameworks!` for cocoapods 1.9. Also changed our podfile for Tutorial app and add travis test for the same, so that in future if there are any further changes with the API in new releases of cocoapods, we can catch it.
## Changelog

- Added travis test for iOS Tutorial app
- Updated the getting started guide for iOS
Pull Request resolved: https://github.com/facebook/flipper/pull/892

Test Plan: Travis test passed and also tested that tutorial app builds with cocoapods 1.9

Reviewed By: mweststrate

Differential Revision: D20587989

Pulled By: priteshrnandgaonkar

fbshipit-source-id: b297e6b1298a20a9279ad6414e9d099917876fb1
2020-03-23 04:55:52 -07:00
generatedunixname89002005306973
4297b3061f Flipper Snapshot Bump: v0.34.1-SNAPSHOT
Summary: Releasing snapshot version 0.34.1-SNAPSHOT

Reviewed By: nikoant

Differential Revision: D20480418

fbshipit-source-id: 401706e76326e3af8e9b48f3f4aa1ebc264d3d8e
2020-03-17 05:31:04 -07:00
generatedunixname89002005306973
afa8d6274a Flipper Release: v0.34.0
Summary: Releasing version 0.34.0

Reviewed By: nikoant

Differential Revision: D20480419

fbshipit-source-id: e83a532690c6df8e781683b3dcc2418b8744c961
2020-03-17 05:31:04 -07:00
Anton Nikolaev
0e920e8558 Few fixes in docs after folders re-arrangements
Summary: Few fixes in docs after folders re-arrangements

Reviewed By: mweststrate

Differential Revision: D20465905

fbshipit-source-id: f65a154731a9956cd0cb6ab66a42eaeecaaf8af0
2020-03-16 03:29:04 -07:00
Adam Ernst
d9a2167019 Refactor SKSubDescriptor
Reviewed By: d16r

Differential Revision: D20458337

fbshipit-source-id: e8ea848c6e2f7521c5a6c6eb4110bba0bfe25593
2020-03-15 19:42:39 -07:00
Anton Nikolaev
10d990c32c Move plugins to "sonar/desktop/plugins"
Summary:
Plugins moved from "sonar/desktop/src/plugins" to "sonar/desktop/plugins".

Fixed all the paths after moving.

New "desktop" folder structure:
- `src` - Flipper desktop app JS code executing in Electron Renderer (Chrome) process.
- `static` - Flipper desktop app JS code executing in Electron Main (Node.js) process.
- `plugins` - Flipper desktop JS plugins.
- `pkg` - Flipper packaging lib and CLI tool.
- `doctor` - Flipper diagnostics lib and CLI tool.
- `scripts` - Build scripts for Flipper desktop app.
- `headless` - Headless version of Flipper desktop app.
- `headless-tests` - Integration tests running agains Flipper headless version.

Reviewed By: mweststrate

Differential Revision: D20344186

fbshipit-source-id: d020da970b2ea1e001f9061a8782bfeb54e31ba0
2020-03-14 14:35:18 -07:00
Anton Nikolaev
85c13bb1f3 Move desktop-related code to "desktop" subfolder (#872)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/872
Move all the JS code related to desktop app to "desktop" subfolder.

The structure of "desktop" folder:
- `src` - JS code of Flipper desktop app executing in Electron Renderer (Chrome) process. This folder also contains all the Flipper plugins in subfolder "src/plugins".
- `static` - JS code of Flipper desktop app bootstrapping executing in Electron Main (Node.js) process
- `pkg` - Flipper packaging lib and CLI tool
- `doctor` - Flipper diagnostics lib and CLI tool
- `scripts` - Build scripts for Flipper desktop app
- `headless` - Headless version of Flipper app
- `headless-tests` - Integration tests running agains Flipper headless version

Reviewed By: passy

Differential Revision: D20249304

fbshipit-source-id: 9a51c63b51b92b758a02fc8ebf7d3d116770efe9
2020-03-14 14:35:17 -07:00
Pascal Hartig
3113d2c180 Flipper Bump: v0.33.2-SNAPSHOT
Summary: Back to snapshots.

Reviewed By: mweststrate

Differential Revision: D20344544

fbshipit-source-id: 8153028d9567b2cfff807e3be4159ad8991c258f
2020-03-09 15:12:37 -07:00
Pascal Hartig
60e13335dc Flipper Release: v0.33.1
Summary: Re-release of 0.33.0.

Reviewed By: mweststrate

Differential Revision: D20344545

fbshipit-source-id: 38fd5baa8d36bc7cfa9a66a15144078e7b1f53c3
2020-03-09 15:12:37 -07:00
Pascal Hartig
87f5831ad1 Flipper Bump: v0.33.1-SNAPSHOT
Summary: ohsnap_pickles

Reviewed By: priteshrnandgaonkar

Differential Revision: D20308822

fbshipit-source-id: 1d0b979db891e2e361f0ae06e59cbcc438301498
2020-03-09 07:42:35 -07:00
Pascal Hartig
e797caff16 Flipper Release: v0.33.0
Summary:
Changelog TBD.

== Highlights ==

- React Native global hotkeys in the settings menu.

== Fixes ==

- iOS 9 support restored.

Reviewed By: priteshrnandgaonkar

Differential Revision: D20308823

fbshipit-source-id: e4d089d911af8155384c07678668662094c0c8b3
2020-03-09 07:42:35 -07:00
Pascal Hartig
5c441d5efb Flipper Bump: v0.32.3-SNAPSHOT
Summary:
psyduckphoto

(Note: this ignores all push blocking failures!)

Reviewed By: nikoant

Differential Revision: D20158708

fbshipit-source-id: 0751a582a310547757703a926b31a5bb5ef2be26
2020-02-28 08:51:35 -08:00
Pascal Hartig
76f2f0f554 Flipper Release: v0.32.2
Summary:
Bugfix release for plugin detection/compilation.

(Note: this ignores all push blocking failures!)

Reviewed By: nikoant

Differential Revision: D20158707

fbshipit-source-id: a0d2a235b48a00d5821a033df30fb5b60cb54f23
2020-02-28 08:51:34 -08:00
Pascal Hartig
2ed6230013 Flipper Bump: v0.32.2-SNAPSHOT
Summary: Back to snapshots.

Reviewed By: cekkaewnumchai

Differential Revision: D20115910

fbshipit-source-id: d9e452f544edeb4f3506757b108c6273cc4ca99a
2020-02-27 09:50:55 -08:00
Pascal Hartig
959fcee827 Flipper Release: v0.32.1
Summary: Bugfix release with previous Electron version.

Reviewed By: cekkaewnumchai

Differential Revision: D20115911

fbshipit-source-id: 5f84c72f7e4b33d7661e7e6a4db64c51daa38851
2020-02-27 09:50:55 -08:00
Pascal Hartig
fee93e6cff Flipper Bump: v0.32.1-SNAPSHOT
Summary: oh_snaptu

Reviewed By: nikoant

Differential Revision: D20067793

fbshipit-source-id: d097603a3efc822b276dd6de07cb3fa108853409
2020-02-24 06:53:42 -08:00
Pascal Hartig
6c72fa3dbb Flipper Release: v0.32.0
Summary:
== Highlights ==

- Android: Theme information for Application, Activity and View descriptors are now visible in the Layout plugin. (6f4de969fb)
- App Visualiser: When importing an archived device, you can now see and inspect the last screen of the app. (20db85adf4)

== Fixes ==

- Fix `FlipperKit` warnings in XCode. (972277b031)
- Upgrade Folly to v2020.02.17.00 (GH809)
- Several performance improvements, originally caused by unnecessary rerenders.
- Crash reports weren't scrollable. (e1e8bb841c)
- Kill orhpaned instruments processes. (GH819)

Reviewed By: nikoant

Differential Revision: D20067792

fbshipit-source-id: 3f0ebcb03881373fd909f513e5d82e23a5f9f1f1
2020-02-24 06:53:42 -08:00
Pritesh Nandgaonkar
233b6d6a4e Update getting started guide
Summary:
Updated documentation for RN.

This fixes the documentation issue posted here https://github.com/facebook/flipper/issues/816

Reviewed By: mweststrate

Differential Revision: D20007620

fbshipit-source-id: 118e62450ad0c99346277d5205d637b7ecbae5c6
2020-02-21 04:23:22 -08:00
Michel Weststrate
6b3a09e28e Flipper Bump: v0.31.3-SNAPSHOT
Summary: Releasing Flipper 0.31.2 as preview for the improved React Native support (blog post will follow)

Reviewed By: cekkaewnumchai

Differential Revision: D19939346

fbshipit-source-id: 20f352e5f2d700a6e02b7562d228732525b192a4
2020-02-17 06:21:46 -08:00
Michel Weststrate
7d92e3ee58 Flipper Release: v0.31.2
Summary: Releasing Flipper 0.31.2 as preview for the improved React Native support (blog post will follow)

Reviewed By: cekkaewnumchai

Differential Revision: D19939347

fbshipit-source-id: 4bff1aabdd4e63003de9c9c0af2002ed67504da1
2020-02-17 06:21:46 -08:00
Lucas Bento
9c873bd034 Add troubleshooting content about swift errors in React Native build (#794)
Summary:
Going through the `Getting Started` tutorial with `"react-native": "0.61.5"` makes the app crash when you build it, in order to get it working you must add a `.swift` file to the project.

## Changelog

Add troubleshooting content about swift errors in React Native build
Pull Request resolved: https://github.com/facebook/flipper/pull/794

Reviewed By: passy

Differential Revision: D19852986

Pulled By: mweststrate

fbshipit-source-id: 16bc44ad573dc20b90f57777ea1c9cfca7c7c4c9
2020-02-17 06:21:46 -08:00
Michael Lefkowitz
cadf0fc6d7 Update network-plugin.md (#797)
Summary:
fixes typo

## Changelog

- fixes typo on network page
Pull Request resolved: https://github.com/facebook/flipper/pull/797

Test Plan: n/a

Reviewed By: priteshrnandgaonkar

Differential Revision: D19902534

Pulled By: passy

fbshipit-source-id: fc25d8a1fc0889a1b4e5003c724781f54d01f65d
2020-02-14 10:11:46 -08:00
Pascal Hartig
9f899c7026 Upgrade to SoLoader 0.8.2
Summary: No changes that should impact us in any way.

Reviewed By: priteshrnandgaonkar

Differential Revision: D19856578

fbshipit-source-id: 35113b4b9e56b6c0b09681ac5649705cf840f60c
2020-02-13 12:06:53 -08:00
Pritesh Nandgaonkar
d99635c85e Update getting started docs
Summary: This diff updates the getting started docs for the pure Objective-C project

Reviewed By: passy

Differential Revision: D19878236

fbshipit-source-id: 3898f28214072e89c46f1bcd9443b61b8a639cab
2020-02-13 08:51:58 -08:00
Pascal Hartig
9cc5158975 Flipper Bump: v0.31.2-SNAPSHOT
Summary: Back to snapshots.

Reviewed By: cekkaewnumchai

Differential Revision: D19832702

fbshipit-source-id: 680451a85cc718b9cb933d7cea9f1208d0770a03
2020-02-11 06:09:59 -08:00
Pascal Hartig
effa2ec5a5 Flipper Release: v0.31.1
Summary: Bugfix release for startup problem.

Reviewed By: cekkaewnumchai

Differential Revision: D19832703

fbshipit-source-id: 75451e39f53b2d231e1ad10219b37620593f0998
2020-02-11 06:09:58 -08:00
Pascal Hartig
80442e2f38 Flipper Bump: v0.31.1-SNAPSHOT
Reviewed By: priteshrnandgaonkar

Differential Revision: D19813090

fbshipit-source-id: 94d34e5af8adbc5a7d28782f6c70f16fee4844d7
2020-02-10 07:03:07 -08:00
Pascal Hartig
72a140bd96 Flipper Release: v0.31.0
Summary:
== Highlights ==

- Database query favourites are now persisted across sessions (b0caaa7)
- Allow disabling iOS development in Settings
(aab004a)
- Various improvements to the sidebar
- FPS graph to visualize slow UIs for plugin developers (31df1db)
- Window theme attributes when clicking on a window in the inspector (c430fc3)
- Removed Stetho dependency (48d6ea4). Thanks, ZacSweers!
- Install plugins directly from package files (b9e7f5d6d1)

== Fixes ==

-  Mac plugins not showing up (02e0233)
- Doctor: log both shown and suppressed warnings (35d62e70cb). Thanks, mateosilguero!
- Fix default SDK path on Windows (e178221)
-  Doctor complains Android SDK is not installed
(b625efe)
-  Update welcome screen links (33ad41c)
- Fix 'Timed out waiting for device' error (060e8c0)

Reviewed By: priteshrnandgaonkar

Differential Revision: D19813089

fbshipit-source-id: 8b1fc6fb140d02b7f78adcadd7c45a3ed1755f2f
2020-02-10 07:03:07 -08:00
Anton Nikolaev
3706ea05b3 Another small clarification for VSCode debugging instructions
Summary: A small clarification after the question 7964772f82 (comments)

Reviewed By: jknoxville

Differential Revision: D19619402

fbshipit-source-id: c392c492fe5e9cd46d46c93f617288ac0a4d02a5
2020-01-29 04:09:05 -08:00
Anton Nikolaev
7964772f82 Added information about pre-requisite for debugging in VSCode
Summary: Added information that "Debugger for Chrome" extension is required to be able to debug in VSCode.

Reviewed By: passy

Differential Revision: D19599117

fbshipit-source-id: 7323fb59daae24fe6b914e9ddb450326b135ad2b
2020-01-28 06:14:20 -08:00
Anton Nikolaev
0ed95f2a99 Fix a typo in Debugging docs
Summary: Remote debugging port for Flipper is 9222

Reviewed By: passy

Differential Revision: D19598819

fbshipit-source-id: a749615027fbd0ab998e09f96803055305e4f9d1
2020-01-28 04:53:07 -08:00
Anton Nikolaev
1b3ef5f68f Update Flipper Debugging docs
Summary: Updated "Debugging" page in Flipper docs: added instructions about debugging from Visual Studio Code and Google Chrome.

Reviewed By: mweststrate

Differential Revision: D19578864

fbshipit-source-id: c88c8278feb7c90fe77bde1d883c73079f2147f9
2020-01-27 07:45:16 -08:00
Michel Weststrate
426d17b08d Update docs for JS only plugins
Summary: Added docs on how to write React-Native JavaScript based plugins

Reviewed By: passy

Differential Revision: D19344803

fbshipit-source-id: ad1ea66f1031760729fdaea8a7e6c1ef5dcd5439
2020-01-23 07:11:31 -08:00
Anton Nikolaev
0f5556dcf0 Flipper Bump: v0.30.3-SNAPSHOT
Reviewed By: jknoxville

Differential Revision: D19494144

fbshipit-source-id: f4cc98afb0ce10fc65f508dd8a11cf408f01e027
2020-01-21 04:30:33 -08:00
Anton Nikolaev
4d91f6eb60 Flipper Release: v0.30.2
Reviewed By: passy

Differential Revision: D19494145

fbshipit-source-id: d5d0bdf6a033c3de286029adec3e0f6245864a62
2020-01-21 03:56:46 -08:00
Michel Weststrate
df753ffa06 Fixed error in RN iOS setup guide. Should fix #723
Summary: Small fix in docs to address https://github.com/facebook/flipper/issues/723

Reviewed By: jknoxville

Differential Revision: D19428560

fbshipit-source-id: 38c189fbca015196c0dd74a243b4f3ee281f0452
2020-01-16 06:32:09 -08:00
Pritesh Nandgaonkar
4530eb9235 Release glog and DoubleConversion with different names
Summary: This releases glog and DoubleConversion under "Flipper" preappended name as it solves the issues with Flipper integration with RN under use_frameworks!  keyword.

Reviewed By: passy

Differential Revision: D19392941

fbshipit-source-id: ebdcdc23fcce45cec9bfc6d4f18c14a734caf24f
2020-01-14 10:55:16 -08:00
Jiawen Geng
deeab52d41 update to latest flipper-fresco-plugin version (#739)
Summary:
## Changelog
Pull Request resolved: https://github.com/facebook/flipper/pull/739

Differential Revision: D19344945

Pulled By: passy

fbshipit-source-id: bb3e1fb0a46e7142575e582d20eb56aac2b23a55
2020-01-10 03:52:50 -08:00
Pascal Hartig
38f5debf78 Add a note about flipper-android-no-op (#737)
Summary:
Close https://github.com/facebook/flipper/issues/736
Pull Request resolved: https://github.com/facebook/flipper/pull/737

Test Plan: eyes

Reviewed By: jknoxville

Differential Revision: D19328300

Pulled By: passy

fbshipit-source-id: d3fb5ba4fcbbc7e00fc37aefb55179630bf36916
2020-01-09 08:46:31 -08:00
Luis Felipe Zaguini
2fac06e018 Added missing import on AppDelegate.m (#714)
Summary:
We were missing `#import <FlipperKitReactPlugin/FlipperKitReactPlugin.h>`. I also took the liberty to organize the imports in alphabetical order.
Pull Request resolved: https://github.com/facebook/flipper/pull/714

Reviewed By: mweststrate

Differential Revision: D19288396

Pulled By: passy

fbshipit-source-id: 3cfd0cfa90054284fe179ccc39d0fe9e7208ec9b
2020-01-06 09:41:28 -08:00
Michel Weststrate
9acf23596e Show a message if a background plugin is not starred
Summary:
Since background plugins don't receive data anymore when not starred, we should hint the user about this.

For this diff, I reused the existing statusbar. Although this solution is quite ugly, I think it is better than introducing yet another notification / warning mechanism. Probably we should revisit the layout of this status bar in the future.

Reviewed By: jknoxville

Differential Revision: D19251588

fbshipit-source-id: 1dfd07be383d4ba318f344ebff4b08ed36194c58
2020-01-02 07:14:15 -08:00
Michel Weststrate
0494a84d98 Make sure that plugins don't store events unbounded
Summary:
To avoid plugins to collect data forever and store it (if they are never opened), introduced a hard-coded default limit on how many events will be preserved.

A semantic change is that plugins have to be potentially resistant against missing events. So far, during testing, this didn't seem to cause any problems.

Reviewed By: jonathoma

Differential Revision: D19175912

fbshipit-source-id: 828be941e76b7356c9f5be7e5a49de9a7a31b0d2
2020-01-02 07:14:13 -08:00
Pascal Hartig
0d7fd11048 Flipper Bump: v0.30.2-SNAPSHOT
Summary: Back to snapshots

Reviewed By: priteshrnandgaonkar

Differential Revision: D19030536

fbshipit-source-id: 25ee980b467b30cfb8e6d9d8c940fd43b65fe6ae
2019-12-16 03:17:16 -08:00
Pascal Hartig
21be861894 Flipper Release: v0.30.1
Summary: New release built against Litho 0.33.

Reviewed By: priteshrnandgaonkar

Differential Revision: D19030537

fbshipit-source-id: a14b04decf3023e9ee78ef2a894061d8b04d232e
2019-12-13 11:33:36 -08:00