Commit graph

15870 commits

Author SHA1 Message Date
Lactozilla
6bf58ce870 Revert "Add comments"
This reverts commit 3a09c475c7.
2024-05-20 20:10:25 -03:00
Refrag
68264e7288
Fix buffer overflow when setting a NETVAR string CVar
There was a possible buffer overflow if you tried setting a console var
that had the CV_NETVAR and that was of the string type.
The overflow would happen if you were trying to set the console variable
while in a multiplayer / netgame state.

This commit just increases the size of buf to account for everything
that needs to be written to it.
2024-05-20 10:55:10 +02:00
Lactozilla
0186e5bce5 Fix a mistake 2024-05-20 02:54:45 -03:00
Lactozilla
4502e67f0f Ignore flats when loading patches 2024-05-20 02:48:38 -03:00
Lactozilla
3a09c475c7 Add comments 2024-05-19 22:53:00 -03:00
Lactozilla
e67e225ff2 Improve slope physics on solid middle textures 2024-05-19 20:40:40 -03:00
Lactozilla
3a62ebbe3e Set correct slope for solid midtextures 2024-05-19 18:56:14 -03:00
Lactozilla
464072d7af Fix Linedef type 466 2024-05-19 16:24:03 -03:00
Lactozilla
27e1ee710c Fix #1248 2024-05-19 15:28:55 -03:00
Sally Coolatta
619cf708a1 Fix composite "flats as patch" name overlap crash 2024-05-19 03:57:07 -04:00
Refrag
ccadfd8157
Fix mouse buttons not working in menus with alwaysgrabmouse on
This commit fixes #1257 by reintroducing something left out in commit
9f116c7c9e. From my testing, it looks
look the behavior is the exact same regarding the lua hook script that
the original commit was fixing (#879).
2024-05-19 09:08:00 +02:00
Lactozilla
d90c2ac4b4 Fix #1222 2024-05-19 01:43:02 -03:00
Lactozilla
b3418cd685 Fix #523 2024-05-19 01:29:54 -03:00
Eidolon
47bcad4ab1 Put the apt-cache in build/
Like with ccache, we want to make sure the git checkout is considered
clean during build.
2024-05-17 19:04:41 -05:00
Eidolon
e2c7514cfd Put ccache dirs in build dir to avoid dirty worktree
Placing these directories at the root will make the git revision
detection consider the working directory to be dirty.
2024-05-17 19:00:36 -05:00
Eidolon
01aa8cb0b4 Make pipelines auto-interruptible by default
Fixes: KartKrew/Kart#1405
2024-05-17 16:40:11 -05:00
Eidolon
f36f2fa07d Set CI shallow clone depth to 20 2024-05-17 16:39:39 -05:00
Eidolon
997fcc9aa4 Use default GIT_STRATEGY in CI
The "clone" strategy clones the entire repository, which takes
a significant amount of time. It's not needed, because the default
"fetch" strategy will reuse the executor's local clone and clean it
before the job scripts run.
2024-05-17 16:39:34 -05:00
Eidolon
0f705fdb43 Expire artifacts after 1 days by default
There's no need to let these artifacts pile up since the only ones that
will be relevant to non-programmers are the latest from any given ref.
2024-05-17 16:39:29 -05:00
Eidolon
0e293c4c98 Raise ccache limit to 300M
Ring Racers' object file output is considerably larger than SRB2.
50M is insufficient to hold even a single build.
2024-05-17 16:39:24 -05:00
Eidolon
dfada161cc Separate gitlab CI into multiple yaml documents
The singular .gitlab-ci.yml is pretty beefy. Splitting it into
smaller files by job and job template will make maintaining the
individual jobs easier.
2024-05-17 16:38:01 -05:00
Lactozilla
c2b57e2654 Merge branch 'fffffop2' into 'next'
Fix backwards compat for SPR2 Super (resolves #1225)

Closes #1225

See merge request STJr/SRB2!2410
2024-05-14 02:07:11 +00:00
katsy
509df21f25 Fix backwards compat for SPR2 Super (resolves #1225) 2024-05-14 02:07:11 +00:00
Hanicef
c2e58b59a9 Fix other builds 2024-05-12 19:54:14 +02:00
Hanicef
911a351eb4 Fix keyboard input when certain keys overlap with dead keys 2024-05-12 19:44:37 +02:00
Alam Ed Arias
488e6d5699 Merge branch 'fix-buffer-overflow-hookchangemusic' into 'next'
Fix buffer overflow when invoking MusicChange hook

See merge request STJr/SRB2!2441
2024-05-08 18:06:07 +00:00
Hanicef
15bf00e5ba Fix buffer overflow when invoking MusicChange hook 2024-05-08 19:56:03 +02:00
Hanicef
df856aa823 Do not access memory on misaligned addresses 2024-05-07 18:10:31 +02:00
spherallic
dfb5731960 Update UZB config files 2024-05-06 23:23:47 +02:00
Zwip-Zwap Zapony
5db15ae943 Fix Ctrl+Backspace in the console causing a crash
Also fix Ctrl+C / Ctrl+X emptying the clipboard without a text selection
2024-05-05 17:03:42 +02:00
Lactozilla
da3355a153 Fix #1247 2024-05-04 03:39:41 -03:00
spherallic
efced4e763 Allow less than 3 emerald shards instead of crashing 2024-05-03 15:54:36 +02:00
Hanicef
c208921c4a Add tofixed lua function 2024-05-01 17:26:02 +02:00
katsy
b0f5255a0d Removed thokked when hitting springs 2024-04-28 17:10:34 -05:00
Hanicef
f8650a17a0 Fix aim in splitscreen 2024-04-28 16:21:48 +02:00
katsy
92cccd682c Fix automatic mode z-target bugs and crashes 2024-04-17 18:00:30 -05:00
LJ Sonic
b6544efceb Merge branch 'long-sprite-names' into 'next'
Fix SOC freeslotting including trailing spaces in constant names

See merge request STJr/SRB2!2415
2024-04-07 16:41:34 +00:00
LJ Sonic
829a12e7ac Fix SOC freeslotting including trailing spaces in constant names 2024-04-07 18:35:58 +02:00
Logan Aerl Arias
ef0fc97bc6 Merge branch SRB2:next into improve-backtrace 2024-04-06 17:59:52 +00:00
LJ Sonic
32a8652c35 Merge branch 'long-sprite-names' into 'next'
Sprite names up to 64 character long and 256 frames per sprite

See merge request STJr/SRB2!2394
2024-04-05 17:21:42 +00:00
LJ Sonic
4a9462761a Fix early free 2024-04-05 19:10:15 +02:00
LJ Sonic
a1649186ce Fix some error messages 2024-04-05 17:31:42 +02:00
Logan Aerl Arias
aab11cd873 reformat the compare func used in qsort 2024-04-03 18:42:36 -04:00
LJ Sonic
8a6b5d7c0f Support setting two frames per lump for long sprites 2024-04-04 00:06:33 +02:00
LJ Sonic
22106ef8b1 Fix short sprite names triggering an error 2024-04-03 23:24:54 +02:00
LJ Sonic
245a82112f Make rotation optional for long sprites 2024-04-03 22:39:58 +02:00
LJ Sonic
eaf0ba6658 Error out when a sprite definition contains a subfolder 2024-04-03 22:07:59 +02:00
LJ Sonic
32a3683e07 Fix error message when a patch is missing 2024-04-03 22:06:03 +02:00
LJ Sonic
f406e9bbb5 Throw a Lua error when R_Frame2Char is called with a frame number without character representation 2024-04-03 20:39:53 +02:00
Logan Aerl Arias
6c628db56a 1st try around sorting the lumps by name 2024-04-03 00:54:35 -04:00