3924 Commits

Author SHA1 Message Date
Devon Carew
d7fbf5302d use status(), error(), and trace() for logging
rename to printTrace(), printStatus(), and printError()
2016-01-28 12:44:17 -08:00
Hixie
57b68a523d Clean up shell.dart 2016-01-28 12:34:36 -08:00
Devon Carew
91c0af60f4 Merge pull request #1423 from devoncarew/ios_changes
tweaks to the ios code
2016-01-28 09:13:10 -08:00
Devon Carew
55c333f583 tweaks to the ios code 2016-01-28 08:25:23 -08:00
Ian Hickson
faa27b8540 Merge pull request #1421 from Hixie/scheduler
The old style of import is deprecated.
2016-01-27 20:15:48 -08:00
Hixie
8ef862fba6 The old style of import is deprecated. 2016-01-27 16:23:28 -08:00
Ian Hickson
064805235d Merge pull request #1309 from Hixie/semantics-3
Semantics
2016-01-27 15:54:59 -08:00
Devon Carew
edcf4a69b5 Merge pull request #1419 from devoncarew/rename_init
rename the init command to create
2016-01-27 15:04:15 -08:00
Devon Carew
76d069f9c0 rename the init command to create 2016-01-27 14:37:29 -08:00
Devon Carew
06ef620d61 Merge pull request #1418 from devoncarew/refactor_list
refactor the list command
2016-01-27 14:16:39 -08:00
Devon Carew
7ac4e6248f refactor the list command 2016-01-27 14:03:41 -08:00
Adam Barth
92e0092cae Merge pull request #1412 from abarth/fix_container
examples/widgets/container.dart does not display the buttons
2016-01-27 11:27:46 -08:00
Jason Simmons
f0a62d6453 Merge pull request #1410 from jason-simmons/tracing_pull
Allow collection of trace files when adbd is not running as root
2016-01-27 11:04:22 -08:00
Adam Barth
4aac34019c examples/widgets/container.dart does not display the buttons
Add a missing Material.

Fixes #1402
2016-01-27 10:59:24 -08:00
Jason Simmons
58ba5129e3 Allow collection of trace files when adbd is not running as root
Also fix a bug where the trace command may capture the wrong file
if multiple trace file paths are in the Android log buffer.

Previously we found a lower bound timestamp for the trace path log
by running the date command on the device and parsing the result on
the host.  This could yield an inaccurate result if the device and
host are using different time zones.

The command will now obtain the most recent timestamp in the device's
time format by running logcat.
2016-01-27 10:57:13 -08:00
Seth Ladd
9352c6c359 Merge pull request #1408 from sethladd/ignoreios
ignore the ios dir in examples
2016-01-27 10:39:41 -08:00
Ian Hickson
9209d13296 Merge pull request #1405 from Hixie/spin-bug
Resurrect spinning_mixed.
2016-01-27 10:39:16 -08:00
Seth Ladd
db3f551f59 ignore the ios dir in examples 2016-01-27 10:32:06 -08:00
Hixie
a309cea1d4 Resurrect spinning_mixed.
It had bit-rotted. Also improve our error reporting for missing Material.
2016-01-27 10:07:11 -08:00
Hixie
28a1788371 Semantics 2016-01-27 10:04:49 -08:00
Seth Ladd
b5470df8d7 Merge pull request #1401 from sethladd/doc
add explicit doc to override default from parent
2016-01-27 08:48:43 -08:00
Seth Ladd
139e98a12e add explicit doc to override default from parent
tweak from review
2016-01-26 20:14:57 -08:00
Adam Barth
27a73a589c Merge pull request #1400 from abarth/reorder_update_children
updateChildren() needs to walk the list forward
2016-01-26 20:08:36 -08:00
Adam Barth
5cfccb9170 Merge pull request #1397 from abarth/route_focus
Keyboard doesn't dismiss when the drawer comes up
2016-01-26 20:08:17 -08:00
Adam Barth
05839e51ca updateChildren() needs to walk the list forward
This patch changes the framework to walk the child list forwards so that build
functions with global side effects do sensible things. Specifically, if you
have a number of autofocusable children, the first one the list will acquire
the focus because it gets built first now.

Fixes #182
2016-01-26 20:02:46 -08:00
Adam Barth
a535164357 Keyboard doesn't dismiss when the drawer comes up
When introducing Focus widgets for the Drawer (and ModalRoutes), we weren't
actually giving them the focus. Now we move the focus scope when pushing modal
routes.

