Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/jellyfin/JavascriptSubtitlesOctopus

Display Subtitles via JavaScript
https://github.com/jellyfin/JavascriptSubtitlesOctopus

Merge pull request #50 from dmitrylyzo/WeebDataHoarder/lazy-fonts

[WeebDataHoarder] Implement lazy font loading + customizable fallback font

d6f76d8a9aaf04ef8e0eb17a3cf2cb108ac59cdd authored over 1 year ago by Dmitry Lyzo <[email protected]>
Implement lazy font loading (off by default)

Extracts default.woff2 from binary, embeds fonts.conf,
removes .data files on output.
Use --memo...

06edd4fcde32e6290f09db6ae6443077a49ede08 authored over 1 year ago by WeebDataHoarder <[email protected]>
Merge pull request #49 from dmitrylyzo/WeebDataHoarder/embedded-fonts

[WeebDataHoarder] Enable embedded fonts

3df655a9df975d59adf056237f2da89a68efdc26 authored over 1 year ago by Dmitry Lyzo <[email protected]>
Use embedded fonts

ASS subtitles can embed fonts with a custom encoding in
their [Fonts] section. For historic reas...

7b1e24a21fb3d691f33971d4ca8ddaf955f87a13 authored over 1 year ago by WeebDataHoarder <[email protected]>
Merge pull request #48 from dmitrylyzo/sort-licenses

Sort licenses

d51494ccf317e5d95ff80b65c1592b1d0efa4d41 authored almost 2 years ago by Dmitry Lyzo <[email protected]>
build: sort licenses

49d371c2fa90d658a722a8dc313be5a697f38c92 authored almost 2 years ago by Dmitry Lyzo <[email protected]>
Merge pull request #47 from dmitrylyzo/TheOneric/bump-deps

[TheOneric] Bump dependencies

72346b3a39b19ac2d087a24e58b32f772bb5f552 authored almost 2 years ago by Dmitry Lyzo <[email protected]>
lib: bump dependencies

libexpat: R_2_4_9 -> R_2_5_0
fontconfig: 2.14.0 -> 2.14.1
harfbuzz: 5.2.0 -> 5.3.1
lib...

a61f5bf31276a70e6846d67b3b2124c0f9ea86ab authored almost 2 years ago by Oneric <[email protected]>
lib: bump dependencies

libass is bumped to current master,
everything else to its latest release.

Cherry-picked from: ...

3b888700c4af948c4ad2d99fbd078c30379856c7 authored almost 2 years ago by Oneric <[email protected]>
Bump libass

A new version (0.16.0) was released.

Cherry-picked from: https://github.com/libass/JavascriptSu...

f4bb2685c52fb90323d0ddaecac08ba5761b3116 authored almost 2 years ago by Oneric <[email protected]>
Bump libass

New features and fixes:
- LayoutRes{X,Y}
- handle anamorphic blur correctly
- support v4++’s ...

7d3039c12bfb3a65e8415b1f217ff93cc2ff7d52 authored almost 2 years ago by Oneric <[email protected]>
Merge pull request #45 from dmitrylyzo/TheOneric/code_cleanup

[TheOneric] Code cleanup

c0791537993b01b3d08486c0c3aa9e43b51d9394 authored almost 2 years ago by Dmitry Lyzo <[email protected]>
cosmetic/src: use canonical include for ass.h

pkg-config sets up the necessary lookup paths.

Cherry-picked from: https://github.com/libass/Ja...

98a70e4dd228327aa2033c41321d90192a3555d0 authored almost 2 years ago by Oneric <[email protected]>
cosmetic: declare loop counter inside for

Cherry-picked from: https://github.com/libass/JavascriptSubtitlesOctopus/commit/6fcb094c8613c74b...

2926481ee7a3ef65f7df11faf00c6b844934486d authored almost 2 years ago by Oneric <[email protected]>
Merge pull request #44 from dmitrylyzo/TheOneric/license_speedup

[TheOneric] Speedup license extraction

0150e529263fa68807f619eda333b006db9d48b3 authored almost 2 years ago by Dmitry Lyzo <[email protected]>
build: use -o pipefail in license_extract.sh

