Skip to content

Commit

Permalink
Version 2.1.0-dev.9.1
Browse files Browse the repository at this point in the history
Cherry-pick commit 0fe448a to dev
Cherry-pick commit 45d070d to dev
Cherry-pick commit 00f27a3 to dev
Cherry-pick commit 523353d to dev
Cherry-pick commit db42713 to dev
  • Loading branch information
whesse committed Nov 2, 2018
2 parents d93e5b4 + 47ea06f commit 2f1b417
Show file tree
Hide file tree
Showing 30 changed files with 696 additions and 299 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
## 2.1.0-dev.9.1

Cherry-pick commit 0fe448a99643e149acb2e7e32d7a30eba7dd646d to update the analysis server edit.dartfix protocol.

Cherry-pick commit 45d070d437bb1b596516edd3717e6ee614c5f9ac to update linter to version 0.1.71.

Cherry-pick commit 00f27a32cf52834b3e9e1f52889b6f1c83ad338c to fix usage of mixins in dart dev compiler.

Cherry-pick commit 523353d28017fced825581ea327509c620eed67e to fix the ARM 32-bit build.

Cherry-pick commit db4271378f56a66528a87f2f920c678162d59a35 to fix an
issue with coverage

## 2.1.0-dev.9.0

## 2.1.0-dev.8.0
Expand Down
2 changes: 1 addition & 1 deletion DEPS
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ vars = {
"intl_tag": "0.15.7",
"jinja2_rev": "2222b31554f03e62600cd7e383376a7c187967a1",
"json_rpc_2_tag": "2.0.9",
"linter_tag": "0.1.70",
"linter_tag": "0.1.71",
"logging_tag": "0.11.3+2",
"markdown_tag": "2.0.2",
"matcher_tag": "0.12.3",
Expand Down
4 changes: 1 addition & 3 deletions build/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,5 @@ win_toolchain.json
# Pulled Debian wheezy sysroots
linux/debian_jessie_arm-sysroot
linux/debian_jessie_arm64-sysroot
linux/debian_wheezy_amd64-sysroot
linux/debian_jessie_amd64-sysroot
linux/debian_wheezy_arm-sysroot
linux/debian_wheezy_i386-sysroot
linux/debian_jessie_i386-sysroot
8 changes: 4 additions & 4 deletions build/config/linux/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ config("sdk") {
],
"value") ]

# When using the pulled wheezy sysroot with gcc, we have to specify these
# When using the pulled Debian sysroot with gcc, we have to specify these
# excplicitly.
if (dart_use_wheezy_sysroot && !is_clang) {
if (dart_use_debian_sysroot && !is_clang) {
cflags += [
"-I=/usr/include/c++/4.6",
"-I=/usr/include/c++/4.6/i486-linux-gnu",
"-I=/usr/include/c++/4.8",
"-I=/usr/include/c++/4.8/i486-linux-gnu",
]
}
}
Expand Down
18 changes: 7 additions & 11 deletions build/config/sysroot.gni
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,21 @@ declare_args() {
# the target toolchain.
target_sysroot = ""

# Whether the Debian wheezy sysroot should be used.
dart_use_wheezy_sysroot = false
# Whether the Debian sysroot should be used.
dart_use_debian_sysroot = false
}

