Commit Graph

671 Commits

Author SHA1 Message Date
Syniis
2472a62e38 Fmt, remove inline_tweak and move close functions 2024-02-24 23:24:49 +01:00
Syniis
ec310efb3c More cave features 2024-02-24 23:09:01 +01:00
Imbris
5434ce546b Fix issue with missing capability when enabling shaderc optimizations
See https://github.com/gfx-rs/wgpu/issues/4915

Also:
* Remove unused vert-out frag-in variables from shaders (naga doesn't
  like this probably because they are optimized out on the fragment
  side). This restriction from naga may be relaxed in the future
  see https://github.com/gfx-rs/wgpu/issues/3748.
* Enable OptimizationLevel::Performance for shaderc by default
* Add a environment variable VOXYGEN_SHADERC_OPTS for disabling this
  (e.g. to test if it actually makes a difference on any platform).
  (TODO: testing might be easier if there was a way to do toggle it
  without restarting...)
2024-02-14 16:36:59 -05:00
Marcel
f27c00917a Merge branch 'xMAC/vek_update' into 'master'
update vek to newest version, we somehow had a patch we no longer need anymore

See merge request veloren/veloren!4316
2024-02-10 12:03:05 +00:00
Marcel Märtens
ab01c46ef7 update vek to newest version, we somehow had a patch we no longer need anymore 2024-02-10 11:43:59 +01:00
Marcel Märtens
fc076a39fb remove unmaintained fehler crate by updating lz-fear and zwitch to culpa 2024-02-10 11:30:36 +01:00
Christof Petig
f56e1d84b5 Use wasmtime to execute wasm components as veloren plugins 2024-02-10 09:35:04 +00:00
Nadja von Reitzenstein Čerpnjak
2d2ffa2b10 Add SRV lookup functionality to voxygen
This will make voxygen issue a SRV lookup when connecting to a host, allowing server owners to configure non-standard ports for servers and host servers using vanity domains easily. It additionally allows servers to be hosted on both QUIC and TCP at the same time, with the client connecting to the preferred protocol automatically, but gracefully falling back if a connection is not possible.
2024-02-07 14:28:37 +01:00
Marcel Märtens
b0bef3ebbf update few dependencies 2024-02-06 19:11:10 +01:00
Marcel Märtens
be6a99acb4 replace tui with ratatui 2024-02-06 19:11:10 +01:00
Marcel Märtens
c69224171b run cargo update 2024-02-06 12:45:32 +01:00
Marcel Märtens
856c64c9ee smaller code cleanups, copy paste errors, or wrong merge resolutions fixed according to MR reviews 2024-02-01 12:05:10 +01:00
Isse
02aa740f72 try fix changing settings for opengl + windows 2024-02-01 12:05:10 +01:00
Isse
82989979a6 try to fix windows build 2024-02-01 12:01:51 +01:00
Isse
00f527fe8b fix gl 2024-02-01 12:01:45 +01:00
Isse
165c88bd74 patch wgpu to 18.2 2024-02-01 12:01:03 +01:00
Isse
9903d2c545 more testing 2024-01-30 00:52:49 +01:00
João Capucho
d29d22dd0a update to wgpu 0.18 2024-01-30 00:52:49 +01:00
Benoît du Garreau
b6ffb3a146 Update assets_manager to v0.11 2024-01-20 15:46:16 +00:00
juliancoffee
9264fe77b1 Add veloren-common-i18n
- Move common::comp::chat::Content to its own place
2024-01-14 21:25:15 +02:00
juliancoffee
18742bc7fb Fix veloren-server compilation
As veloren-server enables plugin feature automatically, it results in
veloren-common-state inherit this feature, which enables
common/state/plugin/mod.rs which asks for common::assets function that
is enabled only if plugin feature is enabled, but because
veloren-common-state doesn't depend on common::assets, this feature is
kind of lost half-way.

This commit fixes this by adding explicit optional dependency on
common-assets in common-state that is enabled by plugin feature.
2024-01-08 20:13:17 +02:00
Imbris
6d57169875 review fixes 2024-01-04 00:01:08 -05:00
Imbris
6c6b9181a5 Only construct specs::Dispatcher once
* use version of shred that has an added SendDispatcher so we can
  construct the dispatcher and send it between threads (only State to
  remain sendable)
* move closure for adding systems from State::tick to the creation
  functions
* this does mean some voxygen systems always run instead of just in the
  session state, but that should not cause issues and we can always
  configure them to do nothing if needed
2024-01-03 18:11:06 -05:00
Isse
c1aa9bd1b6 move some details to generate 2023-12-07 20:08:03 +01:00
Marcel Märtens
adeab73876 move whole webserver to server-cli 2023-10-18 09:35:40 +02:00
Marcel Märtens
38f4b8b644 There is no way to moderate ChatMessages not send in global chat. For this way we might investigate in a different approach.
The Gameserver returning the latest chat messages via a REST api (protected by a password in settings).
A central service can then scrape this endpoint and make it accessable to moderators.

