145 Commits

Author SHA1 Message Date
Dylan K. Taylor
3c754b079c
Move resources/locale to Composer dependency
all remaining submodules are now non-essential to running a server.
They are also versioned and updates can be done automatically using 'composer update'.

Finally, we can also put an end to the issue of translations being rendered incorrectly or being missing due to outdated submodules.
2021-11-06 00:32:58 +00:00
Dylan K. Taylor
8c16ecaa5b
Merge branch 'stable' 2021-11-01 21:08:32 +00:00
Dylan K. Taylor
3214da8642
pthreads 4.0.0 2021-11-01 21:01:59 +00:00
Dylan K. Taylor
d0474ccd92
make-release: note which channel the build will be released into 2021-10-28 16:29:20 +01:00
Dylan K. Taylor
2b0768f720
make-release: fixed retention of +dev on release versions 2021-10-28 16:26:56 +01:00
Dylan K. Taylor
dba148cfaa
build/make-release: make arg parsing use getopt 2021-10-28 16:25:18 +01:00
Dylan K. Taylor
d3f74d6ce1
Merge branch 'stable' 2021-10-12 23:32:43 +01:00
Dylan K. Taylor
ead9aae23c
Updated build/php submodule to pmmp/php-build-scripts@fab0cbeaae 2021-10-12 23:10:06 +01:00
Dylan K. Taylor
f9e6fd44bc
Merge branch 'stable'
it looks like I goofed up the last merge and the changelog didn't get
merged into master.
2021-10-02 20:18:06 +01:00
Dylan K. Taylor
65e468e3c2
Updated build/php submodule to pmmp/php-build-scripts@6aac46e500 2021-09-28 21:00:13 +01:00
Dylan K. Taylor
b8a15b647c Updated build/php submodule to pmmp/php-build-scripts@ad9cd1fdb4 2021-09-07 22:35:02 +00:00
Dylan K. Taylor
57e2b16139
Dropped PreProcessor 2021-09-07 14:04:52 +01:00
Dylan K. Taylor
06a0e37b94
Fixed build info generation for PM4 2021-09-07 12:47:41 +01:00
Dylan K. Taylor
64347e9499
Merge branch 'stable' 2021-09-07 12:45:52 +01:00
Dylan K. Taylor
0c0eb72b1b
make-release: display the current and next version numbers 2021-09-05 15:46:40 +01:00
Dylan K. Taylor
92f3a7d206
make-release: allow specifying the nextVer as well as currentVer 2021-09-05 15:29:55 +01:00
Dylan K. Taylor
f207f9e3e9
Merge remote-tracking branch 'origin/stable' 2021-09-03 20:00:15 +01:00
Dylan K. Taylor
ac060f2ec6
Update build/php submodule to pmmp/php-build-scripts@e55c60f176 2021-09-03 11:45:43 +01:00
Dylan K. Taylor
239534995f
Update preprocessor submodule to pmmp/PreProcessor@8a3163aad6 2021-08-26 13:32:50 +01:00
Dylan K. Taylor
044b2f54ac
Fixed build 2021-08-22 23:13:25 +01:00
Dylan K. Taylor
270ee5c085
Simplify registry method generation 2021-08-22 23:02:36 +01:00
Dylan K. Taylor
a5b85e095a
Fixed some missing function imports
these weren't getting corrected since php-cs-fixer 3.0 due to a change in the default configuration for native_function_invocation. Since the builds are randomly choosing to use php-cs-fixer 2.19 at the moment, the consistency is a problem.
2021-08-19 15:40:43 +01:00
Dylan K. Taylor
b4b3c21d30
Merge branch 'stable' 2021-08-19 15:39:16 +01:00
Dylan T
7bd8d09023
GitHub Actions: automatically build and upload release artifacts, and auto-update update.pmmp.io (#4376) 2021-08-18 14:02:52 +01:00
Dylan K. Taylor
a012e7ccc0
VersionInfo: make static methods more constant-like
if we could have class constants declared at runtime, these would be constant.
2021-08-16 16:37:36 +01:00
Dylan K. Taylor
789a669395
Rename TranslationContainer -> Translatable 2021-08-15 16:17:46 +01:00
Dylan K. Taylor
5bdcc0339f
build/generate-known-translation-apis: make the ref to TranslationContainer statically analysable
this ensures that it will follow refactors automatically with no additional changes.
2021-08-15 16:13:07 +01:00
Dylan K. Taylor
8b9d7d6390
Support for nested TranslationContainers 2021-08-14 20:57:13 +01:00
Dylan K. Taylor
662d1a35ff
generate-registry-annotations: skip files that don't contain classes 2021-08-12 20:29:21 +01:00
Dylan K. Taylor
27a2d06083
Fix CS 2021-08-10 14:53:03 +01:00
Dylan K. Taylor
2293bd948d
Added KnownTranslationFactory and use it in as many places as possible
this makes translation usage much more statically analysable.
The only places this isn't used are:
- places that prefix translations with colours (those are still a problem)
- places where server/client translations don't match (e.g. gameMode.changed accepts different parameters in vanilla than in PM)
2021-08-10 14:50:40 +01:00
Dylan K. Taylor
efb677d5d5
Merge branch 'stable' 2021-08-03 20:22:17 +01:00
Dylan K. Taylor
748e9705ba
Updated build/php submodule to pmmp/php-build-scripts@49971716b0 2021-08-03 20:20:56 +01:00
Dylan K. Taylor
8f01caf335
Merge branch 'stable' 2021-07-24 22:42:06 +01:00
Dylan K. Taylor
3bbd088a09
Update build/php submodule to pmmp/php-build-scripts@280dd0524a 2021-07-24 22:40:28 +01:00
Dylan K. Taylor
aeb007d0a1
Merge remote-tracking branch 'origin/stable' 2021-07-09 19:36:32 +01:00
Dylan K. Taylor
72e4660800
Updated build/php submodule to pmmp/php-build-scripts@4bf8ec1ad0 2021-07-05 18:42:35 +01:00
Dylan K. Taylor
316e2654cc
Fixed CS 2021-06-29 22:50:08 +01:00
Dylan K. Taylor
94e16f416d
Added KnownTranslationKeys (generated) and start using it 2021-06-29 22:46:04 +01:00
Dylan K. Taylor
920eb7cce5
Merge branch 'stable' 2021-06-09 13:46:00 +01:00
Dylan K. Taylor
b85f3bd149
make-release: abort on no changelog changes 2021-06-08 20:20:30 +01:00
Dylan K. Taylor
2bbb24fab7
Merge branch 'stable' 2021-06-08 20:00:08 +01:00
Dylan K. Taylor
afe67f7502
Updated build/php submodule to pmmp/php-build-scripts@0a0ac2abb3 2021-06-05 20:18:58 +01:00
Dylan K. Taylor
5e5277acb5
Merge branch 'stable' 2021-05-05 22:22:32 +01:00
Dylan K. Taylor
0c2ba66078
Updated build/php submodule to pmmp/php-build-scripts@07129c61d6 2021-05-05 22:15:48 +01:00
Dylan K. Taylor
b032d49722
Merge branch 'stable' 2021-03-28 19:41:23 +01:00
Dylan K. Taylor
e42a691da9
Strip trailing whitespace 2021-03-28 19:02:51 +01:00
Dylan K. Taylor
01ffe8bf57
Updated build/php submodule to pmmp/php-build-scripts@c64baa0f1c 2021-03-28 18:14:40 +01:00
Dylan K. Taylor
06f20234f7
Scrub unused imports 2021-03-26 22:56:09 +00:00
Dylan K. Taylor
9c10599c30
Updated PreProcessor to pmmp/PreProcessor@6e223fa9a0 2021-03-25 01:33:05 +00:00