-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge package:watcher
#1665
Merged
Merged
Merge package:watcher
#1665
Changes from all commits
Commits
Show all changes
219 commits
Select commit
Hold shift + click to select a range
f147253
File watching package.
munificent a335cac
Fix pathos->path in watcher example.
munificent 63933a6
Split up tests and add some heartbeats to try to make them not timeout.
munificent f07eca1
Add some debug prints to figure out why a test is failing on windows.
munificent 56a381d
Normalize paths in mock timestamp map.
munificent 03d3095
Normalize paths when matching them.
munificent 2e152fd
Add missing newline after Actual value in fail message.
a8acfcb
Re-implement directory polling.
munificent 954d17f
pkg: analysis aided cleanup
kevmoo 35f4717
Handle watching a non-existent directory.
munificent 897f32c
Fix error handling in watcher.
munificent 1da9e39
Normalize test paths.
munificent b027f42
Use filtered stacks in pub, barback, and watcher tests.
nex3 1820015
Use Directory.systemTemp getter in pkg subdirectory of repository.
whesse 41732d4
Bump wait time for watcher test.
munificent 7fd14c9
Adapt streams for additional stackTrace argument.
floitschG f2807ba
Remove FileException, DirectoryException and LinkException from dart:…
5bd235d
Remove uses of Options from pkg, samples, tests, and third_party dire…
whesse 1efdfcb
fix csslib and watcher warnings
0abea1b
add versions and constraints for packages and samples
db84ec8
Revert "add versions and constraints for packages and samples"
c8c3d49
Re-land r29957 (add versions and constraints for packages and samples…
dgrove 90e0361
Wrap Directory.watch on linux for the watcher package.
nex3 3d4e068
Fix the watcher tests on Windows.
nex3 1b8eb68
Fix an analyzer error in the linux directory watcher.
nex3 9d1f993
Wrap Directory.watch on Mac OS for the watcher package.
nex3 1918a1a
Make path_set_test use Windows-friendly paths where necessary.
nex3 0090827
Fix some analyzer warnings and hints in pkg/watcher.
nex3 a05fcc1
Fix a typo in path_set_test.
nex3 85894ab
Work around a flake in the Mac OS watcher test on the bots.
nex3 f76c642
Properly close watcher streams during tests.
nex3 713dcc2
Add a bunch of debugging prints to the Mac OS watcher.
nex3 51905f5
Fix a synchronous event bug in futureStream.
nex3 7822373
Revert "Add a bunch of debugging prints to the Mac OS watcher."
nex3 a3d8591
Add a bunch of debugging prints to the Mac OS watcher.
nex3 1815318
Be sure we don't forward an error to a closed event stream.
nex3 dfb26e9
"Reverting 30205"
e3b44e1
Roll forward r30205.
nex3 f7f7051
Re-mark directory_watcher/mac_os_test as passing.
nex3 31241bc
Fix the Mac OS directory watcher tests on the bots.
nex3 84caa2a
Remove debugging prints from the Mac OS directory watcher.
nex3 3451b4b
Add a missing import to mac_os_watcher.
nex3 778821e
Properly close the Linux directory watcher when listing a subdirector…
nex3 cb64c9e
Update the Linux watcher to accommodate changes in [Directory.watch].
nex3 91f82aa
Add stack chain support to pkg/watcher and pkg/http.
nex3 d222b70
Add a missing import to pkg/watcher.
nex3 dc5efb8
Update the Mac OS watcher in pkg/watcher.
nex3 c47d626
Add debugging prints to the Mac OS directory watcher.
nex3 4214ba9
Increment package versions for stack trace changes.
nex3 ce9c760
Make pkg/path 1.0.0 and upgrade dependencies appropriately.
nex3 f16db64
Don't test for file differences in the polling watcher.
munificent 5be127b
I guess Linux doesn't iterate over folders alphabetically.
munificent 51191b8
Use stream matchers to unflake the mac OS watcher tests.
nex3 1fe426c
Stop working around issue 15458 in pkg/watcher.
nex3 0812547
pkg/unittest: added LICENSE
kevmoo 450bf11
Fix a flaky test and work around issue 16003 in pkg/watcher.
nex3 d8c8244
Take a broader approach to filtering out bogus Mac OS watcher events.
nex3 3e9d973
Add some additional debugging prints to the mac os watcher.
nex3 94acc44
Change ScheduledProcess's output streams over to be ScheduledStreams.
nex3 9e3e710
Release stack_trace 1.0.0.
nex3 0de56c4
Use 'Directory.watch' on Windows in pkg/watcher, instead of pooling.
c6b489a
Fall back to PollingDirectoryWatcher if FileSystemEntity:watch is not…
271ee99
Clean up the Windows watcher.
33592ea
Mac no longer fire bogus events. Fix Mac watcher.
e213974
Don't use kFSEventStreamCreateFlagNoDefer as it messes with event flu…
1634962
Revert watcher changes for mac.
b5dd0d7
Add check to watcher, to avoid null-error if unknown path is removed.
747f891
pkg/watcher: prepare for 0.9.3
kevmoo 249da16
pkg/watcher: update REAME descriptions
kevmoo a8b8e3f
pkg/watcher: actually flag for release
kevmoo 8dd6edf
Mac no longer fire bogus events. Fix Mac watcher.
c4150c4
Revert "Mac no longer fire bogus events. Fix Mac watcher."
14c9b78
Add gitignore, status, and codereview files.
nex3 1aa48de
Update the pubspec's homepage link.
nex3 3938793
Properly skip tests in packages directories.
nex3 4f38cac
Remove initial */s in .status.
nex3 8616fff
Update .status to properly skip tests.
nex3 38a2b19
Skip tests even more properly.
nex3 9a301f7
Treat add events for known files as modifications instead of discardi…
munificent da5d8d3
Fix bugs where events could be added after watchers were closed.
nex3 23edaac
Remove debug prints.
nex3 16db63b
Fix analysis errors, warnings, and hints.
nex3 22e2f6c
Use the new test runner.
nex3 63de467
Add a Watcher interface.
nex3 0ecfafa
Add support for watching individual files.
nex3 d976b9c
Use the new test runner on the bots.
nex3 517a7f2
Fix a race condition in file watcher.
nex3 7baed2f
Backport fixes from master to 0.9.7+x.
nex3 7b90662
Merge pull request dart-lang/watcher#25 from dart-lang/backport
nex3 f256c7d
Fix all strong-mode warnings.
nex3 622d836
Merge pull request dart-lang/watcher#26 from dart-lang/strong
nex3 a60efc6
Remove async from dev_dependencies.
nex3 c93689c
Merge pull request dart-lang/watcher#27 from dart-lang/remove-async
nex3 264b5d6
Narrow the constraint on async.
nex3 f6d1409
Merge branch 'fix-dep' into 0.9.7+x
nex3 0b19020
Fix a crashing bug on Linux.
nex3 050331d
Merge pull request dart-lang/watcher#28 from dart-lang/fix-bug
nex3 1f4c361
Release 0.9.7+2.
nex3 3415e9f
Merge pull request dart-lang/watcher#29 from dart-lang/release
nex3 dd8f029
Oops, that was supposed to be 0.9.7+3.
nex3 1774d2d
Merge pull request dart-lang/watcher#30 from dart-lang/correct-version
nex3 0f1b3e3
Convert all files to Unix newlines.
nex3 dd4154e
Remove an unused dependency on collection.
nex3 630f5ad
Merge pull request dart-lang/watcher#32 from dart-lang/collection
nex3 a2635e8
Merge pull request dart-lang/watcher#31 from dart-lang/newlines
nex3 5ecc1d6
Support async 2.0.0. (dart-lang/watcher#37)
nex3 47bec76
Modify type on _onBatch to reflect call argument types
leafpetersen c252978
Update changelog per comments
leafpetersen a5cc372
Merge pull request dart-lang/watcher#40 from dart-lang/fuzzy_arrow_fix2
leafpetersen b4fbbfd
Use suggested analysis_options file name
kevmoo e3b509a
migrate to the new function syntax
kevmoo dd1ecce
Add travis support
kevmoo ba07d4a
dartfmt
kevmoo 63df4ac
Stop using deprecated pkg/test apis
kevmoo 4890963
Remove scheduled test (dart-lang/watcher#44)
grouma 8d31f47
Make _LinuxDirectoryWatcher._listen generic (dart-lang/watcher#45)
nex3 1a43a63
Updates for Dart 2.0 corelib changes (wave 2.2)
leafpetersen d60ee37
Merge pull request dart-lang/watcher#47 from dart-lang/corelib_2_2
leafpetersen bc05d86
Run Travis against the stable branch (dart-lang/watcher#50)
nex3 f147ac8
Add types required in Dart2 and prepare for release (dart-lang/watche…
kevmoo 3d01b6e
Update .travis.yml for branch change (dart-lang/watcher#57)
kevmoo 6813e42
Use Dart 2 constants (dart-lang/watcher#60)
nex3 a81b4a1
dartfmt
kevmoo 72e6065
chore: set max SDK version to <3.0.0 (dart-lang/watcher#61)
chalin b579a49
Add missing return to fix analysis (dart-lang/watcher#62)
keertip c5d255a
Add some stricter analysis (dart-lang/watcher#64)
natebosch e9823fa
Run dartfmt --fix (dart-lang/watcher#65)
natebosch a6b1bfb
Add lints from package:pedantic (dart-lang/watcher#66)
natebosch 85aef33
Catch FileSystemException during existsSync() on Windows. (dart-lang/…
scheglov 3b98d7f
Enable and fix lints, test on oldest supported Dart SDK, verify lints…
kevmoo 1ebb788
Use more async/await (dart-lang/watcher#70)
natebosch b2919b3
Prepare to publish 0.9.7+12 (dart-lang/watcher#72)
natebosch a6d082e
Delete codereview.settings
kevmoo b8da234
Temporarily disable comment_references lint (dart-lang/watcher#76)
natebosch 983431b
Handle file watcher closed exception (dart-lang/watcher#75)
MichaelRFairhurst 390790f
Update .gitignore (dart-lang/watcher#77)
kevmoo 680cc49
Fix newly enforced package:pedantic lints (dart-lang/watcher#78)
natebosch c1a1313
Check for FileSystemEntityType.notFound (dart-lang/watcher#80)
sortie 51c389d
Prepare to publish, tighten pub constraints (dart-lang/watcher#81)
natebosch 303f88d
Fix missing events for files with directory prefix (dart-lang/watcher…
natebosch 8247653
Use ?. over explicit null check (dart-lang/watcher#85)
natebosch 9faf036
Run tests on multiple platforms (dart-lang/watcher#86)
natebosch 2131174
Prepare to publish (dart-lang/watcher#89)
natebosch 4ddf84d
Add a reason to a flaky assert (dart-lang/watcher#88)
natebosch 6148019
Implement the ability to register custom watcher implementations
michalt 66a9b5c
Fix the test that was timing out
michalt b0d81fb
Throw when more than one custom factory is applicable
michalt dd23dc4
Another attempt to make the test work cross platform
michalt 9f639cd
Minor fixes for earlier Dart versions and lint
michalt ed5783b
Merge pull request dart-lang/watcher#91 from michalt/custom-watcher-f…
davidmorgan 9329e8e
Expose a smaller surface area for custom watchers (dart-lang/watcher#92)
natebosch 01d5ab2
Remove unused dart:async import
srawlins 8c7bd31
Merge pull request dart-lang/watcher#93 from srawlins/unused-async
srawlins 1edd6fe
Remove unused dart:async imports.
srawlins 504259d
Merge pull request dart-lang/watcher#94 from srawlins/unused-async-2
srawlins 2c89b9d
Fix deprecated zone API usage (dart-lang/watcher#95)
kevmoo 22a6cb3
Remove an inferrable argument type (dart-lang/watcher#96)
natebosch db7d36a
Migrate to null safety.
scheglov c30964f
Add dependency override for analyzer.
scheglov 42d3623
Stop testing on SDK 2.8.4
scheglov cb570df
Fixes for review comments.
scheglov 23206c0
Move '_filesToProcess' initializer.
scheglov d25bfa2
Merge pull request dart-lang/watcher#99 from scheglov/migrate-null-safe
scheglov f5c1338
Add a better static Function type (dart-lang/watcher#100)
natebosch f7024e9
Remove unused test utils (dart-lang/watcher#101)
natebosch e83d89b
Rewrite a StreamTransformer as an extension (dart-lang/watcher#102)
natebosch cd14204
Remove unnecessary imports (dart-lang/watcher#104)
srawlins 5e3fce1
Update changelog version following migration (dart-lang/watcher#106)
natebosch 07b47f3
Fix registerCustomWatcher to allow nulls (dart-lang/watcher#107)
michalt 05d803d
Migrate to GitHub Actions (dart-lang/watcher#108)
athomas 8fd6d28
null safety stable release (dart-lang/watcher#109)
jakemac53 4c09255
Latest setup, test on oldest supported SDK (dart-lang/watcher#110)
kevmoo 8c0f82d
Update LICENSE
franklinyow 0220227
Merge pull request dart-lang/watcher#111 from dart-lang/franklinyow-p…
franklinyow 94f545c
drop package:pedantic, use package:lints (dart-lang/watcher#120)
jakemac53 66cf4d3
Fix lints/pedantic, require Dart 2.14 (dart-lang/watcher#122)
kevmoo a30730a
Ensure ready future completes (with error) in the case the watcher fa…
DanTup 67c6d65
Add/enable Windows tests (dart-lang/watcher#124)
DanTup 354a02b
update CI; add markdown badges
devoncarew 6132012
add markdown badges
devoncarew 2d40d6e
Merge pull request dart-lang/watcher#127 from devoncarew/update_ci
devoncarew 5b1b2b2
Bump actions/checkout from 3.1.0 to 3.2.0 (dart-lang/watcher#132)
dependabot[bot] a6ebf33
Migrate from no-implicit-casts to strict-casts (dart-lang/watcher#134)
srawlins 4d585e6
Bump dart-lang/setup-dart from 1.3 to 1.4 (dart-lang/watcher#136)
dependabot[bot] a208546
Bump actions/checkout from 3.2.0 to 3.3.0 (dart-lang/watcher#135)
dependabot[bot] 83d040c
Require Dart 2.19, use new team lints (dart-lang/watcher#138)
kevmoo 3ff8ef8
blast_repo fixes (dart-lang/watcher#139)
kevmoo ea3be5b
Bump actions/checkout from 3.3.0 to 3.5.0 (dart-lang/watcher#141)
dependabot[bot] f1fe85b
Bump dart-lang/setup-dart from 1.4.0 to 1.5.0 (dart-lang/watcher#140)
dependabot[bot] 6895509
Bump actions/checkout from 3.5.0 to 3.5.2 (dart-lang/watcher#144)
dependabot[bot] aa09575
Remove unnecessary ConstructableFileSystemEvent classes (dart-lang/wa…
brianquinlan 1cc8466
Update to 1.1.0 in preparation for release. (dart-lang/watcher#145)
brianquinlan 84cd19d
blast_repo fixes (dart-lang/watcher#146)
devoncarew 2ee9cf5
Bump actions/checkout from 3.5.2 to 3.5.3 (dart-lang/watcher#148)
dependabot[bot] 4d48b99
Bump actions/checkout from 3.5.3 to 3.6.0 (dart-lang/watcher#149)
dependabot[bot] f5dcb04
Bump actions/checkout from 3.6.0 to 4.1.0 (dart-lang/watcher#151)
dependabot[bot] bffc449
Bump dart-lang/setup-dart from 1.5.0 to 1.5.1 (dart-lang/watcher#152)
dependabot[bot] 1ef1d1c
Migrate to dart_flutter_team_lints v2.1 (dart-lang/watcher#153)
parlough 432ff8e
Bump actions/checkout from 4.1.0 to 4.1.1 (dart-lang/watcher#155)
dependabot[bot] 26eae9d
Bump dart-lang/setup-dart from 1.5.1 to 1.6.0 (dart-lang/watcher#154)
dependabot[bot] e826e96
Enable file watcher tests on Windows (dart-lang/watcher#156)
DanTup bcb8977
Fix PollingFileWatcher.ready for files that don't exist (dart-lang/wa…
DanTup 0dc94f5
blast_repo fixes (dart-lang/watcher#160)
kevmoo 62c7735
Bump actions/stale from 8.0.0 to 9.0.0 (dart-lang/watcher#161)
dependabot[bot] 13a1499
Bump dart-lang/setup-dart from 1.6.0 to 1.6.2 (dart-lang/watcher#162)
dependabot[bot] 19f39be
Bump actions/checkout from 4.1.1 to 4.1.2 (dart-lang/watcher#163)
dependabot[bot] 14d8e8e
Bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (dart-lang/watcher#164)
dependabot[bot] 8a7cdbd
Bump actions/checkout from 4.1.2 to 4.1.4 (dart-lang/watcher#165)
dependabot[bot] 1f7531b
blast_repo fixes (dart-lang/watcher#166)
devoncarew ad36f56
Bump actions/checkout from 4.1.4 to 4.1.5 in the github-actions group…
dependabot[bot] 26d680b
Bump actions/checkout from 4.1.5 to 4.1.6 in the github-actions group…
dependabot[bot] 63af032
update lints (dart-lang/watcher#169)
kevmoo d494a03
Bump the github-actions group with 2 updates (dart-lang/watcher#170)
dependabot[bot] d27c72f
Bump actions/checkout from 4.1.7 to 4.2.0 in the github-actions group…
dependabot[bot] 94fff30
Bump actions/checkout from 4.2.0 to 4.2.2 in the github-actions group…
dependabot[bot] 0086fea
Bump dart-lang/setup-dart in the github-actions group (dart-lang/watc…
dependabot[bot] 83147e4
Merge package:watcher into the tools monorepo
mosuem 8a6a818
Add issue template and other fixes
mosuem 40494e7
Moving fixes
mosuem File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
name: "package:watcher" | ||
about: "Create a bug or file a feature request against package:watcher." | ||
labels: "package:watcher" | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
name: package:watcher | ||
|
||
on: | ||
# Run on PRs and pushes to the default branch. | ||
push: | ||
branches: [ main ] | ||
paths: | ||
- '.github/workflows/watcher.yaml' | ||
- 'pkgs/watcher/**' | ||
pull_request: | ||
branches: [ main ] | ||
paths: | ||
- '.github/workflows/watcher.yaml' | ||
- 'pkgs/watcher/**' | ||
schedule: | ||
- cron: "0 0 * * 0" | ||
|
||
env: | ||
PUB_ENVIRONMENT: bot.github | ||
|
||
|
||
defaults: | ||
run: | ||
working-directory: pkgs/watcher/ | ||
|
||
jobs: | ||
# Check code formatting and static analysis on a single OS (linux) | ||
# against Dart dev. | ||
analyze: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
sdk: [dev] | ||
steps: | ||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | ||
- uses: dart-lang/setup-dart@e630b99d28a3b71860378cafdc2a067c71107f94 | ||
with: | ||
sdk: ${{ matrix.sdk }} | ||
- id: install | ||
name: Install dependencies | ||
run: dart pub get | ||
- name: Check formatting | ||
run: dart format --output=none --set-exit-if-changed . | ||
if: always() && steps.install.outcome == 'success' | ||
- name: Analyze code | ||
run: dart analyze --fatal-infos | ||
if: always() && steps.install.outcome == 'success' | ||
|
||
# Run tests on a matrix consisting of two dimensions: | ||
# 1. OS: ubuntu-latest, macos-latest, windows-latest | ||
# 2. release channel: dev | ||
test: | ||
needs: analyze | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest, macos-latest, windows-latest] | ||
sdk: [3.1, dev] | ||
steps: | ||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | ||
- uses: dart-lang/setup-dart@e630b99d28a3b71860378cafdc2a067c71107f94 | ||
with: | ||
sdk: ${{ matrix.sdk }} | ||
- id: install | ||
name: Install dependencies | ||
run: dart pub get | ||
- name: Run VM tests | ||
run: dart test --platform vm | ||
if: always() && steps.install.outcome == 'success' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Don’t commit the following directories created by pub. | ||
.dart_tool | ||
.packages | ||
pubspec.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"test_package": { | ||
"platforms": ["vm"] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,130 @@ | ||
## 1.1.1 | ||
|
||
- Ensure `PollingFileWatcher.ready` completes for files that do not exist. | ||
- Require Dart SDK `^3.1.0` | ||
- Move to `dart-lang/tools` monorepo. | ||
|
||
## 1.1.0 | ||
|
||
- Require Dart SDK >= 3.0.0 | ||
- Remove usage of redundant ConstructableFileSystemEvent classes. | ||
|
||
## 1.0.3-dev | ||
|
||
- Require Dart SDK >= 2.19 | ||
|
||
## 1.0.2 | ||
|
||
- Require Dart SDK >= 2.14 | ||
- Ensure `DirectoryWatcher.ready` completes even when errors occur that close the watcher. | ||
- Add markdown badges to the readme. | ||
|
||
## 1.0.1 | ||
|
||
* Drop package:pedantic and use package:lints instead. | ||
|
||
## 1.0.0 | ||
|
||
* Require Dart SDK >= 2.12 | ||
* Add the ability to create custom Watcher types for specific file paths. | ||
|
||
## 0.9.7+15 | ||
|
||
* Fix a bug on Mac where modifying a directory with a path exactly matching a | ||
prefix of a modified file would suppress change events for that file. | ||
|
||
## 0.9.7+14 | ||
|
||
* Prepare for breaking change in SDK where modified times for not found files | ||
becomes meaningless instead of null. | ||
|
||
## 0.9.7+13 | ||
|
||
* Catch & forward `FileSystemException` from unexpectedly closed file watchers | ||
on windows; the watcher will also be automatically restarted when this occurs. | ||
|
||
## 0.9.7+12 | ||
|
||
* Catch `FileSystemException` during `existsSync()` on Windows. | ||
* Internal cleanup. | ||
|
||
## 0.9.7+11 | ||
|
||
* Fix an analysis hint. | ||
|
||
## 0.9.7+10 | ||
|
||
* Set max SDK version to `<3.0.0`, and adjust other dependencies. | ||
|
||
## 0.9.7+9 | ||
|
||
* Internal changes only. | ||
|
||
## 0.9.7+8 | ||
|
||
* Fix Dart 2.0 type issues on Mac and Windows. | ||
|
||
## 0.9.7+7 | ||
|
||
* Updates to support Dart 2.0 core library changes (wave 2.2). | ||
See [issue 31847][sdk#31847] for details. | ||
|
||
[sdk#31847]: https://github.com/dart-lang/sdk/issues/31847 | ||
|
||
|
||
## 0.9.7+6 | ||
|
||
* Internal changes only, namely removing dep on scheduled test. | ||
|
||
## 0.9.7+5 | ||
|
||
* Fix an analysis warning. | ||
|
||
## 0.9.7+4 | ||
|
||
* Declare support for `async` 2.0.0. | ||
|
||
## 0.9.7+3 | ||
|
||
* Fix a crashing bug on Linux. | ||
|
||
## 0.9.7+2 | ||
|
||
* Narrow the constraint on `async` to reflect the APIs this package is actually | ||
using. | ||
|
||
## 0.9.7+1 | ||
|
||
* Fix all strong-mode warnings. | ||
|
||
## 0.9.7 | ||
|
||
* Fix a bug in `FileWatcher` where events could be added after watchers were | ||
closed. | ||
|
||
## 0.9.6 | ||
|
||
* Add a `Watcher` interface that encompasses watching both files and | ||
directories. | ||
|
||
* Add `FileWatcher` and `PollingFileWatcher` classes for watching changes to | ||
individual files. | ||
|
||
* Deprecate `DirectoryWatcher.directory`. Use `DirectoryWatcher.path` instead. | ||
|
||
## 0.9.5 | ||
|
||
* Fix bugs where events could be added after watchers were closed. | ||
|
||
## 0.9.4 | ||
|
||
* Treat add events for known files as modifications instead of discarding them | ||
on Mac OS. | ||
|
||
## 0.9.3 | ||
|
||
* Improved support for Windows via `WindowsDirectoryWatcher`. | ||
|
||
* Simplified `PollingDirectoryWatcher`. | ||
|
||
* Fixed bugs in `MacOSDirectoryWatcher` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
Copyright 2014, the Dart project authors. | ||
|
||
Redistribution and use in source and binary forms, with or without | ||
modification, are permitted provided that the following conditions are | ||
met: | ||
|
||
* Redistributions of source code must retain the above copyright | ||
notice, this list of conditions and the following disclaimer. | ||
* Redistributions in binary form must reproduce the above | ||
copyright notice, this list of conditions and the following | ||
disclaimer in the documentation and/or other materials provided | ||
with the distribution. | ||
* Neither the name of Google LLC nor the names of its | ||
contributors may be used to endorse or promote products derived | ||
from this software without specific prior written permission. | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[![Build Status](https://github.com/dart-lang/tools/actions/workflows/watcher.yaml/badge.svg)](https://github.com/dart-lang/tools/actions/workflows/watcher.yaml) | ||
[![pub package](https://img.shields.io/pub/v/watcher.svg)](https://pub.dev/packages/watcher) | ||
[![package publisher](https://img.shields.io/pub/publisher/watcher.svg)](https://pub.dev/packages/watcher/publisher) | ||
|
||
A file system watcher. | ||
|
||
## What's this? | ||
|
||
`package:watcher` monitors changes to contents of directories and sends | ||
notifications when files have been added, removed, or modified. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
include: package:dart_flutter_team_lints/analysis_options.yaml |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not necessary for this PR, but this file should now be named
dart_test.yaml
.