Ecosyste.ms: OpenCollective

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

github.com/thpatch/thtk

Touhou Toolkit
https://github.com/thpatch/thtk

extlib: update libpng to 1.6.42

libpng 1.6.40 -> 1.6.42

I've also changed submodule URLs again. git submodule sync is your
friend.

1a76c6236dc698aa92d953e0a01a0c96d54e3cd3 authored 11 months ago by Egor <[email protected]>
extlib: update zlib-ng to 2.1.6

zlib-ng 2.1.4 -> 2.1.6

dbfc59fec499c7131803a82146878d79f1ea7cac authored 11 months ago by Egor <[email protected]>
CheckStructPacking: use LINK_OPTIONS

revert of 0cce80df802490989d1da68336afb2df13343293

Debian buster is now oldoldstable, and there...

80a36972dd5c5b0a1b1cdc7a9c822219028b9e51 authored about 1 year ago by Egor <[email protected]>
extlib: update zlib-ng to 2.1.4

zlib-ng 2.1.3 -> 2.1.4

663477e14a932e857c2fd852a8312f5749589e6f authored about 1 year ago by Egor <[email protected]>
util/file: use MapViewOfFile

7171c1921c9119cfa91f463509eaae9472cd24d1 authored about 1 year ago by Egor <[email protected]>
io: move the default behavior of map out from thtk_io_file functions

yes, I know it's effectively dead code

03d2fa4874c76f6c3d42eca737c3ce56464c002c authored about 1 year ago by Egor <[email protected]>
io: make map default to pread

d409e634bb8bc2f2a3e965733998c330b36b4167 authored about 1 year ago by Egor <[email protected]>
io: use mmap/MapViewOfFile

d01e39c5ba7dd650ff24eb6b78fd595a9a421814 authored about 1 year ago by Egor <[email protected]>
io: s/fileno/fileno_unlocked

7693ae3cbd4798c8b258f92f699b25a5ec971247 authored about 1 year ago by Egor <[email protected]>
io: remove thtk_io_noop_unmap

just use a null pointer in the vtable instead

0e0380b20f10ff22e5e259f89a7de888c29b8ffd authored about 1 year ago by Egor <[email protected]>
io: add pread/pwrite

this also probably fixed a race bug I introduced in thdat105 while
trying to fix the other race bug

4e319793d8c9eae4e19b31875b90197eb2be022b authored about 1 year ago by Egor <[email protected]>
io: layout thtk_io_t differently

1f6fc0791ae1c4927cccb7b653dc428d1a7bb578 authored about 1 year ago by Egor <[email protected]>
io: reduce memory allocations

14d36c8979f7792342edeea42523b128e4f6e867 authored about 1 year ago by Egor <[email protected]>
io: untypedef private structs

d71c29fd7ded15b3928d79946ae23d0329e38617 authored about 1 year ago by Egor <[email protected]>
thdat: allow using string versions starting with d

like ds, ddc and daybreak

45e5b25591c303cd27d5176bb5f8e81535c87262 authored about 1 year ago by Egor <[email protected]>
update licenses

5dad5fa66f65bab3e159fb0d90c71350fbfcd052 authored over 1 year ago by Egor <[email protected]>
thecl: fix has_numeric_difficulites for <th10

Fixes #117

5ea079b792ef80147e3d1a0749a7426063bc2402 authored over 1 year ago by Priw8 <[email protected]>
thdat: don't special case th105

221027db9b9f67b313da266278824c326298a2b2 authored over 1 year ago by Egor <[email protected]>
detect: tasofro games detection

750c9b5e10747f348b56d78af9d3f26de3492c2b authored over 1 year ago by Egor <[email protected]>
thdat: don't hardcode versions which don't compress

e2150ac50ac0e07ea721c5cd00c3b53023c1f2c6 authored over 1 year ago by Egor <[email protected]>
thanm: print usage on empty command

444a1c90bcce6c5a944fd6d77e3e7a2ceacedf65 authored over 1 year ago by Egor <[email protected]>
rng_mt: keep state on stack

this also removes the default seed (5489) that never worked anyway

a4187d3c95d61c1e535037e47e44e6db26bbd2aa authored over 1 year ago by Egor <[email protected]>
detect: tasofro games filename detection

and some bugfixes!

this won't actually make the -xd option work btw

576cf8fc4103524302a60cfeaf5b4b936b38e5fa authored over 1 year ago by Egor <[email protected]>
thdat75: merge into thdat105

