-
-
Notifications
You must be signed in to change notification settings - Fork 658
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
Asynchronous IO API #9111
Open
RealyUniqueName
wants to merge
313
commits into
HaxeFoundation:development
Choose a base branch
from
RealyUniqueName:feature/asys-low
base: development
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Asynchronous IO API #9111
Changes from 170 commits
Commits
Show all changes
313 commits
Select commit
Hold shift + click to select a range
580f776
more tests for FileSystem
RealyUniqueName e57545b
disable null safety for now
RealyUniqueName 8f02df1
Merge branch 'development' into feature/asys-low
RealyUniqueName f4dda4e
Merge branch 'development' into feature/asys-low
RealyUniqueName 6458d33
more FileSystem API adjustments
RealyUniqueName 9c83e75
[php] wip FileSystem
RealyUniqueName dcfbaff
more tests for FileSystem
RealyUniqueName 936c930
more API changes
RealyUniqueName 84aef80
[php] more implementations
RealyUniqueName 43f6c72
[tests] more tests
RealyUniqueName 401d9aa
update tests
RealyUniqueName 8fd663a
update API; implement FileInfo methods
RealyUniqueName 180add3
[php] more implementations
RealyUniqueName 4f397ab
tweak API; implement FilePermissions
RealyUniqueName 022bfbd
[php] more implementations
RealyUniqueName 20f1efe
more tests
RealyUniqueName eaaf491
Merge branch 'development' into feature/asys-low
RealyUniqueName 9614e2f
update docs
RealyUniqueName 8f37b5d
[php] more implementations
RealyUniqueName ffd59cc
more tests
RealyUniqueName ef027fd
added `assertType` for easier exceptions checking
RealyUniqueName 266bebf
Merge branch 'development' into feature/asys-low
RealyUniqueName 5330bc0
api changes
RealyUniqueName 71776a9
[php] FileSystem.setOwner, setLinkOwner
RealyUniqueName 7416471
test setOwner, setLinkOwner
RealyUniqueName 8872dde
reorganize filesystem tests; test FilePermissions
RealyUniqueName 7a5ca23
File API changes
RealyUniqueName 8a8d1cc
[php] open & read files
RealyUniqueName 8bb9d7c
test open & read files
RealyUniqueName 96ab60d
update docs
RealyUniqueName ba4c7da
[php] File.write
RealyUniqueName dae6680
more tests
RealyUniqueName 0e1334e
renamed C* enums to Posix*
RealyUniqueName 9301927
update API
RealyUniqueName b66f66f
[php] File.seek
RealyUniqueName 74a4051
more tests
RealyUniqueName 5511e1b
Merge branch 'development' into feature/asys-low
RealyUniqueName e8b246f
update doc
RealyUniqueName 75cf546
test openf file with AppendRead
RealyUniqueName 9148470
minor API fix
RealyUniqueName 07f3dc5
more tests
RealyUniqueName 4ce4420
test the rest of FileOpenFlag
RealyUniqueName 45c4c58
update API
RealyUniqueName 4e30483
[php] finished File API
RealyUniqueName 97330c0
more tests for File and FileSystem
RealyUniqueName beb4ffe
update filesystem-related API
RealyUniqueName 3fc50f1
[php] finished filesystem API implementations
RealyUniqueName 041a73f
finished filesystem tests
RealyUniqueName ca9e9ff
minor
RealyUniqueName c42766e
Merge branch 'development' into feature/asys-low
RealyUniqueName a96dc4e
[api] added `position` to File.read and File.write, removed File.seek…
RealyUniqueName 43a27e0
[php] updated to API changes
RealyUniqueName 2861895
[tests] updated to API changes
RealyUniqueName af998c8
added haxe.IJobExecutor
RealyUniqueName 4457b8c
[php] changed FileSystem implementation to IJobExecutor
RealyUniqueName 931e44e
Merge branch 'development' into feature/asys-low
RealyUniqueName 831b002
asys.native.Native
RealyUniqueName 8432a91
update IJobExecutor API
RealyUniqueName 2d1b18a
[php] align to API changes
RealyUniqueName 7c913b4
[java] default job executor implementation
RealyUniqueName 5b0cb1a
[java] setup for tests
RealyUniqueName b7f4dcc
remove @:coreType from FilePath
RealyUniqueName 4bd0ac5
[php] update FilePath
RealyUniqueName ff2b2b9
move FilePath.real to FileSystem.realPath
RealyUniqueName e3d00b6
wip
RealyUniqueName aaa44b6
removed FilePath.toReadableString()
RealyUniqueName 808f9e2
[tests] minor tweaks
RealyUniqueName 7b543bb
removed Bytes-related API from FilePath
RealyUniqueName 7575b72
[java] FilePath impl
RealyUniqueName 839952c
Merge branch 'development' into feature/asys-low
RealyUniqueName 3d28329
update docs
RealyUniqueName 4349e07
[java] wip FileSystem
RealyUniqueName 1beafae
minor FilePath API tweaks
RealyUniqueName 18b2cca
[php] update to API changes
RealyUniqueName 5b66b9e
[java] wip, threading issues
RealyUniqueName 5d03e9d
wip
RealyUniqueName e37b7ac
Merge branch 'development' into feature/asys-low
RealyUniqueName cd1394e
wip
RealyUniqueName 0a8b45f
[wip] per-thread event loop
RealyUniqueName 24bba6c
Merge branch 'development' into feature/asys-low
RealyUniqueName 71bbcd1
[php] fixed FileSystem.resize
RealyUniqueName c09f17c
[java] update for new event loop API; implemented some methods in Fil…
RealyUniqueName b756fca
minor
RealyUniqueName b66edbc
bring back SystemUser & SystemGroup
RealyUniqueName 4c4665e
[api] use native representation for FileInfo & FilePermissions
RealyUniqueName 5652e95
update tests
RealyUniqueName 1b36e3e
[java] SystemUser, SystemGroup, FileInfo, FIlePermissions
RealyUniqueName 29fda31
update API
RealyUniqueName d582be8
[java] more implementations
RealyUniqueName 4963144
changed FileSystem.move to fail on non-empty directories
RealyUniqueName ece2f4e
[java] TestFileSystem passes
RealyUniqueName 7a219c4
cleanup
RealyUniqueName 6279c32
[php] use the same job executor in File and Directory as in FileSystem
RealyUniqueName cb24d1d
update API
RealyUniqueName 50e1dd9
[php] update to new API
RealyUniqueName 0fd3116
[java] finished "filesystem" package
RealyUniqueName e08df8e
minor
RealyUniqueName e7ddb73
removed PosixErrorCode
RealyUniqueName 4eb31d7
minor
RealyUniqueName c0c90a4
[eval] job executors for interp & macro
RealyUniqueName ad97119
[eval] FilePath implementation
RealyUniqueName 314e243
[eval] fix job executor
RealyUniqueName 6997bd5
[eval] NativeString, Unix
RealyUniqueName e8c5670
[eval] FilePath
RealyUniqueName 69a1a79
[eval] started FileSystem implementation
RealyUniqueName d051e6c
minor API updates
RealyUniqueName e917437
[eval] FileSystem implementation
RealyUniqueName f4d8ec5
removed eval.Unix
RealyUniqueName 9bef794
Merge branch 'development' into feature/asys-low
RealyUniqueName 313e10a
API update
RealyUniqueName fc7d9c3
[eval] use `haxe.NoData` instead of `eval.luv.Result.NoData`
RealyUniqueName 397feba
wip
RealyUniqueName caba39a
Merge branch 'development' into feature/asys-low
RealyUniqueName 51081fe
split FilePermissions into FileMode and FilePermissions
RealyUniqueName 4b6a9f3
[eval] FileSystem wip
RealyUniqueName aa4f91e
Merge branch 'development' into feature/asys-low
RealyUniqueName 6a8ff20
added FilePath.isAbsolute() and .parent()
RealyUniqueName dc91b13
[eval] FileSystem wip
RealyUniqueName fe50e61
Merge branch 'development' into feature/asys-low
RealyUniqueName ade2e12
Merge branch 'development' into feature/asys-low
RealyUniqueName 326f712
[eval] rework FilePath
RealyUniqueName 50d7df7
[eval] finished FileSystem
RealyUniqueName 05fee34
wip
RealyUniqueName 4791d82
[api] added Directory.nextBatch
RealyUniqueName f970e78
[php][java] Directory.nextBatch
RealyUniqueName 7c0418f
[eval] Directory implementation
RealyUniqueName 6c8f03e
[eval] wip File
RealyUniqueName a40009d
Merge branch 'development' into feature/asys-low
RealyUniqueName 4fb6726
[eval] wip File
RealyUniqueName b8058af
Merge branch 'development' into feature/asys-low
RealyUniqueName df49828
[api] commented out `File.lock` for now
RealyUniqueName 17a3096
[eval] File implementation
RealyUniqueName 1fb3324
Merge branch 'development' into feature/asys-low
RealyUniqueName ce835c2
[api] dropped IJobExecutor idea
RealyUniqueName 55db9c1
[php] refactor away IJobExecutor
RealyUniqueName f48b0e9
[eval] refactor away IJobExecutor
RealyUniqueName ea9d852
Merge branch 'development' into feature/asys-low
RealyUniqueName 199edb7
cleanup
RealyUniqueName dfef01f
IThreadPool.runFor(task, callback)
RealyUniqueName 3128cbc
[jvm] refactor away IJovExecutor
RealyUniqueName bad08ff
[java] fixes for genjava
RealyUniqueName be0dd33
Merge branch 'development' into feature/asys-low
RealyUniqueName b7c3be5
update runci scripts
RealyUniqueName fabffbc
[java] update to Rest args changes
RealyUniqueName 274dc5f
[neko] FilePath
RealyUniqueName 0159e08
[java][php] update FilePath
RealyUniqueName 4ab3792
changed spec of FilePath.parent(); more tests
RealyUniqueName ab4a805
[neko][java][php][eval] update FilePath
RealyUniqueName e5f270e
update TestFileSystem
RealyUniqueName e5209e1
[neko] wip FileSystem
RealyUniqueName b9d0148
[neko] wip FileSystem
RealyUniqueName 0c8e93c
[php] fixed FilePath.parent('.hidden')
RealyUniqueName f5a433a
[tests] minor
RealyUniqueName e5eda19
[api] update FilePath doc
RealyUniqueName 6f50fb2
[neko] minor tweak
RealyUniqueName 1b9c7d7
[lua] update runci
RealyUniqueName 5f3bb53
[lua] FilePath
RealyUniqueName c556ec5
[lua] wip FileSystem
RealyUniqueName 1afb5f4
Merge branch 'development' into feature/asys-low
RealyUniqueName 78ab5db
automatically insert a call to luv.Loop.run if "luv" module is loaded
RealyUniqueName 65ce2ee
[lua] wip FileSystem
RealyUniqueName c4ffb96
Merge branch 'development' into feature/asys-low
RealyUniqueName 748716f
Merge branch 'feature/lua-libuv-loop-autorun' into feature/asys-low
RealyUniqueName f3d4139
minor
RealyUniqueName bfcc2ae
[lua] FileSystem
RealyUniqueName f20025e
Merge branch 'development' into feature/asys-low
RealyUniqueName 3f7e629
Merge branch 'development' into feature/asys-low
RealyUniqueName 35791f1
minor
RealyUniqueName 25956d1
[lua] finished FileSystem
RealyUniqueName e7bfaaf
added IoErrorType.BadFile
RealyUniqueName f99a505
minor
RealyUniqueName fa9ac44
[lua] File
RealyUniqueName 2e0701f
changed Directory API
RealyUniqueName 251297e
[java] update Directory
RealyUniqueName d2b7680
[eval] update Directory
RealyUniqueName 1eedbad
update tests
RealyUniqueName ca773c8
[lua] File, Directory
RealyUniqueName c4bebb9
Merge branch 'development' into feature/asys-low
RealyUniqueName 7055bc5
[php] update Directory
RealyUniqueName 92affbd
tests for relative paths like `C:relative\path`
RealyUniqueName 3f16220
[php] fixed handling of `C:relative\path` paths for windows
RealyUniqueName 0cdbefc
[eva] fixed fixed handling of `C:relative\path` paths for windows
RealyUniqueName 06ec4c6
more tests for FilePath
RealyUniqueName b9091a8
minor
RealyUniqueName fb8429c
[eva] another fix for `C:relative\path` paths on windows
RealyUniqueName 6072e3d
minor doc update
RealyUniqueName e50d655
minor
RealyUniqueName 03a1542
[cs] added asys tests to runci
RealyUniqueName 80f0c63
[cs] FilePath
RealyUniqueName 4aac2ec
minor
RealyUniqueName 44e6dd6
[cs] wip FIleSystem
RealyUniqueName ac01d37
[neko] update Filesystem.openDirectory signature
RealyUniqueName 4d06473
fix for docgen
RealyUniqueName dd09821
[tests] OS-independent path comparison
RealyUniqueName cec9ce9
fix FsTest.equalPaths for null paths
RealyUniqueName 19cefdf
fixed test for FilePath.absolute('C:relative\\path')
RealyUniqueName 53b8c3a
[php] fixed FIlePath.absolute('C:relative/path')
RealyUniqueName 37d43b6
[eval] fixed FilePath.parent('C:\\')
RealyUniqueName 8195b7c
reworked FilePath API
RealyUniqueName 327fb85
[php] update FilePath
RealyUniqueName 28aedbe
fix FilePath tests
RealyUniqueName 21d67e0
[php] update FilePath
RealyUniqueName 8dac027
[java] update FilePath
RealyUniqueName ab65ff5
more fixes of tests for FIlePath
RealyUniqueName 12c94b9
[php] fixes for FilePath
RealyUniqueName f5fdfab
[lua] wip FIlePath update
RealyUniqueName 30e139f
[lua] update FilePath to the latest API changes
RealyUniqueName e21eb28
[eval] update FilePath to the latest API changes
RealyUniqueName b89809c
Merge branch 'development' into feature/asys-low
RealyUniqueName 080b0d4
Merge branch 'development' into feature/asys-low
RealyUniqueName aab4a1f
[neko] FilePath
RealyUniqueName 4852133
[neko] FileSystem wip
RealyUniqueName 9eb580a
[neko] FileSystem
RealyUniqueName 24e8067
[neko] wip File
RealyUniqueName cb6c31d
Merge branch 'development' into feature/asys-low
RealyUniqueName 8e61d9c
[python] FilePath
RealyUniqueName fec3edf
[python] FileSystem
RealyUniqueName 17c3872
[python] File
RealyUniqueName 69e2ae1
[python] various fixes; Directory
RealyUniqueName ab0b4d8
[java] fix tests by a workaround for java keywords in package names
RealyUniqueName f1a2ce4
[php][win] fixed FilePath
RealyUniqueName 4181691
update FilePath tests
RealyUniqueName 0ac7edc
fixed TestFileSystem.testRealPath
RealyUniqueName f80e1d7
Merge branch 'development' into feature/asys-low
RealyUniqueName 34cc20c
update tests for windows
RealyUniqueName 1a70905
[php] windows fixes
RealyUniqueName b03a919
Merge branch 'development' into feature/asys-low
RealyUniqueName 81cdbc6
typo
RealyUniqueName 397f1ff
[cs][wip] rework FilePath
RealyUniqueName ff60d1b
[cs] FilePath
RealyUniqueName e4142bf
[cs] FileSystem: writeString, writeBytes
RealyUniqueName c8e08ce
added FilePath.name() method
RealyUniqueName d1d9821
[cs][wip] FileSystem
RealyUniqueName 48f5893
[cs][wip] FileSystem
RealyUniqueName 9be5fe5
[cs][wip] FileSystem
RealyUniqueName f8a0688
[cs] finished FileSystem
RealyUniqueName ec53b36
[cs] Directory
RealyUniqueName 6d65189
[cs] fix Directory
RealyUniqueName 05208cb
[cs] File
RealyUniqueName 0a60ecd
Merge branch 'development' into feature/asys-low
RealyUniqueName d017435
[hl] I64.ofInt
RealyUniqueName 976a884
[hl] FilePath
RealyUniqueName 7871ed3
[hl] FileSystem
RealyUniqueName bcf3252
[hl] File
RealyUniqueName 6452f7d
[hl] Directory
RealyUniqueName e394eb9
Merge branch 'development' into feature/asys-low
Simn cf746f2
fixes
Simn 8e20456
Update tests/runci/targets/Php.hx
Simn 44d1891
Merge branch 'development' into feature/asys-low
Simn 900dd50
Merge branch 'development' into feature/asys-low
Simn 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
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
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
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
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
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.
Unix
orPosix
?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.
Initially I was thinking about a separate module for OCaml's
Unix
module. Hence the naming.But it probably doesn't matter now, because I remembered you already did some work towards integrating libuv into eval. That looks like a better option than
Unix
module.