We need to make sure to log which moderator sees which messages, especially when whispered. to be sure we might also limit the holding period to a week
2023-10-18 09:35:40 +02:00
Christof Petig
12ee21a289 first part of load items from plugin 2023-10-17 21:07:23 +02:00
Marcel Märtens
3f7f7195cd use imbris gfx fix 2023-10-06 17:09:19 +02:00
Marcel Märtens
394c8892bb update toolchain to nightly-2023-09-28 2023-10-05 22:00:48 +02:00
Imbris
9c398cb06d djust for changes in specs safety refactor 2023-09-24 23:46:59 -04:00
Imbris
cd98dd5245 Remove unused deps flagged by cargo-machete 2023-09-21 22:59:50 -04:00
Isse
f4ca60cbb6 Map selector and generation UI 2023-09-17 17:11:19 +00:00
Imbris
b9731b57ce Update to specs 0.19 2023-09-15 16:32:59 -04:00
Imbris
afe97f4d67 Make sure we use one version of tracy-client!!!!! 2023-09-15 16:32:59 -04:00
Marcel Märtens
d67817068e fix auth, needed to set correct Config for argon to fix the hashing 2023-09-13 12:23:36 +02:00
Marcel Märtens
d54ed537ac update uuid via authc 2023-08-28 20:09:17 +02:00
Marcel Märtens
b4216ec634 get rid of old criterion 2023-08-27 19:17:04 +02:00
Marcel Märtens
96bf6309d2 small updates to dependencies 2023-08-27 19:17:04 +02:00
Marcel Märtens
4ff25d7233 cargo update 2023-08-27 19:17:04 +02:00
Marcel Märtens
3346a3bc1f some manual dependency updates 2023-08-27 19:17:01 +02:00
Imbris
de34726fa7 Merge branch 'imbris/winit-update-v2' into 'master'
Update winit to 0.28

See merge request veloren/veloren!4088
2023-08-27 15:10:00 +00:00
Laura
f0d8237e2d Upgrade authc dependency revision
42dddd666f28e1a94cdf4b542fcd61f67658e261 contains additional fixes
for RUSTSEC-2023-0052.
2023-08-23 11:17:30 +02:00
Imbris
e0ead44b54 Fix windows build 2023-08-23 01:22:17 -04:00
Imbris
eec1b5853e Remove unused cpal version
Also it turns out directories-next is in use for something that we need
2023-08-23 00:47:31 -04:00
Imbris
f5445774de Update winit to 0.28
Hopefully works better on wayland!
2023-08-23 00:45:36 -04:00
Laura
b03d0dcc7b Upgrade rustls and quinn
According to RUSTSEC-2023-0052 we need to upgrade rustls to 0.21
to get a fix for the issue which may or may not affect Veloren
since it's about client certificates but with the absence of a
PoC it seems like a good idea to upgrade anyway, just to be sure.

webpki has gone unmaintained (which rustls 0.20 depends on),
starting with rustls 0.21 it depends on rustls-webpki which
contains a fix for the issue. Since quinn also depends on
rustls 0.20 in 0.8 and 0.9 versions, we needed to upgrade it to
0.10 so that it depends on rustls 0.21 which we now use.
2023-08-23 06:35:36 +02:00
Marcel
09646a9830 Merge branch 'tibbon1/update_num_derive_0_4_0' into 'master'
num_derive 0.3 -> 0.4.0

See merge request veloren/veloren!4053
2023-08-17 16:42:31 +00:00
David Fisher
a5d597516e num_derive 0.3 -> 0.4.0
because: num_derive was flagged as outdated in the list of dependencies
https://deps.rs/repo/gitlab/veloren/veloren

this commit: Updates num_derive to 0.4.0

Tests appear to pass locally, pending CI run for confirmation.

Changes between 0.3 and 0.4.0:
https://github.com/rust-num/num-derive/compare/num-derive-0.3.0...num-derive-0.4.0
2023-07-31 10:28:36 -04:00
David Fisher
7751ef611c approx 0.4.0 -> 0.5.1
because: approx was flagged as outdated in the list of dependencies
https://deps.rs/repo/gitlab/veloren/veloren

this commit: Updates approx to 0.5.1

Tests appear to pass.

Changes between 0.4.0 and 0.5.1:
https://github.com/brendanzab/approx/compare/v0.4.0...v0.5.1
2023-07-31 08:22:52 -04:00
Marcel Märtens
31da906f84 update mumble-link and remove a old path to migrate pre-2020 voxygen saves to the new save location
With this change people with older version need to run a version from 2021-2022 before updating to this change and start singleplayer once.
Get rid of old rust dependencies
2023-07-17 10:50:53 +02:00