Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
8a88e2ef
Commit
8a88e2ef
authored
Aug 09, 2017
by
Alexandre Ardhuin
Committed by
GitHub
Aug 09, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bump Dart SDK to 1.25.0-dev.9.0 (#11509)
* Bump Dart SDK to 1.25.0-dev.9.0 * add link to sdk bug
parent
3b76e7e2
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
20 additions
and
19 deletions
+20
-19
dart-sdk.version
bin/internal/dart-sdk.version
+1
-1
adb_test.dart
dev/devicelab/test/adb_test.dart
+1
-1
home.dart
examples/flutter_gallery/lib/demo/calculator/home.dart
+2
-2
logic.dart
examples/flutter_gallery/lib/demo/calculator/logic.dart
+2
-2
logic.dart
examples/flutter_gallery/test/calculator/logic.dart
+6
-6
diagnostics.dart
packages/flutter/lib/src/foundation/diagnostics.dart
+1
-1
box_painter.dart
packages/flutter/lib/src/painting/box_painter.dart
+1
-1
proxy_box.dart
packages/flutter/lib/src/rendering/proxy_box.dart
+2
-1
pages.dart
packages/flutter/lib/src/widgets/pages.dart
+1
-1
devices.dart
packages/flutter_tools/lib/src/ios/devices.dart
+1
-1
simulators.dart
packages/flutter_tools/lib/src/ios/simulators.dart
+1
-1
pubspec.yaml
packages/flutter_tools/pubspec.yaml
+1
-1
No files found.
bin/internal/dart-sdk.version
View file @
8a88e2ef
1.25.0-dev.
7
.0
1.25.0-dev.
9
.0
dev/devicelab/test/adb_test.dart
View file @
8a88e2ef
...
@@ -148,7 +148,7 @@ class CommandArgs {
...
@@ -148,7 +148,7 @@ class CommandArgs {
}
}
class
FakeDevice
extends
AndroidDevice
{
class
FakeDevice
extends
AndroidDevice
{
FakeDevice
({
String
deviceId
:
null
})
:
super
(
deviceId:
deviceId
);
FakeDevice
({
String
deviceId
})
:
super
(
deviceId:
deviceId
);
static
String
output
=
''
;
static
String
output
=
''
;
static
ExitErrorFactory
exitErrorFactory
=
()
=>
null
;
static
ExitErrorFactory
exitErrorFactory
=
()
=>
null
;
...
...
examples/flutter_gallery/lib/demo/calculator/home.dart
View file @
8a88e2ef
...
@@ -18,7 +18,7 @@ class _CalculatorState extends State<Calculator> {
...
@@ -18,7 +18,7 @@ class _CalculatorState extends State<Calculator> {
/// keep a stack of previous expressions so we can return to earlier states
/// keep a stack of previous expressions so we can return to earlier states
/// when the user hits the DEL key.
/// when the user hits the DEL key.
final
List
<
CalcExpression
>
_expressionStack
=
<
CalcExpression
>[];
final
List
<
CalcExpression
>
_expressionStack
=
<
CalcExpression
>[];
CalcExpression
_expression
=
new
CalcExpression
.
E
mpty
();
CalcExpression
_expression
=
new
CalcExpression
.
e
mpty
();
// Make `expression` the current expression and push the previous current
// Make `expression` the current expression and push the previous current
// expression onto the stack.
// expression onto the stack.
...
@@ -32,7 +32,7 @@ class _CalculatorState extends State<Calculator> {
...
@@ -32,7 +32,7 @@ class _CalculatorState extends State<Calculator> {
if
(
_expressionStack
.
isNotEmpty
)
{
if
(
_expressionStack
.
isNotEmpty
)
{
_expression
=
_expressionStack
.
removeLast
();
_expression
=
_expressionStack
.
removeLast
();
}
else
{
}
else
{
_expression
=
new
CalcExpression
.
E
mpty
();
_expression
=
new
CalcExpression
.
e
mpty
();
}
}
}
}
...
...
examples/flutter_gallery/lib/demo/calculator/logic.dart
View file @
8a88e2ef
...
@@ -120,10 +120,10 @@ enum ExpressionState {
...
@@ -120,10 +120,10 @@ enum ExpressionState {
class
CalcExpression
{
class
CalcExpression
{
CalcExpression
(
this
.
_list
,
this
.
state
);
CalcExpression
(
this
.
_list
,
this
.
state
);
CalcExpression
.
E
mpty
()
CalcExpression
.
e
mpty
()
:
this
(<
ExpressionToken
>[],
ExpressionState
.
Start
);
:
this
(<
ExpressionToken
>[],
ExpressionState
.
Start
);
CalcExpression
.
R
esult
(
FloatToken
result
)
CalcExpression
.
r
esult
(
FloatToken
result
)
:
_list
=
<
ExpressionToken
>[],
:
_list
=
<
ExpressionToken
>[],
state
=
ExpressionState
.
Result
{
state
=
ExpressionState
.
Result
{
_list
.
add
(
result
);
_list
.
add
(
result
);
...
...
examples/flutter_gallery/test/calculator/logic.dart
View file @
8a88e2ef
...
@@ -7,7 +7,7 @@ import 'package:test/test.dart';
...
@@ -7,7 +7,7 @@ import 'package:test/test.dart';
void
main
(
)
{
void
main
(
)
{
test
(
'Test order of operations: 12 + 3 * 4 = 24'
,
()
{
test
(
'Test order of operations: 12 + 3 * 4 = 24'
,
()
{
CalcExpression
expression
=
new
CalcExpression
.
E
mpty
();
CalcExpression
expression
=
new
CalcExpression
.
e
mpty
();
expression
=
expression
.
appendDigit
(
1
);
expression
=
expression
.
appendDigit
(
1
);
expression
=
expression
.
appendDigit
(
2
);
expression
=
expression
.
appendDigit
(
2
);
expression
=
expression
.
appendOperation
(
Operation
.
Addition
);
expression
=
expression
.
appendOperation
(
Operation
.
Addition
);
...
@@ -20,7 +20,7 @@ void main() {
...
@@ -20,7 +20,7 @@ void main() {
});
});
test
(
'Test floating point 0.1 + 0.2 = 0.3'
,
()
{
test
(
'Test floating point 0.1 + 0.2 = 0.3'
,
()
{
CalcExpression
expression
=
new
CalcExpression
.
E
mpty
();
CalcExpression
expression
=
new
CalcExpression
.
e
mpty
();
expression
=
expression
.
appendDigit
(
0
);
expression
=
expression
.
appendDigit
(
0
);
expression
=
expression
.
appendPoint
();
expression
=
expression
.
appendPoint
();
expression
=
expression
.
appendDigit
(
1
);
expression
=
expression
.
appendDigit
(
1
);
...
@@ -34,7 +34,7 @@ void main() {
...
@@ -34,7 +34,7 @@ void main() {
});
});
test
(
'Test floating point 1.0/10.0 = 0.1'
,
()
{
test
(
'Test floating point 1.0/10.0 = 0.1'
,
()
{
CalcExpression
expression
=
new
CalcExpression
.
E
mpty
();
CalcExpression
expression
=
new
CalcExpression
.
e
mpty
();
expression
=
expression
.
appendDigit
(
1
);
expression
=
expression
.
appendDigit
(
1
);
expression
=
expression
.
appendPoint
();
expression
=
expression
.
appendPoint
();
expression
=
expression
.
appendDigit
(
0
);
expression
=
expression
.
appendDigit
(
0
);
...
@@ -49,7 +49,7 @@ void main() {
...
@@ -49,7 +49,7 @@ void main() {
});
});
test
(
'Test 1/0 = Infinity'
,
()
{
test
(
'Test 1/0 = Infinity'
,
()
{
CalcExpression
expression
=
new
CalcExpression
.
E
mpty
();
CalcExpression
expression
=
new
CalcExpression
.
e
mpty
();
expression
=
expression
.
appendDigit
(
1
);
expression
=
expression
.
appendDigit
(
1
);
expression
=
expression
.
appendOperation
(
Operation
.
Division
);
expression
=
expression
.
appendOperation
(
Operation
.
Division
);
expression
=
expression
.
appendDigit
(
0
);
expression
=
expression
.
appendDigit
(
0
);
...
@@ -59,7 +59,7 @@ void main() {
...
@@ -59,7 +59,7 @@ void main() {
});
});
test
(
'Test use result in next calculation: 1 + 1 = 2 + 1 = 3 + 1 = 4'
,
()
{
test
(
'Test use result in next calculation: 1 + 1 = 2 + 1 = 3 + 1 = 4'
,
()
{
CalcExpression
expression
=
new
CalcExpression
.
E
mpty
();
CalcExpression
expression
=
new
CalcExpression
.
e
mpty
();
expression
=
expression
.
appendDigit
(
1
);
expression
=
expression
.
appendDigit
(
1
);
expression
=
expression
.
appendOperation
(
Operation
.
Addition
);
expression
=
expression
.
appendOperation
(
Operation
.
Addition
);
expression
=
expression
.
appendDigit
(
1
);
expression
=
expression
.
appendDigit
(
1
);
...
@@ -75,7 +75,7 @@ void main() {
...
@@ -75,7 +75,7 @@ void main() {
});
});
test
(
'Test minus -3 - -2 = -1'
,
()
{
test
(
'Test minus -3 - -2 = -1'
,
()
{
CalcExpression
expression
=
new
CalcExpression
.
E
mpty
();
CalcExpression
expression
=
new
CalcExpression
.
e
mpty
();
expression
=
expression
.
appendMinus
();
expression
=
expression
.
appendMinus
();
expression
=
expression
.
appendDigit
(
3
);
expression
=
expression
.
appendDigit
(
3
);
expression
=
expression
.
appendMinus
();
expression
=
expression
.
appendMinus
();
...
...
packages/flutter/lib/src/foundation/diagnostics.dart
View file @
8a88e2ef
...
@@ -1201,7 +1201,7 @@ class FlagProperty extends DiagnosticsProperty<bool> {
...
@@ -1201,7 +1201,7 @@ class FlagProperty extends DiagnosticsProperty<bool> {
this
.
ifFalse
,
this
.
ifFalse
,
bool
showName:
false
,
bool
showName:
false
,
bool
hidden:
false
,
bool
hidden:
false
,
Object
defaultValue
:
null
,
Object
defaultValue
,
})
:
super
(
})
:
super
(
name
,
name
,
value
,
value
,
...
...
packages/flutter/lib/src/painting/box_painter.dart
View file @
8a88e2ef
...
@@ -492,7 +492,7 @@ class Border {
...
@@ -492,7 +492,7 @@ class Border {
/// requirement that the border [isUniform].
/// requirement that the border [isUniform].
void
paint
(
Canvas
canvas
,
Rect
rect
,
{
void
paint
(
Canvas
canvas
,
Rect
rect
,
{
BoxShape
shape:
BoxShape
.
rectangle
,
BoxShape
shape:
BoxShape
.
rectangle
,
BorderRadius
borderRadius
:
null
,
BorderRadius
borderRadius
,
})
{
})
{
if
(
isUniform
)
{
if
(
isUniform
)
{
if
(
borderRadius
!=
null
)
{
if
(
borderRadius
!=
null
)
{
...
...
packages/flutter/lib/src/rendering/proxy_box.dart
View file @
8a88e2ef
...
@@ -40,7 +40,8 @@ class RenderProxyBox extends RenderBox with RenderObjectWithChildMixin<RenderBox
...
@@ -40,7 +40,8 @@ class RenderProxyBox extends RenderBox with RenderObjectWithChildMixin<RenderBox
/// Proxy render boxes are rarely created directly because they simply proxy
/// Proxy render boxes are rarely created directly because they simply proxy
/// the render box protocol to [child]. Instead, consider using one of the
/// the render box protocol to [child]. Instead, consider using one of the
/// subclasses.
/// subclasses.
RenderProxyBox
([
RenderBox
child
=
null
])
{
// TODO(a14n): Remove ignore once https://github.com/dart-lang/sdk/issues/30328 is fixed
RenderProxyBox
([
RenderBox
child
=
null
])
{
//ignore: avoid_init_to_null
this
.
child
=
child
;
this
.
child
=
child
;
}
}
}
}
...
...
packages/flutter/lib/src/widgets/pages.dart
View file @
8a88e2ef
...
@@ -83,7 +83,7 @@ class PageRouteBuilder<T> extends PageRoute<T> {
...
@@ -83,7 +83,7 @@ class PageRouteBuilder<T> extends PageRoute<T> {
this
.
transitionDuration
:
const
Duration
(
milliseconds:
300
),
this
.
transitionDuration
:
const
Duration
(
milliseconds:
300
),
this
.
opaque
:
true
,
this
.
opaque
:
true
,
this
.
barrierDismissible
:
false
,
this
.
barrierDismissible
:
false
,
this
.
barrierColor
:
null
,
this
.
barrierColor
,
this
.
maintainState
:
true
,
this
.
maintainState
:
true
,
})
:
assert
(
pageBuilder
!=
null
),
})
:
assert
(
pageBuilder
!=
null
),
assert
(
transitionsBuilder
!=
null
),
assert
(
transitionsBuilder
!=
null
),
...
...
packages/flutter_tools/lib/src/ios/devices.dart
View file @
8a88e2ef
...
@@ -421,7 +421,7 @@ class _IOSDevicePortForwarder extends DevicePortForwarder {
...
@@ -421,7 +421,7 @@ class _IOSDevicePortForwarder extends DevicePortForwarder {
List
<
ForwardedPort
>
get
forwardedPorts
=>
_forwardedPorts
;
List
<
ForwardedPort
>
get
forwardedPorts
=>
_forwardedPorts
;
@override
@override
Future
<
int
>
forward
(
int
devicePort
,
{
int
hostPort
:
null
})
async
{
Future
<
int
>
forward
(
int
devicePort
,
{
int
hostPort
})
async
{
if
((
hostPort
==
null
)
||
(
hostPort
==
0
))
{
if
((
hostPort
==
null
)
||
(
hostPort
==
0
))
{
// Auto select host port.
// Auto select host port.
hostPort
=
await
portScanner
.
findAvailablePort
();
hostPort
=
await
portScanner
.
findAvailablePort
();
...
...
packages/flutter_tools/lib/src/ios/simulators.dart
View file @
8a88e2ef
...
@@ -697,7 +697,7 @@ class _IOSSimulatorDevicePortForwarder extends DevicePortForwarder {
...
@@ -697,7 +697,7 @@ class _IOSSimulatorDevicePortForwarder extends DevicePortForwarder {
}
}
@override
@override
Future
<
int
>
forward
(
int
devicePort
,
{
int
hostPort
:
null
})
async
{
Future
<
int
>
forward
(
int
devicePort
,
{
int
hostPort
})
async
{
if
((
hostPort
==
null
)
||
(
hostPort
==
0
))
{
if
((
hostPort
==
null
)
||
(
hostPort
==
0
))
{
hostPort
=
devicePort
;
hostPort
=
devicePort
;
}
}
...
...
packages/flutter_tools/pubspec.yaml
View file @
8a88e2ef
...
@@ -17,7 +17,7 @@ dependencies:
...
@@ -17,7 +17,7 @@ dependencies:
intl
:
'
>=0.14.0
<0.16.0'
intl
:
'
>=0.14.0
<0.16.0'
json_rpc_2
:
^2.0.0
json_rpc_2
:
^2.0.0
json_schema
:
1.0.6
json_schema
:
1.0.6
linter
:
0.1.3
1
linter
:
0.1.3
5
meta
:
^1.0.5
meta
:
^1.0.5
mustache
:
^0.2.5
mustache
:
^0.2.5
package_config
:
'
>=0.1.5
<2.0.0'
package_config
:
'
>=0.1.5
<2.0.0'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment