Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
qq_34031325
engine
提交
1348ab5b
E
engine
项目概览
qq_34031325
/
engine
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
E
engine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
1348ab5b
编写于
3月 16, 2018
作者:
M
mikejurka
提交者:
GitHub
3月 16, 2018
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Roll Dart to f1ebe2bd5cfcb6b522e5b4fd406cdabb1a2d2091. (#4800) (#4805)
上级
464af48e
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
9 addition
and
27 deletion
+9
-27
DEPS
DEPS
+2
-2
flutter_kernel_transformers/lib/track_widget_constructor_locations.dart
..._transformers/lib/track_widget_constructor_locations.dart
+3
-3
runtime/dart_controller.cc
runtime/dart_controller.cc
+1
-17
runtime/dart_init.cc
runtime/dart_init.cc
+2
-4
travis/licenses_golden/licenses_third_party
travis/licenses_golden/licenses_third_party
+1
-1
未找到文件。
DEPS
浏览文件 @
1348ab5b
...
...
@@ -31,7 +31,7 @@ vars = {
# Dart is: https://github.com/dart-lang/sdk/blob/master/DEPS.
# You can use //tools/dart/create_updated_flutter_deps.py to produce
# updated revision list of existing dependencies.
'dart_revision': '
7328726088065b53f40e02caae6fd73f94528e3e
',
'dart_revision': '
f1ebe2bd5cfcb6b522e5b4fd406cdabb1a2d2091
',
'dart_args_tag': '1.4.1',
'dart_async_tag': '2.0.6',
...
...
@@ -75,7 +75,7 @@ vars = {
'dart_plugin_tag': '0.2.0+2',
'dart_pool_tag': '1.3.4',
'dart_protobuf_tag': '0.7.1',
'dart_pub_rev': 'd
2755745e88b63448d0adfbf2d04af9050f45ed3
',
'dart_pub_rev': 'd
be8be2bb8bca9b26ba7bd583272c62f9a0153fd
',
'dart_pub_semver_tag': '1.3.2',
'dart_quiver_tag': '5aaa3f58c48608af5b027444d561270b53f15dbf',
'dart_resource_rev': 'af5a5bf65511943398146cf146e466e5f0b95cb9',
...
...
flutter_kernel_transformers/lib/track_widget_constructor_locations.dart
浏览文件 @
1348ab5b
...
...
@@ -418,7 +418,7 @@ class WidgetCreatorTracker implements ProgramTransformer {
clazz
.
constructors
.
forEach
(
handleConstructor
);
}
Program
_computeFullProgram
(
Program
deltaProgram
)
{
Component
_computeFullProgram
(
Component
deltaProgram
)
{
final
Set
<
Library
>
libraries
=
new
Set
<
Library
>();
final
List
<
Library
>
workList
=
<
Library
>[];
for
(
Library
library
in
deltaProgram
.
libraries
)
{
...
...
@@ -434,7 +434,7 @@ class WidgetCreatorTracker implements ProgramTransformer {
}
}
}
return
new
Program
()..
libraries
.
addAll
(
libraries
);
return
new
Component
()..
libraries
.
addAll
(
libraries
);
}
/// Transform the given [program].
...
...
@@ -442,7 +442,7 @@ class WidgetCreatorTracker implements ProgramTransformer {
/// It is safe to call this method on a delta program generated as part of
/// performing a hot reload.
@override
void
transform
(
Program
program
)
{
void
transform
(
Component
program
)
{
final
List
<
Library
>
libraries
=
program
.
libraries
;
if
(
libraries
.
isEmpty
)
{
...
...
runtime/dart_controller.cc
浏览文件 @
1348ab5b
...
...
@@ -139,29 +139,13 @@ bool DartController::SendStartMessage(Dart_Handle root_library,
return
LogIfError
(
result
);
}
static
void
CopyVectorBytes
(
const
std
::
vector
<
uint8_t
>&
vector
,
uint8_t
*&
bytes
)
{
bytes
=
(
uint8_t
*
)
malloc
(
vector
.
size
());
memcpy
(
bytes
,
vector
.
data
(),
vector
.
size
());
}
static
void
ReleaseFetchedBytes
(
uint8_t
*
buffer
)
{
free
(
buffer
);
}
tonic
::
DartErrorHandleType
DartController
::
RunFromKernel
(
const
std
::
vector
<
uint8_t
>&
kernel
,
const
std
::
string
&
entrypoint
)
{
tonic
::
DartState
::
Scope
scope
(
dart_state
());
tonic
::
DartErrorHandleType
error
=
tonic
::
kNoError
;
if
(
Dart_IsNull
(
Dart_RootLibrary
()))
{
// Copy kernel bytes and pass ownership of the copy to the Dart_LoadKernel,
// which is expected to release them.
uint8_t
*
kernel_bytes
=
nullptr
;
CopyVectorBytes
(
kernel
,
kernel_bytes
);
Dart_Handle
result
=
Dart_LoadKernel
(
Dart_ReadKernelBinary
(
kernel_bytes
,
kernel
.
size
(),
ReleaseFetchedBytes
));
Dart_Handle
result
=
Dart_LoadScriptFromKernel
(
kernel
.
data
(),
kernel
.
size
());
LogIfError
(
result
);
error
=
tonic
::
GetErrorHandleType
(
result
);
}
...
...
runtime/dart_init.cc
浏览文件 @
1348ab5b
...
...
@@ -396,10 +396,8 @@ Dart_Isolate IsolateCreateCallback(const char* script_uri,
if
(
!
kernel_data
.
empty
())
{
// We are running kernel code.
uint8_t
*
kernel_buf
=
static_cast
<
uint8_t
*>
(
malloc
(
kernel_data
.
size
()));
memcpy
(
kernel_buf
,
kernel_data
.
data
(),
kernel_data
.
size
());
FXL_CHECK
(
!
LogIfError
(
Dart_LoadKernel
(
Dart_ReadKernelBinary
(
kernel_buf
,
kernel_data
.
size
(),
ReleaseFetchedBytes
))));
FXL_CHECK
(
!
LogIfError
(
Dart_LoadScriptFromKernel
(
kernel_data
.
data
(),
kernel_data
.
size
())));
}
else
if
(
!
snapshot_data
.
empty
())
{
// We are running from a script snapshot.
FXL_CHECK
(
!
LogIfError
(
Dart_LoadScriptFromSnapshot
(
snapshot_data
.
data
(),
...
...
travis/licenses_golden/licenses_third_party
浏览文件 @
1348ab5b
Signature: 80
02aa37a2e3a8073ba0bce943b9db6e
Signature: 80
830a986974f5df1b4b7f0aa68fd1f8
UNUSED LICENSES:
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录