Commit Graph

8 Commits

Author SHA1 Message Date
MrMelbert
e9984a71e7 Bump min compiler version to 515.1627 (#81841)
## About The Pull Request

Here we go again.

1624 fixed some bugs with `::`, which we're starting to make more use
of.


![image](https://github.com/tgstation/tgstation/assets/51863163/73c40c58-fcd5-463e-9ec7-2cf2fadcefb4)

Case in point: This test run
https://github.com/tgstation/tgstation/actions/runs/8147514803/job/22268415319?pr=81726

But then we need the fixes for 1624 so we go to 1626. 

But also 1627 has compiler improvements so might as well
2024-03-09 05:04:54 +01:00
MrMelbert
bcecc1dedf Bumps min compiler version to 1621 / adds min compiler version to alternate_byond_versions (#81183)
## About The Pull Request

Min compiler version is something we should probably test to make sure
it actually works.

Case in point: Our current min version (1609) cannot compile as of
#81152 due to a byond bug fixed in version 515.1621.
2024-01-30 20:01:14 -08:00
vvvv-vvvv
b111abe7df Remove old 515 fcopy hack (#79952)
This was a workaround for a issue that's now fixed on 1609 (the new
MIN_COMPILER_BUILD)

https://www.byond.com/forum/post/2872856
> Status: Resolved (515.1609)
2023-11-28 09:03:10 +13:00
LemonInTheDark
1d6533c525 Bumps compile to 515 (#79134)
## About The Pull Request

LSP supports it, let's GOOOOOO
I've removed the 515 tests since they're stable, alongside the libcall
wrapper. left the rustgcall wrapper cause yaknow memes
Just removed all the 515 and 514 particular define wrappers. gaming

## Changelog
🆑
server: Minimum compile version has been bumped to 515. clients still
support 514 but we're gonna start using 515 restricted features for
serverside now.
/🆑

---------

Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com>
2023-11-25 21:03:29 -08:00
Kyle Spier-Swenson
3087ab2bb1 fcopy 515 linux compat (#75835)
This is a byond bug, but @san7890 @lessthnthree found it months ago and
didn't report it to byond.

So I will not open the issue report reporting this byond. They can
fucking do that.

This pr needs a speed merge because we have linux downstreams that
follow upstream code affected by this byond bug. then again skyrat also
knows about this bug on top of this workaround and has not opened a bug
report so maybe they don't fucking need a speed merge and instead should
have filed a bug report with byond.

Its out of my hands.

---------

Co-authored-by: Watermelon914 <37270891+Watermelon914@users.noreply.github.com>
2023-06-06 09:26:45 +12:00
san7890
3d9accccd8 Adds VERB_REF and derivative (#74500)
## About The Pull Request

Apparently in (one) place in the codebase, we were still using stuff
like `.verb/example_verb` for stuff like `INVOKE_ASYNC()` and
`CALLBACK()`s, and I'm pretty sure this is one of those things that are
being phased out in 515 (like we had to deal with in
4d6a8bc537), so let's give it the same
treatment as we did `PROC_REF` in November 2022.

In order to make this work, I created a generic backend of define
macros, and then moved two things: `PROC_REF` and `VERB_REF` to just
leverage that backend as needed. This was done just so we didn't have to
copy-paste code in case we needed to update these macros in the future,
let me know if I should approach this a different way.
## Why It's Good For The Game

code don't break (or at least the compile-time assertions won't break)
when we inevitably fully shift to 515. whoopie!
## Changelog
Nothing players should be concerned about.
2023-04-05 04:42:22 -07:00
AnturK
b36daf516a Enables 515 tests (#71473)
Random gc failures seem to be gone and savefile compatibility working in
515.1596. So let's try enabling this.

Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com>
2022-11-24 11:26:11 -08:00
AnturK
4d6a8bc537 515 Compatibility (#71161)
Makes the code compatible with 515.1594+

Few simple changes and one very painful one.
Let's start with the easy:
* puts call behind `LIBCALL` define, so call_ext is properly used in 515
* Adds `NAMEOF_STATIC(_,X)` macro for nameof in static definitions since
src is now invalid there.
* Fixes tgui and devserver. From 515 onward the tmp3333{procid} cache
directory is not appened to base path in browser controls so we don't
check for it in base js and put the dev server dummy window file in
actual directory not the byond root.
* Renames the few things that had /final/ in typepath to ultimate since
final is a new keyword

And the very painful change:
`.proc/whatever` format is no longer valid, so we're replacing it with
new nameof() function. All this wrapped in three new macros.
`PROC_REF(X)`,`TYPE_PROC_REF(TYPE,X)`,`GLOBAL_PROC_REF(X)`. Global is
not actually necessary but if we get nameof that does not allow globals
it would be nice validation.
This is pretty unwieldy but there's no real alternative.
If you notice anything weird in the commits let me know because majority
was done with regex replace.

@tgstation/commit-access Since the .proc/stuff is pretty big change.

Co-authored-by: san7890 <the@san7890.com>
Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
2022-11-15 03:50:11 +00:00