Commit graph

588 commits

Author SHA1 Message Date
f661f854a4
Merge pull request #65 from neocturne/jemalloc
Add jemalloc and jemalloc-auto features
2025-02-12 20:51:51 +01:00
1d9be9a41c
Add jemalloc and jemalloc-auto features
Introduce the new features jemalloc (set jemalloc global allocator
unconditionally) and jemalloc-auto (set jemalloc global allocator on
musl-based targets to fix multithreaded performance, see [1]).

Because cargo does not support target-specific features or feature
defaults, the default is handled using a helper crate
minedmap-default-alloc.

[1] https://nickb.dev/blog/default-musl-allocator-considered-harmful-to-performance/
2025-02-12 20:34:09 +01:00
a25b3cdbd7
Merge pull request #64 from neocturne/fallback-biome
resource, world: implement fallback to plains for unknown biomes
2025-02-11 23:25:17 +01:00
d96bb727f7
ci: upgrade to upload-artifact v4 2025-02-11 23:04:08 +01:00
0dd36a409a
Update dependencies
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2025-02-11 23:03:33 +01:00
a10151a4f3
resource, world: implement fallback to plains for unknown biomes
Closes #63
2025-02-11 23:00:21 +01:00
d7fc95c950
README.md: fix size reduction estimate for WebP tiles
I accidentally measured the output size including the `processed`
directory for the previous numbers.
2025-01-11 02:10:00 +01:00
561a1e6577
minedmap 2.4.0 2025-01-11 01:54:53 +01:00
0bf1d46aad
minedmap-types 0.1.4 2025-01-11 01:53:05 +01:00
a2f0ad401d
CHANGELOG.md: fix missing word 2025-01-11 01:51:35 +01:00
ec309dc15f
Merge pull request #62 from neocturne/webp
core, viewer: add support for WebP output
2025-01-11 01:50:36 +01:00
6763e2b4ec
Update dependencies 2025-01-11 01:42:42 +01:00
c23b53a8c3
core, viewer: add support for WebP output
WebP can be selected by passing `--image-format webp` on the command
line. For typical Minecraft worlds, this results in a size reduction of
10-15% without increasing processing time.
2025-01-11 01:41:04 +01:00
bb11b29e92
Merge pull request #60 from neocturne/updates
Updates
2025-01-09 21:40:34 +01:00
28a191a23a
resource: ignore array size clippy warning
The const is used only once, so there is no reason not to inline it.
2025-01-09 21:09:48 +01:00
52572a9e81
Update dependencies 2025-01-09 20:57:12 +01:00
b9cd94b235
CHANGELOG.md: remove reference to Minecraft internals
Remove a sentence that refers to internal color names, as the
information is more confusing than helpful in a user-facing changlog.
2025-01-06 22:31:56 +01:00
f9954d1ce4
minedmap 2.3.1 2025-01-06 21:25:29 +01:00
a67bdb3b67
minedmap-resource 0.6.0 2025-01-06 21:25:20 +01:00
0a3f6d7765
Merge pull request #59 from neocturne/sign-colors
Sign color fixes
2025-01-06 21:24:46 +01:00
ff6e28d381
world, viewer: fix sign text colors
- Fix text colors for signs modified using dye
- Fix text colors specified using `#rrggbb` CSS syntax in JSON text

Only named colors specified via JSON text were working as intended. Dyed signs use different
color names.

The mapping of color names to values is now handled by the generator. Both the generator and the
viewer must be updated for sign text colors to work.
2025-01-06 21:16:41 +01:00
9375af8d54
resource: impl Ord for Color
Allow using Color in FormattedText.
2025-01-06 20:30:32 +01:00
7f329ac8e7
CHANGELOG.md: fix heading for previous release 2025-01-06 20:30:32 +01:00
650cd23198
minedmap 2.3.0 2025-01-02 13:42:11 +01:00
941cd16337
minedmap-resource 0.5.0 2025-01-02 13:41:56 +01:00
c1d2eaa17e
Merge pull request #58 from neocturne/update-1.21.4
Updates + 1.21.4 support
2025-01-02 01:58:26 +01:00
00237101f2
README.md: update for 1.21.4 support 2025-01-02 01:31:26 +01:00
8f408e78a0
resource: codegen biome list 2025-01-02 01:31:26 +01:00
7b98954c80
resource: add comments to generated file 2025-01-02 01:31:26 +01:00
00216341ca
resource: separate current biome data from aliases/legacy IDs
Prepare for automatic generation of current biome data.
2025-01-02 01:31:26 +01:00
83bd936f80
viewer: add images for pale oak signs 2024-12-31 12:21:09 +01:00
9b3b345318
resource: update block types and biomes for 1.21.4 2024-12-31 12:21:09 +01:00
11e25106cf
Update dependencies 2024-12-31 03:05:42 +01:00
491ec5cdca
Merge pull request #57 from neocturne/clippy-fixes
treewide: clippy fixes + dependency updates
2024-12-17 00:40:40 +01:00
feaf90c96c
Update dependencies 2024-12-17 00:31:38 +01:00
4933d8e15f
treewide: clippy fixes
Fix all clippy warnings as of Rust 1.83.0.
2024-12-17 00:24:56 +01:00
kek.rs
2156bff59a
Add Dockerfiles (#56) 2024-12-17 00:05:12 +01:00
7b44ee30d6
Add LICENSE file again
It can be useful for Github to show the license next to the repo, and
it's clearer that the license applies both to the Rust code and the
viewer this way.

The project was relicensed from BSD-2-Clause to MIT in 2023, but the
first year of the copyright is when the project started in 2015.
2024-11-20 14:27:30 +01:00
f9a03b332c
README.md: fix incorrect --sign-transform example 2024-07-18 23:22:05 +02:00
f43e84eb2b
minedmap 2.2.0 2024-06-23 11:31:45 +02:00
269f08d356
minedmap-resource 0.4.0 2024-06-23 11:30:41 +02:00
f1bc18add1
minedmap-types 0.1.3 2024-06-23 11:30:20 +02:00
6d6f3e5b49
Merge pull request #54 from neocturne/minecraft-1.21
Update dependencies and add Minecraft 1.21 support
2024-06-23 11:23:53 +02:00
414ad5a493
resource: add Minecraft 1.21 block types 2024-06-23 01:24:07 +02:00
7f3e47fcb4
treewide: update dependencies 2024-06-23 01:21:58 +02:00
bc8219772f
README.md: mention argument quoting difference on Windows 2024-06-23 01:21:58 +02:00
661da4698d
workflows: update MacOS jobs to macos-13 2024-06-19 19:39:30 +02:00
e9abe6b502
minedmap 2.1.1 2024-06-14 16:31:18 +02:00
4eb963f147
Merge pull request #53 from neocturne/empty-region-fixes
Empty region fixes
2024-06-14 16:30:34 +02:00
e74e7be686
core: region_processor: ignore empty region files
Minecraft generates empty region files in some cases. Just ignore these
files instead of printing an error message for each.
2024-06-14 16:19:55 +02:00