The portable mkfifo approach works fine locally and worked fine in
initial GHA testing, but now ...

780b0734bed2ae6ff4818d188e4575446d4402ee authored about 2 years ago by Oneric <[email protected]>
make: split off license extraction

As an intermediate measure improving build times with multiple jobs
until the toplevel Makefile ...

e271469d79fb6f6298a9a7d6a32b202d50faebee authored about 2 years ago by Oneric <[email protected]>
build: ignore Unlicense

Cherry-picked from: https://github.com/libass/JavascriptSubtitlesOctopus/commit/0d8d68b72f71761d...

d7a44f18b4124a5ceffff521e799c78dad0d7abf authored about 2 years ago by Oneric <[email protected]>
build: speed up license extraction

Apparently licensecheck has a high startup cost, so merging invocations
promises a neat speedup....

0d3ffb7f5e55d92fe95cc1ec3d8643c61666f95d authored about 2 years ago by Oneric <[email protected]>
make: mark 'all' target as .PHONY

57e6d985809b8ebc35b98ab819272b32bd4535cf authored about 2 years ago by Dmitry Lyzo <[email protected]>
make: remove redundant COPYRIGHT target

It exists in the toplevel Makefile.

eef75b7907bde4fc4a3dd8f781ddd1107a9a7e97 authored about 2 years ago by Dmitry Lyzo <[email protected]>
Merge pull request #43 from dmitrylyzo/TheOneric/build_cleanup

[TheOneric] Build cleanup

e8b58379317758eb635f76d277eb17bc7b016b67 authored about 2 years ago by Dmitry Lyzo <[email protected]>
cosmetic/make: remove comment with unused flags

They appear to have been commented out since the first public release
and it's not clear what th...

f71d90af09681a3dc8511caa6f96feb28968655b authored about 2 years ago by Oneric <[email protected]>
make: remove superfluous dependency disables

emscripten already sets PKG_CONFIG_LIBDIR preventing non-wasm libraries
installed in the system ...

67458fedb9dd166b4c8a17101c00d1fd51d60191 authored about 2 years ago by Oneric <[email protected]>
make: macroise configuration

