<feed xmlns='http://www.w3.org/2005/Atom'>
<title>yomitan/ext/js/media, branch 21.10.31.1</title>
<subtitle>refold-tools yomitan fork</subtitle>
<id>https://git.pipeframe.xyz/fork/yomitan/atom?h=21.10.31.1</id>
<link rel='self' href='https://git.pipeframe.xyz/fork/yomitan/atom?h=21.10.31.1'/>
<link rel='alternate' type='text/html' href='https://git.pipeframe.xyz/fork/yomitan/'/>
<updated>2021-09-04T02:33:58+00:00</updated>
<entry>
<title>Dictionary media import improvements (#1926)</title>
<updated>2021-09-04T02:33:58+00:00</updated>
<author>
<name>toasted-nutbread</name>
<email>toasted-nutbread@users.noreply.github.com</email>
</author>
<published>2021-09-04T02:33:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pipeframe.xyz/fork/yomitan/commit/?id=0331374241a55415cbae37d386f47da428ede3db'/>
<id>urn:sha1:0331374241a55415cbae37d386f47da428ede3db</id>
<content type='text'>
* Add base64ToArrayBuffer to StringUtil

* Remove unnecessary media-util.js import

* Run async requirements in serial rather than parallel

* Update API.getMedia handler to convert ArrayBuffer content to base64

* Rename getImageResolution to getImageDetails

* Change parameter order of getImageDetails

* Pre-process and store media as an ArrayBuffer

* Remove MediaUtil.createBlobFromBase64Content

* Fix Anki media injection</content>
</entry>
<entry>
<title>StringUtil (#1861)</title>
<updated>2021-07-31T17:04:16+00:00</updated>
<author>
<name>toasted-nutbread</name>
<email>toasted-nutbread@users.noreply.github.com</email>
</author>
<published>2021-07-31T17:04:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pipeframe.xyz/fork/yomitan/commit/?id=454ffaad9658256cb4980ee27eb013606b285edc'/>
<id>urn:sha1:454ffaad9658256cb4980ee27eb013606b285edc</id>
<content type='text'>
* Add StringUtil class

* Use StringUtil</content>
</entry>
<entry>
<title>Simplify createAudio function (#1728)</title>
<updated>2021-06-05T00:17:04+00:00</updated>
<author>
<name>toasted-nutbread</name>
<email>toasted-nutbread@users.noreply.github.com</email>
</author>
<published>2021-06-05T00:17:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pipeframe.xyz/fork/yomitan/commit/?id=57fb496fbcd2c31a462c2090e2391594c1ca8215'/>
<id>urn:sha1:57fb496fbcd2c31a462c2090e2391594c1ca8215</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refactor display audio options (#1717)</title>
<updated>2021-05-30T16:15:07+00:00</updated>
<author>
<name>toasted-nutbread</name>
<email>toasted-nutbread@users.noreply.github.com</email>
</author>
<published>2021-05-30T16:15:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pipeframe.xyz/fork/yomitan/commit/?id=efd35de67f6700ecf4f49a87d310d99cefbaa328'/>
<id>urn:sha1:efd35de67f6700ecf4f49a87d310d99cefbaa328</id>
<content type='text'>
* Update how options are updated and stored in DisplayAudio

* Add source list

* Improve menus for custom json

* Clear cache after options update

* Move function

* Update public API

* Simplify playing audio from a specific source

* Simplify audio list

* Refactor audio source usage

* Refactoring

* Refactor argument names

* Fix incorrect source usage

* Remove unused

* Remove return value

* Simplify details

* Simplify Anki card audio details

* Update the data that is passed to AudioDownloader

* Simplify schema handling

* Remove unnecessary details</content>
</entry>
<entry>
<title>Refactor json audio source (#1711)</title>
<updated>2021-05-27T00:38:15+00:00</updated>
<author>
<name>toasted-nutbread</name>
<email>toasted-nutbread@users.noreply.github.com</email>
</author>
<published>2021-05-27T00:38:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pipeframe.xyz/fork/yomitan/commit/?id=0232325f960b1fbe41e03f74a46fb18a7abf33f7'/>
<id>urn:sha1:0232325f960b1fbe41e03f74a46fb18a7abf33f7</id>
<content type='text'>
* Move sources to the end of audio options object

* Add custom-json audio source type

* Add support for downloading custom-json

* Remove customSourceType</content>
</entry>
<entry>
<title>Json schema validation improvements (#1697)</title>
<updated>2021-05-22T19:45:20+00:00</updated>
<author>
<name>toasted-nutbread</name>
<email>toasted-nutbread@users.noreply.github.com</email>
</author>
<published>2021-05-22T19:45:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pipeframe.xyz/fork/yomitan/commit/?id=d16739a83a20e1729e08dbcbbc155be15972d146'/>
<id>urn:sha1:d16739a83a20e1729e08dbcbbc155be15972d146</id>
<content type='text'>
* Create new JsonSchema class

* Add proxy handler

* Update tests

* Update validation scripts

* Update backend

* Update audio downloader

* Update options util

* Update dictionary importer

* Update json schema file reference

* Remove old json-schema.js

* Rename new json-schema.js

* Update file names

* Rename class</content>
</entry>
<entry>
<title>Initial safari compatibility (#1609)</title>
<updated>2021-04-11T03:55:11+00:00</updated>
<author>
<name>toasted-nutbread</name>
<email>toasted-nutbread@users.noreply.github.com</email>
</author>
<published>2021-04-11T03:55:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pipeframe.xyz/fork/yomitan/commit/?id=20d60a2ba79c065586805806ea703a8057839f75'/>
<id>urn:sha1:20d60a2ba79c065586805806ea703a8057839f75</id>
<content type='text'>
* Update environment info to return the 'safari' browser

* Fix popup display on Safari

* Update environment assignment

* Add data-loading-stalled property when loading takes longer than expected

* Add notification when loading has stalled

* Allow getDictionaryInfo invocation on non-privileged contexts

* Update _validatePrivilegedMessageSender

* Don't listen to 'voiceschanged' event unless addEventListener is present

Also expose an event</content>
</entry>
<entry>
<title>Update dictionary entry terminology (#1592)</title>
<updated>2021-04-04T20:22:35+00:00</updated>
<author>
<name>toasted-nutbread</name>
<email>toasted-nutbread@users.noreply.github.com</email>
</author>
<published>2021-04-04T20:22:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pipeframe.xyz/fork/yomitan/commit/?id=e14b52ef84be7feeab60167605fd10918a242cd3'/>
<id>urn:sha1:e14b52ef84be7feeab60167605fd10918a242cd3</id>
<content type='text'>
* Update terminology

* Update terminology in display.js

* Update terminology in display-audio.js

* Update terminology in text-scanner.js

* Update terminology in backend.js

* Update terminology in mecab.js

* Update terminology in audio-downloader.js

* Update terminology in translator-vm.js

* Update terminology in dictionary-data-util.js

* Update terminology in dictionary-database.js

* Update terminology in japanese-util.js

* Change/upgrade {expression} to {term}

* Update terminology in test-japanese.js

* Update terminology in test-database.js

* Update terminology in anki-templates-controller.js

* Update terminology in anki-note-builder.js

* Update terminology in backend.js

* Update terminology in text-scanner.js

* Update terminology in display.js

* Update terminology in display.js</content>
</entry>
<entry>
<title>Dictionary database improvements (#1527)</title>
<updated>2021-03-15T02:51:20+00:00</updated>
<author>
<name>toasted-nutbread</name>
<email>toasted-nutbread@users.noreply.github.com</email>
</author>
<published>2021-03-15T02:51:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pipeframe.xyz/fork/yomitan/commit/?id=a52d86a39e9cca620823e3d97d7c129a7abafced'/>
<id>urn:sha1:a52d86a39e9cca620823e3d97d7c129a7abafced</id>
<content type='text'>
* Update formatting

* Add _findMultiBulk

* Update implementation of findTermsBySequenceBulk

* Update tests

* Generalize query creation

* Remove _findGenericBulk

* Reduce function creation

* Add more bindings

* Simplify findTermsExactBulk implementation

* Update var names

* Update _findMultiBulk to support multiple index queries

* Update findTermsBulk

* Update getMedia implementation

* Pass data arg to getAll and findFirst to avoid having multiple closures</content>
</entry>
<entry>
<title>Fix dictionary image support (#1526)</title>
<updated>2021-03-14T22:41:15+00:00</updated>
<author>
<name>toasted-nutbread</name>
<email>toasted-nutbread@users.noreply.github.com</email>
</author>
<published>2021-03-14T22:41:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.pipeframe.xyz/fork/yomitan/commit/?id=07df1e011794f5a77f7fb7da5cd9ea353a8747e2'/>
<id>urn:sha1:07df1e011794f5a77f7fb7da5cd9ea353a8747e2</id>
<content type='text'>
* Fix content security policy for images

* Add createBlobFromBase64Content to MediaUtil

* Update MediaLoader to use MediaUtil

* Use blob URLs when importing dictionaries

* Update VM's URL to support createObjectURL and revokeObjectURL

* Fix test</content>
</entry>
</feed>
