Commit Graph

11900 Commits (master)

Author SHA1 Message Date
Josephine "Niruandaleth" Rueckert 4c595f9fee chore: prepare snapshot builds for 5.4.0-SNAPSHOT 2022-09-03 12:03:58 +02:00
Josephine "Niruandaleth" Rueckert 52e151bd78 release: version 5.3.0 2022-09-03 11:59:31 +02:00
Josephine "Niruandaleth" Rueckert 490e22ec12 chore: prepare release 5.3.0 2022-09-03 11:57:08 +02:00
Tobias Nett 5e3d63f186
chore(subsystems/discord): catch runtime exception and log only message (#5063) 2022-08-26 21:28:13 +02:00
jdrueckert 03023ad52c
feat: add type handlers for SimpleUri and BlockUri (#5061) 2022-08-23 10:27:49 +02:00
jdrueckert f3f9d9280d
fix: do not crash on unexpected map format in GenericMapTypeHandler (#5062)
Co-authored-by: Tobias Nett <skaldarnar@googlemail.com>
2022-08-23 00:10:43 +02:00
Tobias Nett ceff6a917f
chore(world): improve logging for BlockManager (#5067)
Improves the logging in `BlockManager` by printing out the (raw) block
family names in case it could not be parsed or processed correctly.

Also, adds a logging statement to a code path which was previously
silently ignored.
2022-08-21 23:51:25 -07:00
Tobias Nett 27855180e4
fix(rendering): Don't try to set window icon on macOS (#5066) 2022-08-21 23:48:06 -07:00
Kevin Turner d0d460b043
Merge pull request #5068 from MovingBlocks/build/idea-2022.2 2022-08-21 14:36:51 -07:00
Kevin Turner 30957eea2e build(idea): kotlin compiler settings
add initial defaults
2022-08-21 12:30:13 -07:00
Kevin Turner 83d77828f4 build(idea): exclude some things from import suggestions
com.google.api.client.util: seems to contain an internal copy of guava; use guava import path instead
org.junit.platform.commons.logging: JUnit's internal logging interfaces
2022-08-21 12:27:13 -07:00
Tobias Nett 2e90f83c49
chore: simplify implementation in Assets to one-liners (#5064) 2022-08-21 11:20:32 -07:00
Tobias Nett 4de6bdc14d
build(idea): fix parameters in run configurations (#5065) 2022-08-21 11:13:45 -07:00
Kevin Turner b367a180d4
fix(facade): fix broken --load-last-game (#5053) 2022-07-05 20:07:59 +02:00
Kevin Turner 40db450e71
performance(network): shutdown faster with parallelization (#5029) 2022-06-26 14:44:36 -07:00
Kevin Turner 45bde3d58d
fix: do not run behavior simulation while paused (#5054) 2022-06-26 22:54:56 +02:00
Kevin Turner 2b01ea7d31
chore(EntityPool): workaround "unchecked generics array creation" for getEntitiesWith (#5052) 2022-06-26 21:20:56 +02:00
jdrueckert e528a095e6
Merge branch 'develop' into perf/fasterNetworkShutdown 2022-06-15 18:41:50 +02:00
Kevin Turner fbc40c3fe2
fix(TypeHandlerLibrary): fix error-during-error-logging in GenericMap (#5048) 2022-06-14 15:46:02 -07:00
Kevin Turner 558c8418ab
test(MTE): allow a test to add its own EngineSubsystem (#5044) 2022-06-12 16:44:39 -07:00
Kevin Turner b98663c42c
Merge branch 'develop' into perf/fasterNetworkShutdown 2022-06-11 08:41:19 -07:00
Kevin Turner 7dbe8724bf
test(MTE): replace IsolatedMTEExtension with JUnit's TestInstance.Lifecycle (#5039)
* test(MTE): test injection with IsolatedMTEExtension
* test(MTE): remove @IsolatedMTETest; use JUnit TestInstance Lifecycle instead
* test: doc corrections
* test: warn when Truth.assertThat is not followed by assertion

Co-authored-by: Tobias Nett <skaldarnar@gmail.com>
2022-06-11 14:13:41 +02:00
Tobias Nett d4523012c8
fixup! test(MTE)! set default NetworkMode to NONE (#5041) (#5043) 2022-06-11 13:40:51 +02:00
Kevin Turner 3674bbb93b
test(MTE)! set default NetworkMode to NONE (#5041)
* test(MTE)! set default NetworkMode to NONE
2022-06-07 16:52:26 -07:00
Kevin Turner be0f9ded06
chore: CoreRegistry removal from engine.network (#5033)
Fixes some race conditions in MTE tests.

* test(network): ClientHandler's GameEngine reference is optional?

  seems sus, but it's only used for a disconnection event, so maybe.

* fix(network): don't replace this object every tick
2022-06-06 17:41:15 +02:00
Kevin Turner 182f308f71
test: add NetworkMode setting to MTE (#5037) 2022-06-05 13:50:23 +02:00
Kevin Turner 6c7c280b14 chore(NetworkSystem): shutdown faster by doing connections in parallel
mostly relevant for tests, which shutdown and restart often
2022-06-04 12:10:38 -07:00
Kevin Turner 7d4320c16e chore(PrepareWorld): factor out time to a variable
Thread.onSpinWait() tells the JVM this thread is just waiting, not doing useful work.
2022-06-04 12:08:08 -07:00
Kevin Turner c42f93606a
fix(PathManager): allow paths to be symlinks (#5036)
* fix(PathManager): allow paths to be symlinks

Useful for directories like cachedModules.

* fix(PathManager): fix formatting on libraries-not-found message.

%n is only a newline when run through a Formatter (or printf).
2022-06-04 11:57:32 -07:00
Kevin Turner 8a7219b637
test: reducing logspam (#5022)
Co-authored-by: jdrueckert <jd.rueckert@googlemail.com>
2022-06-04 19:56:59 +02:00
Kevin Turner a24c07d000
fix(templates): replace perlin with simplex as the default override.cfg (#5035) 2022-06-04 17:37:59 +02:00
Kevin Turner 114f175778
build(checkstyle): update to version 10.2, update .idea to match (#5027) 2022-06-04 17:04:46 +02:00
jdrueckert f4d3d5da01
test: add info logs to help track down sporadic (#5040)
Co-authored-by: Tobias Nett <skaldarnar@gmail.com>
2022-06-04 16:38:41 +02:00
Kevin Turner 0a9b89fde7
feat(InjectionHelper): inject() returns the object for chaining (#5028)
* chore: Context.getValue error includes which context it is

* feat(InjectionHelper): inject() returns a value for chaining

* doc(InjectionHelper): add javadoc, mark CoreRegistry use as deprecated
2022-06-04 12:45:41 +02:00
jdrueckert a0c6606176
feat: restrict default memory settings (#5025) 2022-05-29 15:09:21 -07:00
jdrueckert 3c61ce7590
chore(#4908): match IntelliJ and Checkstyle formatting rules (#5026) 2022-05-29 11:39:21 -07:00
Kevin Turner 9a122e21fb
security: upgrade dependencies (#5021)
- upgrade snowplow, logstash-logback-encoder, logback-classic, plexus-utils, protobuf-java
- remove dom4j, jetbrains NotNull annotation
2022-05-28 17:18:35 +02:00
Taha Jamal b852ce89b3
feat: Add BlockAreac#distanceSquared (#4621)
Co-authored-by: jdrueckert <jd.rueckert@googlemail.com>
2022-05-27 00:17:03 +02:00
Kevin Turner 4a301c3235
Merge pull request #5010 from MovingBlocks/test/moveMTE 2022-05-22 15:22:49 -07:00
jdrueckert 650866742d
Merge branch 'develop' into test/moveMTE 2022-05-22 23:51:04 +02:00
Kevin Turner 22bf4a4148
fix(Context)!: correct signature of Context.get (#5017) 2022-05-22 23:11:37 +02:00
Kevin Turner b8e09e3a6a
doc: replace IRC link with Discord (#5019) 2022-05-22 22:54:40 +02:00
Kevin Turner c7da4e6ae9
Merge pull request #5020 from MovingBlocks/build/extractCommonMetrics
build: extract project metrics/analytics to terasology-metrics gradle plugin
2022-05-22 13:03:39 -07:00
Kevin Turner f780a161e1 build: more cleanup of things moved to build-logic 2022-05-21 13:57:54 -07:00
Kevin Turner ec8decfad5 build: make terasology-common for easy inclusion of things applicable to all subprojects 2022-05-21 13:46:39 -07:00
Kevin Turner 8a322cb6fe build(modules): simplify module template
We can do this now that spotbugs and sonarqube moved to terasology-metrics in build-logic
2022-05-21 13:39:17 -07:00
Kevin Turner 90af4b2c8f test: remove jacoco
CI wasn't even reading the jacoco report at all.
2022-05-21 12:21:35 -07:00
Kevin Turner b1a35c06f4 build: extract project metrics/analytics to terasology-metrics gradle plugin 2022-05-21 12:21:35 -07:00
Kevin Turner 3cf39f5120 build(modules): copy assets and module.txt every time processResources is run
Instead of waiting for the jar task.

This is probably the reason things didn't seem to work unless you built jars _before_ running the code.
2022-05-19 16:43:06 -07:00
Kevin Turner b5b42ae4db test: fail earlier when explicitly-named test dependencies are not found 2022-05-19 16:36:39 -07:00