To be more concise and to keep config flags from drifting apart
(they already varied slightly be...

8ce704eca7cfa7932cb9dc3d3fc8a8b82e61bde1 authored about 2 years ago by Oneric <[email protected]>
make: export CFLAGS globally

autoconf and cmake will pick up the variable from the environment.

Cherry-picked from: https://...

5c5e19426bac0c775888ca9c6426aa35b10db1c2 authored about 2 years ago by Oneric <[email protected]>
make: put uniform comments before dependency builds

Cherry-picked from: https://github.com/libass/JavascriptSubtitlesOctopus/commit/e341e1bcd5817cf9...

9afa163b8f7967c4ba04207d6002d425639ba97c authored about 2 years ago by Oneric <[email protected]>
cosmetic/make: drop superfluous default target make

Cherry-picked from: https://github.com/libass/JavascriptSubtitlesOctopus/commit/d95ddf5bef284884...

6617fe771da87c734648c863e283901993bf23a8 authored about 2 years ago by Oneric <[email protected]>
make: adjust number of jobs to available threads

Previously some builds used a hardcoded number of 8 and others
didn't set it at all falling back...

9d3ea2a31b65420255789d0d414b0bd45632f3e9 authored about 2 years ago by Oneric <[email protected]>
make: export pkg-config path globally

Cherry-picked from: https://github.com/libass/JavascriptSubtitlesOctopus/commit/7823300715690bd2...

2f82c5259c8ada4d6d90d9f5e1010c2a9da2988e authored about 2 years ago by Oneric <[email protected]>
make: limit --disable-debug to fribidi

It is the only project actually recognising this option.

Cherry-picked from: https://github.com...

44abd8ef193b5170e529c95c52845f4beb1d4c4a authored about 2 years ago by Oneric <[email protected]>
cosmetic/make: drop GLOBAL_* variables in favour of only *

The latter is required as it's picked up by buildsystems,
the former is only used once by us and...

3aa82178ad5235016a665981f05fecf72cae2e02 authored about 2 years ago by Oneric <[email protected]>
make: remove redundant 'touch configured'

PREPARE_SRC_VPATH is supposed to prepare the source, so leave
the creation of the 'configured' f...

6fb73112f07da55239a59e2c6a5690a40b32bebc authored about 2 years ago by Dmitry Lyzo <[email protected]>
make: macroise source setup

Cherry-picked from: https://github.com/libass/JavascriptSubtitlesOctopus/commit/b91a88e35d32b140...

578511836ea9e1089fbc3aa87d7c5e66fe301e68 authored about 2 years ago by Oneric <[email protected]>
make: drop redundant extern for fribidi

Cherry-picked from: https://github.com/libass/JavascriptSubtitlesOctopus/commit/1ad143424dd9b2f6...

3133ff4334489fc653d4aa1bcb307c71cfbb7d77 authored about 2 years ago by Oneric <[email protected]>
make: mark non-file targets as .PHONY

Cherry-picked from: https://github.com/libass/JavascriptSubtitlesOctopus/commit/2348874632e5eaaa...

991ce0a05f505ed191d9df2d41f5ad0ded0fff64 authored about 2 years ago by Oneric <[email protected]>
src: use a custom Makefile

We are bound to one toolchain and most results of the
config-time checks were ignored anyway. Th...

6f3e5c322ce1d82ea0f1ac0f1a5d90c5de91daa4 authored about 2 years ago by Oneric <[email protected]>
make: remove no-op macro define

Possibly it did something in older versions, in current ones only
the compiler set __EMSCRIPTEN_...

3a10525d503153ab69aa61c298f1990a5fe6a68c authored about 2 years ago by Oneric <[email protected]>
make: disable pthreads in global flags

Cherry-picked from: https://github.com/libass/JavascriptSubtitlesOctopus/commit/cd33db7e4ae686b4...

db2f75f366877015ffb2a6ee9504c9b2015476a0 authored about 2 years ago by Oneric <[email protected]>
src/make: suppress deprecation warnings

We knowingly expose deprecated API.

Cherry-picked from: https://github.com/libass/JavascriptSub...

f8ea6aaafabdee76405859ec1dcb1858c88b1835 authored about 2 years ago by Oneric <[email protected]>
make: use regular install for brotli

The last released version of brotli we use, blocks the install target
when building with emscrip...

67fdfcb9e0b1ad7585aa9b36d44f2fa56edee0e0 authored about 2 years ago by Oneric <[email protected]>
src/make: use -c to compile instead of -r

The build currently warns about building an executable with an
object-file extension and recomme...

20d39b3be6f7ce0f0873650d42a642565851fcd7 authored about 2 years ago by Oneric <[email protected]>
Merge pull request #42 from dmitrylyzo/TheOneric/submodules_cleanup

[TheOneric] Submodules cleanup

e199c32c45e120244e3f0e477c32d593f36a9d6f authored about 2 years ago by Dmitry Lyzo <[email protected]>
cosmetic/make: move server target down

So that all git-* targets are grouped together.

Cherry-picked from: https://github.com/libass/J...

70132293f0c2a1de6c4358a09fc42e0872205746 authored about 2 years ago by Oneric <[email protected]>
make: replace submodule update with reset

This is likely more common action. Also updating submodules
usually involves updating our patche...

a3f61902c720c3a61a59da033978b6e13bb8019a authored about 2 years ago by Oneric <[email protected]>
make: macroise submodule updates

Cherry-picked from: https://github.com/libass/JavascriptSubtitlesOctopus/commit/79307896e576f3f1...

401db10a44058eb74efa367ac763bafd6c96cbfa authored about 2 years ago by Oneric <[email protected]>
Merge pull request #41 from dmitrylyzo/WeebDataHoarder/docker-build-context

[WeebDataHoarder] Ignore all files for Docker build context

ad3e89f90feee37334ca4ed1fb48297d974d724c authored about 2 years ago by Dmitry Lyzo <[email protected]>
Ignore all files for build context

Prevents creation of additional build images.
Works with buildah as it parses .dockerignore if ....

d82a242ff5a38c50350a0b07c350599db7c1e78f authored about 2 years ago by WeebDataHoarder <[email protected]>
Merge pull request #40 from dmitrylyzo/TheOneric/patch_cleanup

[TheOneric] Patch cleanup

de5cf9a89967b76b05041c60b266e99af1899d27 authored about 2 years ago by Dmitry Lyzo <[email protected]>
Drop useless patch

It does nothing since we only build static libs.

Cherry-picked from: https://github.com/libass/...

71a8070a7b7422810ccf423828b0bc037ba044c1 authored about 2 years ago by Oneric <[email protected]>
Replace patched harfbuzz.pc

When HarfBuzz-enabled FreeType is built, HarfBuzz gets located via its
pc-file which references ...

91718c7148fda0eaf145014e04416a3abfc95416 authored about 2 years ago by Oneric <[email protected]>
Bump Fontconfig

Together with the prior emscripten bump,
this removes the need for the fcstat patch.
Closes: htt...

7d303f5260f1c5f400c07f456e729c844925146d authored about 2 years ago by Oneric <[email protected]>
Remove libass patchdir

We shouldn't need any patches for libass anymore.

Cherry-picked from: https://github.com/libass...

6993469de27d53321d3707598561debfcae1585f authored about 2 years ago by Oneric <[email protected]>
Merge pull request #39 from dmitrylyzo/TheOneric/update-emscripten

[TheOneric] Update emscripten 2.0.34

31f38a67b1de89e96924599098c44fe36ab2d4d2 authored about 2 years ago by Dmitry Lyzo <[email protected]>
Update emscripten 2.0.34

Freetype upstream made changes to remove the need for our fcstat patch,
but we actually also nee...

f9e43158c42bcff46e8fa70903c2c347b22a14e6 authored about 2 years ago by Oneric <[email protected]>
make: split global linker and compile flags

Future emscripten versions warn if link-only options
are set during compilation.

Cherry-picked ...

b53da126060cf95c41ea5e49fb966a0dddfa307a authored about 2 years ago by Oneric <[email protected]>
make: explicitly target worker environment

This is no longer implied in future emscripten versions.

Cherry-picked from: https://github.com...

4563c4e1a3dd967dc76ce9de119e4584f224f414 authored about 2 years ago by Oneric <[email protected]>
make: remove filesystem flags from dependency builds

It's a link-only setting and since we only build
static libs only relevant in the final linking ...

baa5e18939bb901459b7544a57d440c3db827ac4 authored about 2 years ago by Oneric <[email protected]>
make: consolidate link flags

All builds but brotli already set NO_EXIT_RUNTIME, and in brotli's case
it was probably an overs...

2294953643a52e1f35258c2f15c495810f47a885 authored about 2 years ago by Oneric <[email protected]>
Merge pull request #38 from dmitrylyzo/TFSThiagoBR98/fix-clean-octopus

[TFSThiagoBR98] build: do not clean untracked files

9ad7c8d1a5fd05cc8845d03e76729f0a27dd51cc authored about 2 years ago by Dmitry Lyzo <[email protected]>
build: do not clean untracked files

Cherry-picked from: https://github.com/libass/JavascriptSubtitlesOctopus/commit/eb0ba034f05f17dc...

aa49c2ac4020416ee522954cd6a424761af898a6 authored about 2 years ago by Thiago França da Silva <[email protected]>
Bump version to 4.1.1

2f285e3d88b931d8a446b2cbc88aae489663aee1 authored over 2 years ago by Dmitry Lyzo <[email protected]>
Merge pull request #37 from dmitrylyzo/fix-memory-leak

Fix memory leak

85598b545f0793def4d9ec6c9976688af96e0703 authored over 2 years ago by Dmitry Lyzo <[email protected]>
js: fix memory leak

Remove all listeners so that the octopus is not reachable
from the window.

701e1291e4fa3e2c8fbe1d5f50fdbba4d189ae3a authored over 2 years ago by Dmitry Lyzo <[email protected]>
Bump version to 4.1.0

358716ed0f5920582770d35952d669dce04064ef authored over 2 years ago by Dmitry Lyzo <[email protected]>
Merge pull request #35 from dmitrylyzo/oneshot-restart

Fix RenderAhead buffering after resize

ee4f565ec4eda061d51576a07b750f5ef0f7ebd1 authored over 2 years ago by Dmitry Lyzo <[email protected]>
Fix RenderAhead buffering after resize

After resetting, the next `tryRequestOneshot` may be "eaten"
by an already existing (in the cach...

d2880e1b8af8bf37021f26ecf4f0223693e067aa authored over 2 years ago by Dmitry Lyzo <[email protected]>
Merge pull request #25 from dmitrylyzo/oneshot-unstall

Fix stalled RenderAhead

ddb93df26895adacf237dd6a00b989e621511fa7 authored over 2 years ago by Dmitry Lyzo <[email protected]>
Request the next event with some extra time

8ac00728b9e7c20fce286231614774c01bbcb779 authored over 2 years ago by Dmitry Lyzo <[email protected]>
Fix subtitles disappear when resizing

5a8c712f104b7dbe1b988899a656f624bcb29d86 authored over 2 years ago by Dmitry Lyzo <[email protected]>
Fix stalled renderAhead

If the worker can't render fast enough, the canvas doesn't
get updates because new frames are al...

ba29cf156306d1d923a8812fbe5b6b9d6abfdcc2 authored over 2 years ago by Dmitry Lyzo <[email protected]>
Merge pull request #28 from dmitrylyzo/fix-resize

Fix subtitles disappear when resizing

5cf1afa01c5d31f672aebad71ba5aa8dad0e47e0 authored over 2 years ago by Dmitry Lyzo <[email protected]>
Fix manual cache reset

Cache reset should use the render target size (which has been
passed to the worker).

d3ba00d36ec3d3ad961b5850f5598abfd35aee46 authored over 2 years ago by Dmitry Lyzo <[email protected]>
js: fix subtitles disappear when resizing

1. Missing `px` in offset comparison - deferred resizing resets
the canvas by writing the same v...

2b1e507d727dc4f2db4ee171722ec6d86b2563fc authored over 2 years ago by Dmitry Lyzo <[email protected]>
cosmetic: remove whitespace at end of lines

cad458130dfbf1bfa6693090ce15cedc03be3d2c authored over 2 years ago by Dmitry Lyzo <[email protected]>
Merge pull request #26 from dmitrylyzo/fix-animated-events

Fix animation detection

9892dbebf13ac8386ec4f161c059217515185135 authored over 2 years ago by Dmitry Lyzo <[email protected]>
renderAhead, dropAllAnimations: fix animation detection

Fixes the animation detection (and removal) initially introduced
in the misleadingly named "Less...

2da990e169f9da9915dfc3761b0d3b19879b3915 authored over 2 years ago by Oneric <[email protected]>
Merge pull request #29 from dmitrylyzo/fix-times

Fix event time comparison

b221855525c135f44648b7fe854386d0e211bcb3 authored over 2 years ago by Cody Robibero <[email protected]>
Fix event time comparison

Unify to `start <= tm < finish`.

91c62aaa7b866dda31f9f25afe10107ac795ed5e authored over 2 years ago by Dmitry Lyzo <[email protected]>
Merge pull request #24 from dmitrylyzo/fix-last-event

5ab8af3a1571441dac548c70c6991d145423ef13 authored over 2 years ago by Cody Robibero <[email protected]>
Merge pull request #23 from dmitrylyzo/refactors

df0e75fb7ad4da2eace9c5a7953ecd15a84dfcf4 authored over 2 years ago by Cody Robibero <[email protected]>
Merge pull request #22 from dmitrylyzo/docs

e5c85abef3e0906d437fa2ef97aa7325e9112fce authored over 2 years ago by Cody Robibero <[email protected]>
c++: fix lost last event

If there are no more events, 'minStart' is '-1', but we need to
finish the last event with a val...

5b2949f027c2b01f336c34aa61b5fec519ec0ada authored over 2 years ago by Dmitry Lyzo <[email protected]>
js: fix array comparison

d47964331a71feb5c9fcc5872d4a87416de93c6f authored over 2 years ago by Dmitry Lyzo <[email protected]>
readme: add missing documentation

Co-authored-by: Oneric <[email protected]>

7440445f19695a290b460c4c78819edb052f803c authored over 2 years ago by Dmitry Lyzo <[email protected]>
c++: remove recalculation of the buffer size

bde46c2419094fb01bcc8af5dd92981c89544ca9 authored over 2 years ago by Dmitry Lyzo <[email protected]>
c++: use size_t in buffer

a517e6acb63e6abacc599e93b8c113345bef4017 authored over 2 years ago by Dmitry Lyzo <[email protected]>
js: extract constants

ea5a2c59737d856a2f650e0e747f76cc627d7264 authored over 2 years ago by Dmitry Lyzo <[email protected]>
c++: name structs and remove typedefs

90016e5045cff1f87a988c7a75445d8820a872ee authored over 2 years ago by Dmitry Lyzo <[email protected]>
Merge branch 'new/custom-build' into new-master

Set up the project for a custom build.

a7e2b548a556c6384a399caeddc6076fc6d9e3bd authored over 2 years ago by Dmitry Lyzo <[email protected]>
chore: Update links

ee9a3daeeaa75cc3fe9ae5175358451e54318403 authored over 2 years ago by Dmitry Lyzo <[email protected]>
ci: Add release workflow

f65579d3b146500b6a82b029bf2a7d333a8d32df authored over 2 years ago by Dmitry Lyzo <[email protected]>
build: Prepare module for custom build

b785bd7f5356fd0f1684b44691d70ed909638100 authored over 2 years ago by Dmitry Lyzo <[email protected]>
Adapt JS side to renderBlend potentially returning a list of images

Cherry-picked from: https://github.com/jellyfin/JavascriptSubtitlesOctopus/commit/c08fd1d7efd489...

77dd50581098ec679130208e0e5d0788b7f71985 authored over 2 years ago by Vasily <[email protected]>
Fix render after rewind

Cherry-picked from: https://github.com/jellyfin/JavascriptSubtitlesOctopus/commit/0e9e7929dddbbf...

b63167f14192dd9e29597ebfb76b8a5dfb73e75d authored over 2 years ago by Dmitry Lyzo <[email protected]>
Do not reset prerender cache when resize is not actually a resize

Cherry-picked from: https://github.com/jellyfin/JavascriptSubtitlesOctopus/commit/0722559b28ea3e...

605d4cd6ef14c5915881a2219c10c706b146e4c5 authored over 2 years ago by Vasily <[email protected]>
Fix prerender cache not clearing upon track switch

Also prepare to handle resize more gracefully

Cherry-picked from: https://github.com/jellyfin/Ja...

2f9357dd090cac4a7a7aff9c6281fddfc205aa0f authored over 2 years ago by Vasily <[email protected]>
Reduce spam in logs when worker is not yet initialized

Cherry-picked from: https://github.com/jellyfin/JavascriptSubtitlesOctopus/commit/595d0e20e58634...

7f9e161556e2ab9dee960b1e62655f460143b118 authored over 2 years ago by Vasily <[email protected]>
Handle resize better - leave leftmost items be upon resizing

Cherry-picked from: https://github.com/jellyfin/JavascriptSubtitlesOctopus/commit/93f4d0f4a77f60...

4cf2b47a0f6ea2da1dfd3d43d598c9ed013679a0 authored over 2 years ago by Vasily <[email protected]>
Implement splitting by 3x3 grid

Cherry-picked from: https://github.com/jellyfin/JavascriptSubtitlesOctopus/commit/efed8543c1bd60...

dda54812f3f5ca85b0f1ca6ac73880bcdfec945e authored over 2 years ago by Vasily <[email protected]>