9ff03fc71a32c8816af31aa4260aa3adc5fd0a7a authored over 1 year ago by Egor <[email protected]>
util_xor: simplify

The compilers aren't smart enough to realize they don't have to emit a
multiplication instructio...

d7814bdbb3a984d2ae1c2fa8f573410ec54fb256 authored over 1 year ago by Egor <[email protected]>
thdat75/thdat105: fix openmp race condition

7503f341db3a330f546ce2185593f025be6d1e58 authored over 1 year ago by Egor <[email protected]>
thdat: support old tasofro games

- Immaterial and Missing Power (iamp, 75)
- Super Marisa Land (sml, ...

78bbf3591f3eec6d66174792052d7d87f858c396 authored over 1 year ago by Egor <[email protected]>
thanm: s/th19_unk/jpeg_quality

06e3387b0714ddcb6f3df087f65326f746c56c58 authored over 1 year ago by Egor <[email protected]>
thanm: an option to extract images from multiple ANM files at once

new test failures (that aren't related to previous ones)
09
Files /tmp/anmtemp/a/result00.anm an...

8aece65315f4c87e3524a936732cd1f291e244bb authored over 1 year ago by Egor <[email protected]>
thanm.1: typo

25fa555121f4b3244de1fd26f960d470a5677dcb authored over 1 year ago by Egor <[email protected]>
thanm: fix th095 front.anm recompilation

d022dc281a526dfc0136908bcf33043780bc02eb authored over 1 year ago by Egor <[email protected]>
thanm: document -o option

8302c4b950335c46ee7be84224f326906104b4be authored over 1 year ago by Egor <[email protected]>
contrib: add anmtest.sh

current results (just as the manpage foretold):
095
Files /tmp/anmtemp/a/front.anm and /tmp/anmt...

485e6d4a2d58ba2c1d1d6153ab171b6920c072e3 authored over 1 year ago by Egor <[email protected]>
thanm: don't output THTXSize for th19

doesn't help at all with rebuilding

476728055ce44c56b226943399d619884fe84076 authored over 1 year ago by Egor <[email protected]>
thanm: bring back image composition

Turns out #111 wasn't that much of an issue after all.

This is a partial revert of 58be1106561e...

64143c204cc27f88fc9b10e8138a6d7f0ed3b316 authored over 1 year ago by Egor <[email protected]>
thanm: -b flag for -x

690fa6a3013c245a14f9383e255e29234258df79 authored over 1 year ago by Egor <[email protected]>
detect: fix warning

e9ebeafe79d35f88735a3f4124e694478782db3a authored over 1 year ago by Egor <[email protected]>
define __STDC_VERSION__ 199901L on MSVC

28f8eb2b7f31d683673e93e2530c229c4e554b1e authored over 1 year ago by Egor <[email protected]>
thecl: fix msvc warnings

c89580f0eb7d6accfb84b8c6dc624b3e119e216d authored over 1 year ago by Egor <[email protected]>
thecl: fix format warning

0623a431132741d55d700d33335f94ef6b7a8913 authored over 1 year ago by Egor <[email protected]>
extlib: update deps

libpng v1.6.38 -> v1.6.40
zlib-ng 2.0.6 -> 2.1.3

1774ad21738ab084999dff15b8b14406939bfe8a authored over 1 year ago by Egor <[email protected]>
thecl: fix insdef

broken in fc8057bab87dc102c952458ac7d5c0e6c93ed615

5514600353da204cbfe3bf37bd357be853d31796 authored over 1 year ago by Egor <[email protected]>
fix missing prototypes

ce0f5454569e11633ed89537b9bc00a27dc3e183 authored over 1 year ago by Egor <[email protected]>
thanm: don't make version a global

274e9f902fc16421f7ab45de04db79e0233c92d2 authored over 1 year ago by Egor <[email protected]>
thanm: split extension at last dot

this is more consistent with C++'s stem() function, which is what
thcrap uses for this

e64edf1f11cce9e55fb49af84d4129d74305db19 authored over 1 year ago by Egor <[email protected]>
thanm: change unique filename separator from # to @

because at some point we might need to use this stuff on the wiki

0ebe34da2e5a219a81d5e5d2a282fc64b9d8ac14 authored over 1 year ago by Egor <[email protected]>
thanm: don't read the entire png just to get its size

8fb5a72da8b86a547d9d1f56424c49d534bf7f85 authored over 1 year ago by Egor <[email protected]>
thanm: add unique filename feature

58be1106561eef40a08fceeedb93ba932d9f6db5 authored over 1 year ago by Egor <[email protected]>
thanm: fix assertions

3dc437cb8390c1ab03af55113987d5bf964fcd4b authored over 1 year ago by Egor <[email protected]>
thanm.1: document -m and -s

d9b6afd0a97e753aee6150229f20163f06d531a4 authored over 1 year ago by Egor <[email protected]>
cp932: relicense to UNLICENSE

859c071cba0e0a88f7a62eddb2a65ea23e4a0d45 authored over 1 year ago by Egor <[email protected]>
thanm: allow exif files to be packed

de0ff37437874514fb472b5883d08113a21012bf authored over 1 year ago by Egor <[email protected]>
seqmap: use an array instead of linked list

4e3adcda4475e59cc3293ecd9d8e938f59cfd2aa authored over 1 year ago by Egor <[email protected]>
seqmap: reorder fields to use less space on x64

fc8057bab87dc102c952458ac7d5c0e6c93ed615 authored over 1 year ago by Egor <[email protected]>
README: thstd supports UB

3ed5596f7ad7a2ebb04fceb6e40edf3ed81780e4 authored over 1 year ago by Egor <[email protected]>
thanm: only dump th19_unk if it's non-zero

a9eb29f1eb1dabfdc31c9269db202102bf5f6a28 authored over 1 year ago by Egor <[email protected]>
thanm: dump and undump new fields

c08ed4f0e891fa69eb5ea37b01b3928135da1d55 authored over 1 year ago by Egor <[email protected]>
thanm: fix ins_626, ins_627

17ede3c6a68bd44a39a25ef71b9d85af53b4d6e0 authored over 1 year ago by Egor <[email protected]>
thanm: add th19 full anm insns

4c4441d914a168458393ca2c00eae2fd05f75d98 authored over 1 year ago by Egor <[email protected]>
thanm: less red tape when detecting file formats

804a9195c099d423c14dc9a21ead3150d10e66c9 authored over 1 year ago by Egor <[email protected]>
thanm: warn about exif jpegs

127c17d81e5f80f4d43be0a1b3acba7c8f2aef74 authored over 1 year ago by Egor <[email protected]>
thanm: more filesize checks

0a39feea2c5cf18d6570d798f272d943e280756d authored over 1 year ago by Egor <[email protected]>
thanm: minor cleanup after merge

495cbe8184aa67513907395b1e24326739ab1884 authored over 1 year ago by Egor <[email protected]>
Merge remote-tracking branch 'thpatch/th19-compressed-anm'

ec46954b70c46d085427d43ca771fe2ce3537692 authored over 1 year ago by Egor <[email protected]>
thecl: properly dump subs with more than 26 locals

allows th19/pl09.ecl to be recompiled

thanks to SuperChrim for reporting this issue

b2267577c91527ffbaef38a91f7d1ffc4a3f7633 authored over 1 year ago by Egor <[email protected]>
thmsg: don't add header when writing th19 endings

373a617d939aa05ea256adf582af942ee4167cec authored over 1 year ago by Egor <[email protected]>
thecl: use numeric diffs for th19

As it turns out, th19 does not use conventional easy/normal/hard/lunatic
values in its ECL files...

f8ebf717e03381cc78a4031a06f895b0b69a90d4 authored over 1 year ago by Priw8 <[email protected]>
Merge pull request #102 from thpatch/thecl/185-diff-format

thecl: better support for th185 diffs

665a0166be1ed6c2645f06930f90ada96b51476e authored over 1 year ago by Priw8 <[email protected]>
thecl: add support for th19 full

a163060d31fe931e6e3a86f2aa60090ab809a937 authored over 1 year ago by Egor <[email protected]>
thmsg: don't add the header for th19 endings

74d0795ea5b2251945dd99d1fab78a256748015b authored over 1 year ago by Egor <[email protected]>
thmsg: add support for th19 full

09b65f52b375dd8040def39b37d41ae207a4ad9f authored over 1 year ago by Egor <[email protected]>
th19: support new compressed ANM format

ee85c88c98092241378f5f0cc78a23d7000e30bb authored over 1 year ago by 32th-System <[email protected]>
Mention INSTALL in README

6dc2be4f61c200d52191ce46edb573f9ecef16e0 authored over 1 year ago by 32th System <[email protected]>
thecl: add shift-jis conversion option

resolves #92

c1cc7e62893eeb8f5c8556548acaf35abfd38bc5 authored over 1 year ago by Egor <[email protected]>
thanm.old: mention in the NEWS that th19 doesn't work

df9e4928a4387ec01c5ed83a359666b41485c5c3 authored over 1 year ago by Egor <[email protected]>
dattypes.h: document th09 v0.01a quirk

934b6d8047426b37ee2a48442ba4eb1201692bd5 authored over 1 year ago by Egor <[email protected]>
anm: fix sprite struct for th19

fixes #106

14190ed3893a334399719d3dc6d397e01e2b0939 authored over 1 year ago by Egor <[email protected]>
thanm: take mandatory version number as an argument

8374c50ad56420531fdd5904c6e32dde55b514ac authored over 1 year ago by Egor <[email protected]>
thanm.old: add ins_435

c7f3252234436b7dc438689d61255369c3db80a0 authored over 1 year ago by Egor <[email protected]>
add th19tr support for thmsg

9957219faeecd32fb01d89ade50e8694258f9b38 authored over 1 year ago by Egor <[email protected]>
add th19tr support for thdat/thanm/thecl/thstd

1374d10f7d07642b61d055a3ff50c26940e4d957 authored over 1 year ago by Egor <[email protected]>
fix manpage formatting

now it passes mandoc -mdoc -Tlint

placing newlines after each sentence is necessary for correct...

f9a3ad78a63037f6c7ed50b75550ed2b5e5ed3fd authored over 1 year ago by Egor <[email protected]>
remove .Os values from manpages

Most packages don't specify it.

b2bbc6ef4d6a9c5b5461af10132ba1582b7429c5 authored over 1 year ago by Egor <[email protected]>
github actions: upgrade checkout and cache to v3

5ba2cb6f67bb795ce3e33b71161aeb56bc161ad8 authored almost 2 years ago by Egor <[email protected]>
thanm: Add option to add offset information to ANM instructions

2f5ac03e6c8d6f2570f3624bdfd337c12a2b9633 authored almost 2 years ago by 32th-System <[email protected]>
thtk install: add LIBRARY and PUBLIC_HEADER paths

LIBRARY is used for .so on linux

333917e18c0820eba5a631ff6f6cf282c1b8279e authored about 2 years ago by Egor <[email protected]>
fix: option to prefer static lib, fix lib install path

f652683d9a92506ceb832bf1bf8fdb8b3701eb06 authored about 2 years ago by Gary Wang <[email protected]>
update libpng to v1.6.38

3c22b2f6aafd95d32d3448d9e12fcf5a0c978b2d authored over 2 years ago by Egor <[email protected]>
github actions: fix typo

c1bd644e91cb52ac27b94b315196a7cdad6f4fa5 authored over 2 years ago by Egor <[email protected]>
cmake: centralize libm detection

new thanm needs floorf and no one noticed because statically-linked
libpng pulls in libm as a tr...

e57e083efdc97ba8a82bfdde325b1d8539692c1c authored over 2 years ago by Egor <[email protected]>
cmake: link libpng via imported target

62c7af8d61c28cb2c35e72a781c5a76b8c0bab80 authored over 2 years ago by Egor <[email protected]>
cmake: link openmp via imported target

f80ab1af6a2d1df07f7706f25f35dc4b019711a2 authored over 2 years ago by Egor <[email protected]>
cmake: s/if(${x})/if(x)/

if(NOT ${x}) checks fail if x is undefined

33f37a635f1d86ab41bec062aa20d62a7f47159f authored over 2 years ago by Egor <[email protected]>
thanm: don't allocate padding

ec1a49d2a20b6675a2902adcbf4f213b2f8fc444 authored over 2 years ago by Egor <[email protected]>
thanm: add support for th143/bestshot.anm

fixes #44

e9525b9cb4a49170afaff7ef3846b9c3ef33ea24 authored over 2 years ago by Egor <[email protected]>
util_makepath: use 0777 mode with mkdir

umask exists for a reason

e86193bc9ce21b276971483ab8e93ede014e2b46 authored over 2 years ago by Egor <[email protected]>
thdat: add -C option for chdir

similar to the one in tar

d5cef5e57409e4a6ea1aac3803d406396c706e12 authored over 2 years ago by Egor <[email protected]>
cmake: turn warning flags into a target

ff1c31ea853c061065cc3cda66c7afd4b01bdf2f authored over 2 years ago by Egor <[email protected]>
.editorconfig: set indent_size for cmake to 2

9856788aba28b5f99681a097a3a38bdb9ab37c71 authored over 2 years ago by Egor <[email protected]>
cmake: simplify msvc release flags

fa6d41f3cf8a29007a10535a06170f79761e7e68 authored over 2 years ago by Egor <[email protected]>