if (is_linux && dart_use_wheezy_sysroot) {
if (is_linux && dart_use_debian_sysroot) {
if (current_cpu == "x86") {
target_sysroot = rebase_path("//build/linux/debian_wheezy_i386-sysroot", root_build_dir)
target_sysroot = rebase_path("//build/linux/debian_jessie_i386-sysroot", root_build_dir)
} else if (current_cpu == "x64") {
if (is_asan || is_lsan || is_msan || is_tsan) {
target_sysroot = rebase_path("//build/linux/debian_jessie_amd64-sysroot", root_build_dir)
} else {
target_sysroot = rebase_path("//build/linux/debian_wheezy_amd64-sysroot", root_build_dir)
}
target_sysroot = rebase_path("//build/linux/debian_jessie_amd64-sysroot", root_build_dir)
} else if (current_cpu == "arm") {
target_sysroot = rebase_path("//build/linux/debian_wheezy_arm-sysroot", root_build_dir)
target_sysroot = rebase_path("//build/linux/debian_jessie_arm-sysroot", root_build_dir)
} else if (current_cpu == "arm64") {
target_sysroot = rebase_path("//build/linux/debian_jessie_arm64-sysroot", root_build_dir)
} else {
print("There is no Debian wheezy sysroot present for $current_cpu")
print("There is no Debian sysroot present for $current_cpu")
assert(false)
}
}
Expand Down
7 changes: 3 additions & 4 deletions build/linux/sysroot_scripts/install-sysroot.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,16 +95,15 @@ def main(args):

def InstallDefaultSysrootForArch(target_arch):
if target_arch == 'amd64':
InstallSysroot('Wheezy', 'amd64')
InstallSysroot('Jessie', 'amd64')
elif target_arch == 'arm':
InstallSysroot('Wheezy', 'arm')
InstallSysroot('Jessie', 'arm')
elif target_arch == 'arm64':
InstallSysroot('Jessie', 'arm64')
elif target_arch == 'i386':
InstallSysroot('Wheezy', 'i386')
InstallSysroot('Jessie', 'i386')
elif target_arch == 'mips':
InstallSysroot('Wheezy', 'mips')
InstallSysroot('Jessie', 'mips')
else:
raise Error('Unknown architecture: %s' % target_arch)

Expand Down
7 changes: 4 additions & 3 deletions pkg/analysis_server/doc/api.html
Original file line number Diff line number Diff line change
Expand Up @@ -2658,6 +2658,7 @@ <h2 class="domain"><a name="types">Types</a></h2>






<dl><dt class="typeDefinition"><a name="type_AddContentOverlay">AddContentOverlay: object</a></dt><dd>
Expand Down Expand Up @@ -4379,9 +4380,9 @@ <h2 class="domain"><a name="types">Types</a></h2>
</dd></dl></dd><dt class="typeDefinition"><a name="type_RuntimeCompletionExpression">RuntimeCompletionExpression: object</a></dt><dd>
<p>
An expression for which we want to know its runtime type.
In expressions like `a.b.c.where((e) =&gt; e.^)` we want to know the
runtime type of `a.b.c` to enforce it statically at the time when we
compute completion suggestions, and get better type for `e`.
In expressions like 'a.b.c.where((e) =&gt; e.^)' we want to know the
runtime type of 'a.b.c' to enforce it statically at the time when we
compute completion suggestions, and get better type for 'e'.
</p>

<dl><dt class="field"><b>offset: int</b></dt><dd>
Expand Down
7 changes: 3 additions & 4 deletions pkg/analysis_server/lib/protocol/protocol_constants.dart
Original file line number Diff line number Diff line change
Expand Up @@ -173,11 +173,10 @@ const String EDIT_REQUEST_ORGANIZE_DIRECTIVES = 'edit.organizeDirectives';
const String EDIT_REQUEST_ORGANIZE_DIRECTIVES_FILE = 'file';
const String EDIT_REQUEST_SORT_MEMBERS = 'edit.sortMembers';
const String EDIT_REQUEST_SORT_MEMBERS_FILE = 'file';
const String EDIT_RESPONSE_DARTFIX_DESCRIPTION_OF_FIXES = 'descriptionOfFixes';
const String EDIT_RESPONSE_DARTFIX_FIXES = 'fixes';
const String EDIT_RESPONSE_DARTFIX_EDITS = 'edits';
const String EDIT_RESPONSE_DARTFIX_HAS_ERRORS = 'hasErrors';
const String EDIT_RESPONSE_DARTFIX_OTHER_RECOMMENDATIONS =
'otherRecommendations';
const String EDIT_RESPONSE_DARTFIX_OTHER_SUGGESTIONS = 'otherSuggestions';
const String EDIT_RESPONSE_DARTFIX_SUGGESTIONS = 'suggestions';
const String EDIT_RESPONSE_FORMAT_EDITS = 'edits';
const String EDIT_RESPONSE_FORMAT_SELECTION_LENGTH = 'selectionLength';
const String EDIT_RESPONSE_FORMAT_SELECTION_OFFSET = 'selectionOffset';
Expand Down
Loading

0 comments on commit 2f1b417

Please sign in to comment.