-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7c558f0
commit a7c59c8
Showing
19 changed files
with
169,632 additions
and
167,261 deletions.
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 |
---|---|---|
@@ -1 +1 @@ | ||
1e566c08272d20e6787d55b5c1e3d7f3 | ||
934a0abe4c0d4c1c0f6f21302039fc27 |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -5390,6 +5390,31 @@ 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. | ||
|
||
-------------------------------------------------------------------------------- | ||
build_cli_annotations | ||
|
||
MIT License | ||
|
||
Copyright (c) 2018 Kevin Moore | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. | ||
|
||
-------------------------------------------------------------------------------- | ||
build_config | ||
graphs | ||
|
@@ -5998,6 +6023,7 @@ SOFTWARE. | |
convert | ||
crypto | ||
isolate | ||
shelf_static | ||
source_gen | ||
vm_service | ||
|
||
|
@@ -8690,6 +8716,31 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | |
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. | ||
|
||
-------------------------------------------------------------------------------- | ||
exif | ||
|
||
MIT License | ||
|
||
Copyright (c) 2021 bigflood | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. | ||
|
||
-------------------------------------------------------------------------------- | ||
expat | ||
|
||
|
@@ -11765,6 +11816,38 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. | ||
-------------------------------------------------------------------------------- | ||
flutter_avif | ||
flutter_avif_android | ||
flutter_avif_ios | ||
flutter_avif_linux | ||
flutter_avif_macos | ||
flutter_avif_platform_interface | ||
flutter_avif_web | ||
flutter_avif_windows | ||
|
||
MIT License | ||
|
||
Copyright (c) 2022 Yunus Emre Keskin <[email protected]> | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. | ||
|
||
-------------------------------------------------------------------------------- | ||
flutter_blurhash | ||
|
||
|
@@ -12635,6 +12718,31 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | |
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. | ||
|
||
-------------------------------------------------------------------------------- | ||
flutter_rust_bridge | ||
|
||
MIT License | ||
|
||
Copyright (c) 2021 fzyzcjy | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. | ||
|
||
-------------------------------------------------------------------------------- | ||
flutter_secure_storage | ||
flutter_secure_storage_linux | ||
|
@@ -40207,6 +40315,34 @@ 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. | ||
|
||
-------------------------------------------------------------------------------- | ||
puppeteer | ||
|
||
Copyright (c) 2017, puppeteer-dart. | ||
All rights reserved. | ||
|
||
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 the <organization> 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 <COPYRIGHT HOLDER> 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. | ||
|
||
-------------------------------------------------------------------------------- | ||
qr | ||
|
||
|
@@ -44701,37 +44837,6 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. | ||
-------------------------------------------------------------------------------- | ||
web_socket | ||
|
||
Copyright 2024, 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. | ||
|
||
-------------------------------------------------------------------------------- | ||
webdriver | ||
|
||
|
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
50 changes: 50 additions & 0 deletions
50
1868/assets/packages/flutter_avif_web/web/avif_decoder.loader.js
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,50 @@ | ||
var avif_decoder = null; | ||
|
||
function avifDecoderLoad(workerPath) { | ||
avif_decoder = { worker: new Worker(workerPath), callbacks: {} }; | ||
avif_decoder.worker.onmessage = function(ev) { | ||
var message = ev.data; | ||
|
||
if(avif_decoder.callbacks[message.callbackId]) { | ||
avif_decoder.callbacks[message.callbackId](message.data); | ||
delete avif_decoder.callbacks[message.callbackId]; | ||
} | ||
} | ||
|
||
avif_decoder.decodeSingleFrameImage = function(data) { | ||
return avif_decoder.postMessageAsync({ method: 'decodeSingleFrameImage', data: data }, [data.buffer]); | ||
} | ||
|
||
avif_decoder.initMemoryDecoder = function(key, data) { | ||
return avif_decoder.postMessageAsync({ method: 'initMemoryDecoder', data: [key, data] }, [data.buffer]); | ||
} | ||
|
||
avif_decoder.getNextFrame = function(key) { | ||
return avif_decoder.postMessageAsync({ method: 'getNextFrame', data: key }); | ||
} | ||
|
||
avif_decoder.resetDecoder = function(key) { | ||
return avif_decoder.postMessageAsync({ method: 'resetDecoder', data: key }); | ||
} | ||
|
||
avif_decoder.disposeDecoder = function(key) { | ||
return avif_decoder.postMessageAsync({ method: 'disposeDecoder', data: key }); | ||
} | ||
|
||
avif_decoder.makeId = function() { | ||
return Math.random().toString(36).slice(2, 10); | ||
} | ||
|
||
avif_decoder.postMessageAsync = function(message) { | ||
var promise = new Promise(function(resolve, reject) { | ||
var id = avif_decoder.makeId(); | ||
message.callbackId= id; | ||
avif_decoder.callbacks[id] = resolve; | ||
avif_decoder.worker.postMessage(message); | ||
}); | ||
|
||
return promise; | ||
} | ||
|
||
return avif_decoder.postMessageAsync({ method: 'load', data: null }); | ||
} |
Binary file not shown.
86 changes: 86 additions & 0 deletions
86
1868/assets/packages/flutter_avif_web/web/avif_decoder.worker.js
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,86 @@ | ||
self.AvifInfo = class AvifInfo { constructor(width, height, imageCount, duration) { this.width = width; this.height = height; this.imageCount = imageCount; this.duration = duration; } }; | ||
self.AvifFrame = class AvifFrame { constructor(data, width, height, duration) { this.data = data; this.width = width; this.height = height; this.duration = duration; } }; | ||
|
||
self.onmessage = function(ev) { | ||
var message = ev.data; | ||
|
||
switch(message.method) { | ||
case 'load': | ||
load(message); | ||
break; | ||
case 'decodeSingleFrameImage': | ||
decodeSingleFrameImage(message); | ||
break; | ||
case 'initMemoryDecoder': | ||
initMemoryDecoder(message); | ||
break; | ||
case 'getNextFrame': | ||
getNextFrame(message); | ||
break; | ||
case 'resetDecoder': | ||
resetDecoder(message); | ||
break; | ||
case 'disposeDecoder': | ||
disposeDecoder(message); | ||
break; | ||
default: | ||
break; | ||
} | ||
} | ||
|
||
function load(message) { | ||
importScripts("./avif_decoder.js"); | ||
avif_decoder_wasm().then(function(_module) { | ||
self.wasm_bindgen = _module; | ||
self.postMessage({ | ||
method: message.method, | ||
callbackId: message.callbackId, | ||
data: null | ||
}); | ||
}); | ||
} | ||
|
||
function decodeSingleFrameImage(message) { | ||
var decoded = wasm_bindgen.decodeSingleFrameImage(message.data); | ||
self.postMessage({ | ||
method: message.method, | ||
callbackId: message.callbackId, | ||
data: { data: decoded.data, duration: decoded.duration, width: decoded.width, height: decoded.height } | ||
}, [decoded.data.buffer]); | ||
} | ||
|
||
function initMemoryDecoder(message) { | ||
var decoded = wasm_bindgen.initMemoryDecoder(message.data[0], message.data[1]); | ||
self.postMessage({ | ||
method: message.method, | ||
callbackId: message.callbackId, | ||
data: { width: decoded.width, height: decoded.height, imageCount: decoded.imageCount, duration: decoded.duration } | ||
}); | ||
} | ||
|
||
function getNextFrame(message) { | ||
var decoded = wasm_bindgen.getNextFrame(message.data); | ||
self.postMessage({ | ||
method: message.method, | ||
callbackId: message.callbackId, | ||
data: { data: decoded.data, duration: decoded.duration, width: decoded.width, height: decoded.height } | ||
}, [decoded.data.buffer]); | ||
} | ||
|
||
function resetDecoder(message) { | ||
wasm_bindgen.resetDecoder(message.data); | ||
self.postMessage({ | ||
method: message.method, | ||
callbackId: message.callbackId, | ||
data: { } | ||
}); | ||
} | ||
|
||
function disposeDecoder(message) { | ||
wasm_bindgen.disposeDecoder(message.data); | ||
self.postMessage({ | ||
method: message.method, | ||
callbackId: message.callbackId, | ||
data: { } | ||
}); | ||
} |
Oops, something went wrong.