quakeforge/qw/source
Bill Currie 1a83fe21c1 [util] Add Sys_setjmp and Sys_longjmp
Host_Error and Host_EndGame use setjmp/longjmp to implement an exception
of sorts, but this messes with tracy's state even with cleanup
attributes. However, it turns out that those cleanup attributes are
exactly how gcc implements C++ destructors, and so the standard Unwind
api (part of libgcc) respects them (so long as -fexceptions is enabled
for C). Thus... replace longjmp with an implementation that uses Unwind
to unwind the stack and call the cleanup functions as needed. This is
actually important for more than just tracy as the cleanup attributed
vars can be thread locks.
2023-12-01 12:13:26 +09:00
..
.gdbinit better progs access error checking and cleanups resulting from it. Fixes 2001-03-27 03:57:17 +00:00
.indent.pro sw32. Flee in terror. This'll break compilation for everything until -sdl32 compiles. sw32 wont work for a while either, so don't get overly excited yet. 2001-08-25 02:47:11 +00:00
cl_cam.c Implement clang support 2023-08-11 14:25:01 +09:00
cl_chat.c Nuke qboolean from orbit 2023-06-13 18:06:11 +09:00
cl_cmd.c [build] Move to non-recursive make 2020-06-25 11:35:37 +09:00
cl_cvar.c [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
cl_demo.c [nq,qw] Add a debug_debug cvar 2023-07-28 19:19:13 +09:00
cl_entparse.c [model] Clean up the model struct a little 2023-09-14 20:35:45 +09:00
cl_ents.c [model] Clean up the model struct a little 2023-09-14 20:35:45 +09:00
cl_http.c Fix window build for recent config changes 2023-11-23 17:16:53 +09:00
cl_input.c Nuke qboolean from orbit 2023-06-13 18:06:11 +09:00
cl_main.c [util] Add Sys_setjmp and Sys_longjmp 2023-12-01 12:13:26 +09:00
cl_ngraph.c [client] Switch to using canvases for screen and hud 2023-01-21 03:43:18 +09:00
cl_parse.c [scene] Move dynamic lights into the scene ECS 2023-08-04 15:08:56 +09:00
cl_pred.c Nuke qboolean from orbit 2023-06-13 18:06:11 +09:00
cl_rss.c [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
cl_skin.c [client] Use realtime for net icon check 2022-12-01 17:52:40 +09:00
cl_slist.c [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
cl_sys_sdl.c [qw] Plug a pile of memory leaks. 2022-05-12 19:58:18 +09:00
cl_sys_unix.c [qw] Plug a pile of memory leaks. 2022-05-12 19:58:18 +09:00
cl_sys_win.c Nuke qboolean from orbit 2023-06-13 18:06:11 +09:00
crudefile.c [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
game.c [cvar] Clean up most misinterpreted cvar types 2022-04-24 20:04:06 +09:00
Makemodule.am [build] Add support for building with Tracy 2023-11-28 15:54:55 +09:00
map_cfg.c [build] Move to non-recursive make 2020-06-25 11:35:37 +09:00
master.c Fix a couple of windows build issues 2023-07-06 02:04:47 +09:00
net_packetlog.c [qw] Fix packet log svc check 2022-11-16 11:38:05 +09:00
pmove.c [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
pmovetst.c Nuke qboolean from orbit 2023-06-13 18:06:11 +09:00
sdl_link.c Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
sv_ccmds.c Nuke qboolean from orbit 2023-06-13 18:06:11 +09:00
sv_demo.c Nuke qboolean from orbit 2023-06-13 18:06:11 +09:00
sv_ents.c [model] Remove Mod_LeafPVS in favor of mix/set 2023-08-05 11:51:01 +09:00
sv_gib.c [gib] Clean up some header dependencies 2022-05-26 16:13:09 +09:00
sv_init.c [model] Clean up the brush leaf api a little 2023-06-28 21:45:41 +09:00
sv_main.c [util] Add Sys_setjmp and Sys_longjmp 2023-12-01 12:13:26 +09:00
sv_move.c Nuke qboolean from orbit 2023-06-13 18:06:11 +09:00
sv_phys.c Nuke qboolean from orbit 2023-06-13 18:06:11 +09:00
sv_pr_cmds.c [model] Remove Mod_LeafPVS in favor of mix/set 2023-08-05 11:51:01 +09:00
sv_pr_cpqw.c [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
sv_pr_qwe.c [gamecode] Pass registered data pointer to builtins 2022-02-14 12:28:38 +09:00
sv_progs.c [gamecode] Clean up progs data access 2022-04-29 16:59:15 +09:00
sv_qtv.c Nuke qboolean from orbit 2023-06-13 18:06:11 +09:00
sv_recorder.c Nuke qboolean from orbit 2023-06-13 18:06:11 +09:00
sv_sbar.c [ui] Attach text views to passage entities 2022-12-14 22:38:37 +09:00
sv_send.c [model] Clean up the brush leaf api a little 2023-06-28 21:45:41 +09:00
sv_sys_unix.c [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
sv_sys_win.c Nuke qboolean from orbit 2023-06-13 18:06:11 +09:00
sv_user.c Nuke qboolean from orbit 2023-06-13 18:06:11 +09:00
teamplay.c Nuke qboolean from orbit 2023-06-13 18:06:11 +09:00
world.c Nuke qboolean from orbit 2023-06-13 18:06:11 +09:00