Fixes #184
2016-01-26 19:57:37 -08:00
Chinmay Garde
594e7000a9 Merge pull request #1396 from chinmaygarde/master
iOS: Make the error message on `flutter ios --init` more descriptive
2016-01-26 14:08:23 -08:00
Chinmay Garde
c66e00f4a7 iOS: Make the error message on flutter ios --init more descriptive 2016-01-26 14:07:39 -08:00
Chinmay Garde
95ac9b3e05 Merge pull request #1393 from chinmaygarde/master
iOS: Update log prefix for device logs. We don't use SkyShell anymore
2016-01-26 13:50:16 -08:00
Chinmay Garde
bf3594c3ee iOS: Update log prefix for device logs. We don't use SkyShell anymore 2016-01-26 13:49:54 -08:00
Chinmay Garde
37b57816c6 Merge pull request #1388 from chinmaygarde/master
Minor update to the message logged when multiple devices are connected with no device ID specified
2016-01-26 13:11:26 -08:00
Collin Jackson
d48a469f8a Merge pull request #1389 from collinjackson/contentType
Example of setting the content type of a POST request
2016-01-26 13:05:16 -08:00
Collin Jackson
cd95d51c70 Example of setting the content type of a POST request 2016-01-26 12:24:33 -08:00
Adam Barth
340f6fd486 Merge pull request #1387 from abarth/stub_assert
Input asserts while keyboard is dismissed
2016-01-26 12:15:54 -08:00
Chinmay Garde
4bd35cdbe9 Minor update to the message logged when multiple devices are connected with no device ID specified 2016-01-26 12:10:46 -08:00
Adam Barth
2ba9687766 Input asserts while keyboard is dismissed
Now we recreate the stub every time we try to connect to the keyboard. The
underlying message pipe in the stub cannot be re-used, which is why we
previously asserted.

Fixes #776
2016-01-26 12:03:33 -08:00
Chinmay Garde
6e2f133e21 Merge pull request #1386 from chinmaygarde/master
Avoid launching Xcode after "flutter ios --init"
2016-01-26 11:58:22 -08:00
Chinmay Garde
9e089f237f Avoid launching Xcode after "flutter ios --init" 2016-01-26 11:56:29 -08:00
Adam Barth
dc7451d642 Merge pull request #1380 from abarth/raw_keyboard_listener
Add RawKeyboardListener
2016-01-25 20:48:46 -08:00
Adam Barth
58c7fdef36 Add RawKeyboardListener
RawKeyboardListener makes it easier to listen for raw keyboard events.

Fixes #787
2016-01-25 20:37:22 -08:00
Adam Barth
19ae1e783b Merge pull request #1371 from abarth/silence_xcodebuild
flutter start shouldn't log xcodebuild output
2016-01-25 18:59:37 -08:00
Adam Barth
b7396ba13e Merge pull request #1379 from abarth/protect_editable_string
Hide EditableString implementation details
2016-01-25 16:43:04 -08:00
Adam Barth
f0ea0eafbb Hide EditableString implementation details
Previously, EditableString had many public members because it needed to
implement the KeyboardClient interface. However, that's confusing
because these methods cannot be called directly.

Now EditableString holds a private implementation of the KeyboardClient,
which hides the implementation details.

Fixes #208
Fixes #209
2016-01-25 16:10:51 -08:00
Adam Barth
4a01299827 flutter start shouldn't log xcodebuild output
Xcodebuild produces a lot of output that isn't relevant to developers. We
should hide it by default.
2016-01-25 14:09:11 -08:00
Devon Carew
7737117a20 Merge pull request #1369 from devoncarew/improve_device_support
improve device notification support
2016-01-25 13:59:36 -08:00
Devon Carew
080896a305 improve device notification support 2016-01-25 13:50:59 -08:00
Adam Barth
a46fb2c4db Merge pull request #1370 from abarth/commit_on_release
Keyboard service doesn't commit the last edit when it's dismissed
2016-01-25 13:48:30 -08:00
Adam Barth
008af64cce Keyboard service doesn't commit the last edit when it's dismissed
We were getting the proper values, but we thought we were still composing, so
the text was still underlined.

Fixes #115
2016-01-25 13:29:17 -08:00
Matt Perry
b43bd0b1ec Merge pull request #1365 from mpcomplete/apk2
Support local paths to third-party jars in flutter apk.
2016-01-25 16:10:30 -05:00
Adam Barth
9862605f8c Merge pull request #1367 from abarth/better_errors
Improve error messages for iOS workflow
2016-01-25 13:05:28 -08:00