Michael Goderbauer
e4f586d239
Enable Hot Restart on Windows ( #8548 )
2017-03-02 20:05:47 -08:00
Michael Goderbauer
17057bb44b
[devFS] Use URI to represent paths on device ( #8446 )
...
* [devFS] Use URI to represent paths on device
Previosuly, regular file paths in the format of the host platform were used to represent paths on device. That works when host and device share the same (POSIX) file path format. With a Windows host, this breaks. URIs are the solution as they are platform independent and the VM service on the device already interpreted the file paths as URIs anyways.
* review comments
* switch to file paths
* fix tests on Windows
* review comments
2017-03-01 10:11:56 -08:00
Todd Volkert
a68c979b73
Add ability to record & replay VMService connection ( #8355 )
2017-02-23 10:05:00 -08:00
Ian Hickson
f9c2d7d9aa
Introduce a quick way to test across platforms ( #8262 )
2017-02-17 17:47:49 -08:00
Todd Volkert
d6f61b9ece
Add ability to mock VMService's WebSocket connection ( #8145 )
2017-02-15 06:52:28 -08:00
Michael Goderbauer
5e54fd54d9
Ban package:path from Flutter Tools ( #8119 )
2017-02-13 17:45:50 -08:00
Ian Hickson
f17e3f45a5
Fix the 'p' command in hot reload. ( #7969 )
...
Turns out when I added tests, I broke the actual underlying functionality.
2017-02-08 14:24:25 -08:00
Jacob Richman
53fc96da9e
Small Flutter strong mode cleanup fixes. ( #7825 )
...
* Small Flutter strong mode cleanup fixes.
These are cases where strong mode down cast composite errors
generally indicated cases that would performance or correctness
issues if Flutter code was run in a strong mode VM.
* Fix Command API so that it is always in terms of Map<String,String>.
* Fix typedef
2017-02-06 08:55:09 -08:00
Ian Hickson
dc634e195e
Introduce the concept of asynchronicity to the service extensions. ( #7823 )
...
This allows us, for example, to wait for the slow mode banner to have
been removed from the screen before triggering a screen shot.
2017-02-02 15:48:35 -08:00
Ian Hickson
5f38773ed0
Screenshot improvements ( #7800 )
...
Add an "s" command to `flutter run` which takes a screenshot.
Make that comment turn off the slow mode banner.
2017-02-01 22:47:53 -08:00
Jason Simmons
59cacd7102
Some fixes for the microbenchmarks ( #7781 )
...
* Return null from VM.mainView if no view exists
* Retry in connectToServiceProtocol if a view is not yet available
* Do not explicitly call exit from the benchmarks - it will not cleanly shut down the engine
2017-02-01 11:54:27 -08:00
Ian Hickson
63aa1397a3
Increase the strictness of our requiring explicit types ( #7585 )
...
...now that we have generic methods, their types need to be specified too.
2017-01-23 01:04:31 -08:00
Devon Carew
6737712067
relax timeouts for some service protocol calls ( #7468 )
...
* relax timeouts for some service protocol calls
* remove 'note that' text
2017-01-12 14:03:04 -08:00
Todd Volkert
016b5ab0cc
Force all dart:io usage to go through 'base/io.dart' ( #7390 )
...
This ensures that accidental usages of dart:io's
file API don't creep in over time.
2017-01-09 08:37:00 -08:00
Yegor
25e6cc6743
tools: add timeout to VM service client ( #7175 )
2016-12-12 10:58:21 -08:00
Jason Simmons
37d78753a2
Propagate exceptions when parsing invalid JSON received from VM service RPCs ( #7222 )
...
The default rpc.Peer constructor was applying a transformer that filters
out these errors.
See https://github.com/flutter/flutter/issues/7174
2016-12-09 11:38:38 -08:00
Dan Rubel
a9584e1214
Handle new observatory url ( #7061 )
...
* reapply handle new Observatory URL changes
Fixes https://github.com/flutter/flutter/issues/6843
* allow non numeric IPv4 addresses
Fixes https://github.com/flutter/flutter/issues/7051
2016-11-30 20:29:04 -05:00
Dan Rubel
fcf41fc737
revert handle new Observatory URL ( #7056 )
...
737a55ef3e
2016-11-28 16:15:19 -05:00
Dan Rubel
737a55ef3e
handle new Observatory URL ( #6992 )
2016-11-28 11:36:20 -05:00
Ian Hickson
27cceff20d
Allow debugPaintSizeEnabled to be toggled from the runner ( #7028 )
2016-11-27 23:50:20 -08:00
John McCutchan
26432eba30
Boot the application directly even when hot reloading. ( #6948 )
...
- [x] Remove the two stage initial boot process.
- [x] Remove the loader screen app.
- [x] Don't report reload times for the initial reload because we are
switching from a snapshot to source and that will always be worst case.
2016-11-22 14:16:20 -08:00
Ian Hickson
5fb692124c
Loader improvements ( #6615 )
2016-10-31 21:58:27 -07:00
Dan Rubel
ca90656fba
catch VMService connection exception ( #6526 )
2016-10-27 09:14:41 +01:00
Devon Carew
55a374d46b
Reload pause ( #6459 )
...
* add a pause parameter to the reload command
* encode OperationResult as json
* reverse isOk logic
2016-10-21 16:07:19 -07:00
John McCutchan
9112823802
Do not reassemble the application after a hot reload if the isolate is paused ( #6370 )
2016-10-20 07:30:24 -07:00
Jason Simmons
2805e5f8b8
Remove logs about unrecognized service protocol object types ( #6278 )
2016-10-12 09:41:35 -07:00
Adam Barth
2c21d795a4
Deploy @checked
( #6244 )
...
This patch adds `@checked` everywhere is needed to remove the
`strong_mode_invalid_method_override` strong mode error.
2016-10-07 11:27:54 -07:00
John McCutchan
24ab837240
Support hot reload for applications that don't use the framework ( #5868 )
2016-09-15 13:18:32 -07:00
Phil Quitslund
d2fda677e1
Update to Dart 1.20.0-dev.1.0
. ( #5689 )
...
* Udpate to Dart `1.20.0-dev.1.0`.
Udpate to Dart `1.20.0-dev.1.0` and corresponding `analyzer` package.
* Added `--no-packages-dir`.
* Revert extension to master.
* Added ignores.
* Review nits.
* More nits.
2016-09-08 13:14:08 -07:00
John McCutchan
852a00a17b
Detect when isolate reload is barred and inform the user ( #5602 )
2016-08-25 14:23:13 -07:00
Yegor
0e63e470e4
Revert "Detect when isolate reload is barred and inform the user ( #5582 )" ( #5590 )
...
This reverts commit 09e68c33cc
.
AOT snapshotter is broken at this engine rev.
https://flutter-dashboard.appspot.com/api/get-log?ownerKey=ahNzfmZsdXR0ZXItZGFzaGJvYXJkclgLEglDaGVja2xpc3QiOGZsdXR0ZXIvZmx1dHRlci8wOWU2OGMzM2NjZGIzNTVmZWRkNzVhODcxNmRlMDU1MWM3NzJmMmRlDAsSBFRhc2sYgICAgICAwAgM
2016-08-24 16:56:10 -07:00
John McCutchan
09e68c33cc
Detect when isolate reload is barred and inform the user ( #5582 )
2016-08-24 15:36:17 -07:00
Devon Carew
b8a60f5bbd
suppress exceptions from loader progress display messages ( #5510 )
2016-08-19 12:47:58 -07:00
John McCutchan
83ab5f8345
Call refreshViews after every restart ( #5479 )
2016-08-18 16:01:18 -07:00
John McCutchan
3a012b326f
vmservice redux ( #5437 )
2016-08-17 09:01:04 -07:00
John McCutchan
cab7c8d7b3
Rename Observatory to VMService ( #5349 )
2016-08-11 13:14:13 -07:00