- Jan 10, 2020
-
-
Jonas Finnemann Jensen authored
Instead of writing a language version based on the current SDK. This causes the fallback to using the latest version to happen at runtime instead of at `pub get` time.
-
- Jan 09, 2020
-
-
Jesse-Bakker authored
Use `%LOCALAPPDATA%` for `.pub-cache` on windows if `.pub-cache` doesn't already existing in `%APPDATA%`. Using `%LOCALAPPDATA%` is better because it's not copied when users roam between devices.
-
- Jan 06, 2020
-
-
Nate Bosch authored
- always_declare_return_types - annotate_overrides - curly_braces_in_flow_control_structures - prefer_for_elements_to_map_fromiterable - prefer_if_null_operators - prefer_single_quotes - prefer_spread_collections - unawaited_futures - use_function_type_syntax_for_parameters Rename a method starting with `get` to use a more accurately descriptive verb. Tighten the types on some methods highlighted by the `always_declare_return_types` lint by making them generic instead of returning `dynamic`.
-
Nate Bosch authored
Use a conditional element in a List literal instead of conditionally calling `.insert`. Change an implementation comment into an expanded doc comment for handling the no-unknown-keyword argument. Use a spread element instead of `..addAll`.
-
Nate Bosch authored
A Mock is an object that can record and verify interaction during a test, these classes are not mocks.
-
Nate Bosch authored
The `.add` method returns a boolean indicating whether then value was not already contained in the set. Find a few places where both are used unnecessarily and refactor to only call `.add` and use the returned boolean.
-
Jonas Finnemann Jensen authored
The caller in `CacheListCommand.run` does not appear capable of handling `null` values. Hence, filtering it out seems reasonable in this case.
-
- Jan 03, 2020
-
-
Nate Bosch authored
Fix 2 cases of `prefer_final_fields`. Fix some unnecessary_lambda surfaced by making one field final. Add a missing return on an argument to `List.map`. Change the argument type on some utility methods to allow a function returning `FutureOr` to avoid hints about missing returns on methods expected to return a `Future`.
-
- Jan 02, 2020
-
-
Jacob MacDonald authored
-
- Dec 12, 2019
-
-
Sigurd Meldgaard authored
And only precompile the single desired executable on pub run. `pub run` will avoid printing "precompiling executable..." if we don't have a terminal attached. That allows the output of `pub run` to be piped but still explains the user where time is going on first run of eg. pub run test in the terminal. This does not change pub global behavior. We probably want to continue recompiling all executables on pub global activate. `pub get` still allows --precompile for those who prefer the old behavior.
-
- Dec 03, 2019
-
-
Sigurd Meldgaard authored
-
- Nov 11, 2019
-
-
Jonas Finnemann Jensen authored
-
Jonas Finnemann Jensen authored
-
- Oct 29, 2019
-
-
Sigurd Meldgaard authored
-
Jonas Finnemann Jensen authored
* Warn about old flutter plugin registration format
-
- Oct 28, 2019
-
-
Sigurd Meldgaard authored
Remove unused Map `availableVersions`
-
Sigurd Meldgaard authored
-
Sigurd Meldgaard authored
Language versioning
-
- Oct 25, 2019
-
-
Sigurd Meldgaard authored
-
- Oct 24, 2019
-
-
Sigurd Meldgaard authored
-
Sigurd Meldgaard authored
-
Sigurd Meldgaard authored
-
Jonas Finnemann Jensen authored
* Added utility for faster local testing
-
Jonas Finnemann Jensen authored
This caused ordering of keys in `Map` parsed from YAML to maintain the ordering from the YAML file. Acoording to `doc/solver.md` pub will choose the first solution it encounters during dependency resolution. However, the algorithm will choose the latest version of the package with fewest versions available, when picking the next step. Thus, this may cause pub to return a different solution. But given that the graph of packages available is not stable (as new versions can be published), the solutions cannot be expected to be stable over time. Hence, changing this ordering should be of little impact, besides reordering of messages in test cases.
-
- Oct 22, 2019
-
-
Jonas Finnemann Jensen authored
-
- Oct 21, 2019
-
-
Jonas Finnemann Jensen authored
-
Jonas Finnemann Jensen authored
-
Jonas Finnemann Jensen authored
-
- Oct 20, 2019
-
-
Jonas Finnemann Jensen authored
-
- Oct 10, 2019
-
-
Michael Thomsen authored
Add travis badge
-
Michael Thomsen authored
-
- Oct 03, 2019
-
-
Sigurd Meldgaard authored
-
- Sep 27, 2019
-
-
Jake Champion authored
-
- Sep 16, 2019
-
-
Jonas Finnemann Jensen authored
* Fix to show proper error message when git is not installed * Added test case for when git is not installed
-
- Sep 09, 2019
-
-
Nate Bosch authored
Fixes #2204 The phrase "doesn't depend on" can be interpreted as "doesn't use" and considered an unnecessary import. Rephrase to be more clear that the message is discussing the dependencies in pubspec.yaml.
-
- Sep 04, 2019
-
-
Jonas Finnemann Jensen authored
This documentation relates to when Dart 1.x when pub did more than fetching dependencies and pre-compiling executables.
-
Jake Champion authored
* return the hashCode of the description * use _parseDescription(description).hashCode as the hashDescription
-
- Aug 05, 2019
-
-
Jonas Finnemann Jensen authored
* Cover common use-cases with caret notation. * Test that dependency on pre-release from stable release causes usage of the pre-release. * Test that direct dependency on stable release will not be overwritten by pre-release dependency from other stable dependency. * Test limitations of backtracking for dependency on pre-releases.
-
- Jul 21, 2019
-
-
Kevin Moore authored
-
- Jul 08, 2019
-
-
Mert authored
Wrong number in graph fixed
-